Loading apex/jobscheduler/service/java/com/android/server/DeviceIdleController.java +11 −0 Original line number Diff line number Diff line Loading @@ -2918,6 +2918,13 @@ public class DeviceIdleController extends SystemService reasonCode, reason).sendToTarget(); } reportTempWhitelistChangedLocked(uid, true); } else { // The uid is already temp allowlisted, only need to update AMS for temp allowlist // duration. if (mLocalActivityManager != null) { mLocalActivityManager.updateDeviceIdleTempAllowlist(null, uid, true, duration, tempAllowListType, reasonCode, reason, callingUid); } } } if (informWhitelistChanged) { Loading Loading @@ -3941,6 +3948,10 @@ public class DeviceIdleController extends SystemService if (idleUntil) { mAlarmManager.setIdleUntil(AlarmManager.ELAPSED_REALTIME_WAKEUP, mNextAlarmTime, "DeviceIdleController.deep", mDeepAlarmListener, mHandler); } else if (mState == STATE_LOCATING) { // Use setExact so we don't keep the GPS active for too long. mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, mNextAlarmTime, "DeviceIdleController.deep", mDeepAlarmListener, mHandler); } else { if (mConstants.USE_WINDOW_ALARMS) { mAlarmManager.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, Loading cmds/bootanimation/Android.bp +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ cc_library_shared { "libui", "libjnigraphics", "libEGL", "libGLESv1_CM", "libGLESv2", "libgui", ], } Loading
apex/jobscheduler/service/java/com/android/server/DeviceIdleController.java +11 −0 Original line number Diff line number Diff line Loading @@ -2918,6 +2918,13 @@ public class DeviceIdleController extends SystemService reasonCode, reason).sendToTarget(); } reportTempWhitelistChangedLocked(uid, true); } else { // The uid is already temp allowlisted, only need to update AMS for temp allowlist // duration. if (mLocalActivityManager != null) { mLocalActivityManager.updateDeviceIdleTempAllowlist(null, uid, true, duration, tempAllowListType, reasonCode, reason, callingUid); } } } if (informWhitelistChanged) { Loading Loading @@ -3941,6 +3948,10 @@ public class DeviceIdleController extends SystemService if (idleUntil) { mAlarmManager.setIdleUntil(AlarmManager.ELAPSED_REALTIME_WAKEUP, mNextAlarmTime, "DeviceIdleController.deep", mDeepAlarmListener, mHandler); } else if (mState == STATE_LOCATING) { // Use setExact so we don't keep the GPS active for too long. mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, mNextAlarmTime, "DeviceIdleController.deep", mDeepAlarmListener, mHandler); } else { if (mConstants.USE_WINDOW_ALARMS) { mAlarmManager.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, Loading
cmds/bootanimation/Android.bp +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ cc_library_shared { "libui", "libjnigraphics", "libEGL", "libGLESv1_CM", "libGLESv2", "libgui", ], }