- Dec 19, 2022
-
-
Sunil Ravi authored
Bug: 239210046 Test: compile Change-Id: Ief1dd64d187a3696dbec8e1f56a63ca39f8075b7
-
Chun-Wei Wang authored
* changes: Implement AppStateHelper#hasActiveNetwork Improve the logic of checking device idle
-
- Dec 18, 2022
-
-
Rasheed Lewis authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20581227 Change-Id: I26b8cdd8f5f984f6323b5795cc2dc489230c657f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Rasheed Lewis authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20581227 Change-Id: I14f482ade1b0b71c9da8ca657ca02db88ccc8815 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Robert Shih authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2359443 Change-Id: I3ad1d7f499e2a0a82c4d7f8368195f09dad493e9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Rasheed Lewis authored
-
Robert Shih authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2359443 Change-Id: I205f50c39f67dff9a9c40fcd418724750a0ef138 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Robert Shih authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2359443 Change-Id: I23e3ba1a9370519381b050e3525cb38e008cbd8c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Jeff Chang authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20730951 Change-Id: I99636e7fd1edc20a67ae65f2c2c50dc93bd73f5b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Jeff Chang authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20729659 Change-Id: I4d02fe9fe951d4426f615f5f27c66095256fb0ff Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Robert Shih authored
-
Jeff Chang authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20730951 Change-Id: I14f322370237672dea21edc878b2dd0e3ad82d52 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Jeff Chang authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20729659 Change-Id: Id7035e7f56837917dc668a2a9a4199614e5a12b0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Jeff Chang authored
-
Jeff Chang authored
-
Chandru S authored
-
Chun-Wei Wang authored
-
Hai Zhang authored
-
TreeHugger Robot authored
-
Hai Zhang authored
This solves the issue of new state visibility when we invoke externally provided listeners - they may check the current state when they are called and they should always see the new state, but currently they may see the old state if the thread mutating the state hasn't finished mutation. The onStateMutated() callback provides a way to invoke the externally provided listener at the right time (after state mutation is committed), so that they can always see the new state without worrying about the race condition. Meanwhile, this also provides a good place to consolidate the invocation for listeners like OnPermissionsChangeListener which only needs to be invoked once for each UID. Changed the listeners to use abstract classes instead of interfaces for slightly better performance in accordance with System Health team's guidelines. Made the OnPermissionsChangeListener only notified when runtime permissions are changed. Previously we had the code to notify it when permission flags for install permissions has changed, however the PackageManager permission flags actually should only be applied to runtime permissions. Meanwhile also existing grantRuntimePermission() may grant a non-runtime permission like a development or role permission, the existing implementation actually doesn't notify the listener in this case, so notifying for flags change that doesn't happen while not notifying for grant state changes makes even less sense. Bug: 252884423 Test: presubmit Change-Id: I1f973e5e3c0ad4aa6ae23f6e238aef5aafa66e2e
-
TreeHugger Robot authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-
Bill Yi authored
-