diff options
author | Rex Hoffman <rexhoffman@google.com> | 2024-01-05 21:14:22 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-01-05 21:14:22 +0000 |
commit | bd1974c72d96e65b471bbecf21a860f53ec06861 (patch) | |
tree | 187774a33c178f4ea2dc1f9004711d9ce072c7c4 | |
parent | 893bec62758b88fa0aa53050b3d7f93b8031b173 (diff) | |
parent | 58e2972704c86478e43505a04f0dfb709080cb58 (diff) | |
download | robolectric-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.java | 8 |
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; } |