aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRex Hoffman <rexhoffman@google.com>2024-01-05 21:14:22 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-01-05 21:14:22 +0000
commitbd1974c72d96e65b471bbecf21a860f53ec06861 (patch)
tree187774a33c178f4ea2dc1f9004711d9ce072c7c4
parent893bec62758b88fa0aa53050b3d7f93b8031b173 (diff)
parent58e2972704c86478e43505a04f0dfb709080cb58 (diff)
downloadrobolectric-bd1974c72d96e65b471bbecf21a860f53ec06861.tar.gz
Merge "In order to support the some shadow extensions in android, removing the final keywords from ShadowBinder" into main
-rw-r--r--shadows/framework/src/main/java/org/robolectric/shadows/ShadowBinder.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBinder.java b/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBinder.java
index a5f99b1ee..bb0cd86f3 100644
--- a/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBinder.java
+++ b/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBinder.java
@@ -47,7 +47,7 @@ public class ShadowBinder {
}
@Implementation
- protected static final int getCallingPid() {
+ protected static int getCallingPid() {
if (callingPid != null) {
return callingPid;
}
@@ -55,7 +55,7 @@ public class ShadowBinder {
}
@Implementation
- protected static final int getCallingUid() {
+ protected static int getCallingUid() {
if (callingUid != null) {
return callingUid;
}
@@ -71,7 +71,7 @@ public class ShadowBinder {
* @throws IllegalStateException if no UID has been set
*/
@Implementation(minSdk = Q)
- protected static final int getCallingUidOrThrow() {
+ protected static int getCallingUidOrThrow() {
if (callingUid != null) {
return callingUid;
}
@@ -81,7 +81,7 @@ public class ShadowBinder {
}
@Implementation(minSdk = JELLY_BEAN_MR1)
- protected static final UserHandle getCallingUserHandle() {
+ protected static UserHandle getCallingUserHandle() {
if (callingUserHandle != null) {
return callingUserHandle;
}