Loading services/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ java_defaults { "-Xep:TryFailThrowable:ERROR", "-Xep:HashtableContains:ERROR", "-Xep:FormatString:ERROR", "-Xep:ArrayHashCode:ERROR", "-Xep:SelfAssignment:ERROR", // NOTE: only enable to generate local patchfiles // "-XepPatchChecks:refaster:frameworks/base/errorprone/refaster/EfficientXml.java.refaster", // "-XepPatchLocation:/tmp/refaster/", Loading services/autofill/java/com/android/server/autofill/AutofillManagerService.java +2 −2 Original line number Diff line number Diff line Loading @@ -1614,8 +1614,8 @@ public final class AutofillManagerService @NonNull IBinder appCallback, @NonNull IResultReceiver receiver) throws RemoteException { final int userId = UserHandle.getCallingUserId(); activityToken = Objects.requireNonNull(activityToken, "activityToken"); appCallback = Objects.requireNonNull(appCallback, "appCallback"); Objects.requireNonNull(activityToken, "activityToken"); Objects.requireNonNull(appCallback, "appCallback"); boolean restored = false; synchronized (mLock) { Loading services/people/java/com/android/server/people/data/EventIndex.java +1 −1 Original line number Diff line number Diff line Loading @@ -254,7 +254,7 @@ public class EventIndex { @Override public int hashCode() { return Objects.hash(mLastUpdatedTime, mEventBitmaps); return Objects.hash(mLastUpdatedTime, Arrays.hashCode(mEventBitmaps)); } synchronized void writeToProto(@NonNull ProtoOutputStream protoOutputStream) { Loading Loading
services/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ java_defaults { "-Xep:TryFailThrowable:ERROR", "-Xep:HashtableContains:ERROR", "-Xep:FormatString:ERROR", "-Xep:ArrayHashCode:ERROR", "-Xep:SelfAssignment:ERROR", // NOTE: only enable to generate local patchfiles // "-XepPatchChecks:refaster:frameworks/base/errorprone/refaster/EfficientXml.java.refaster", // "-XepPatchLocation:/tmp/refaster/", Loading
services/autofill/java/com/android/server/autofill/AutofillManagerService.java +2 −2 Original line number Diff line number Diff line Loading @@ -1614,8 +1614,8 @@ public final class AutofillManagerService @NonNull IBinder appCallback, @NonNull IResultReceiver receiver) throws RemoteException { final int userId = UserHandle.getCallingUserId(); activityToken = Objects.requireNonNull(activityToken, "activityToken"); appCallback = Objects.requireNonNull(appCallback, "appCallback"); Objects.requireNonNull(activityToken, "activityToken"); Objects.requireNonNull(appCallback, "appCallback"); boolean restored = false; synchronized (mLock) { Loading
services/people/java/com/android/server/people/data/EventIndex.java +1 −1 Original line number Diff line number Diff line Loading @@ -254,7 +254,7 @@ public class EventIndex { @Override public int hashCode() { return Objects.hash(mLastUpdatedTime, mEventBitmaps); return Objects.hash(mLastUpdatedTime, Arrays.hashCode(mEventBitmaps)); } synchronized void writeToProto(@NonNull ProtoOutputStream protoOutputStream) { Loading