Loading apex/blobstore/service/java/com/android/server/blob/BlobStoreConfig.java +1 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ class BlobStoreConfig { */ public static final String KEY_USE_REVOCABLE_FD_FOR_READS = "use_revocable_fd_for_reads"; public static final boolean DEFAULT_USE_REVOCABLE_FD_FOR_READS = true; public static final boolean DEFAULT_USE_REVOCABLE_FD_FOR_READS = false; public static boolean USE_REVOCABLE_FD_FOR_READS = DEFAULT_USE_REVOCABLE_FD_FOR_READS; Loading apex/jobscheduler/service/java/com/android/server/usage/AppStandbyController.java +19 −4 Original line number Diff line number Diff line Loading @@ -455,9 +455,6 @@ public class AppStandbyController implements AppStandbyInternal { mSystemServicesReady = true; // Offload to handler thread to avoid boot time impact. mHandler.post(AppStandbyController.this::updatePowerWhitelistCache); boolean userFileExists; synchronized (mAppIdleLock) { userFileExists = mAppIdleHistory.userFileExists(UserHandle.USER_SYSTEM); Loading @@ -474,7 +471,9 @@ public class AppStandbyController implements AppStandbyInternal { setChargingState(mInjector.isCharging()); // Offload to handler thread after boot completed to avoid boot time impact. This means // that headless system apps may be put in a lower bucket until boot has completed. // that app standby buckets may be slightly out of date and headless system apps may be // put in a lower bucket until boot has completed. mHandler.post(AppStandbyController.this::updatePowerWhitelistCache); mHandler.post(this::loadHeadlessSystemAppCache); } } Loading Loading @@ -1121,6 +1120,10 @@ public class AppStandbyController implements AppStandbyInternal { if (isDeviceProvisioningPackage(packageName)) { return STANDBY_BUCKET_EXEMPTED; } if (mInjector.isWellbeingPackage(packageName)) { return STANDBY_BUCKET_WORKING_SET; } } // Check this last, as it can be the most expensive check Loading Loading @@ -1930,6 +1933,7 @@ public class AppStandbyController implements AppStandbyInternal { */ @GuardedBy("mPowerWhitelistedApps") private final ArraySet<String> mPowerWhitelistedApps = new ArraySet<>(); private String mWellbeingApp = null; Injector(Context context, Looper looper) { mContext = context; Loading Loading @@ -1963,6 +1967,9 @@ public class AppStandbyController implements AppStandbyInternal { if (activityManager.isLowRamDevice() || ActivityManager.isSmallBatteryDevice()) { mAutoRestrictedBucketDelayMs = 12 * ONE_HOUR; } final PackageManager packageManager = mContext.getPackageManager(); mWellbeingApp = packageManager.getWellbeingPackageName(); } mBootPhase = phase; } Loading Loading @@ -2007,6 +2014,14 @@ public class AppStandbyController implements AppStandbyInternal { } } /** * Returns {@code true} if the supplied package is the wellbeing app. Otherwise, * returns {@code false}. */ boolean isWellbeingPackage(String packageName) { return mWellbeingApp != null && mWellbeingApp.equals(packageName); } void updatePowerWhitelistCache() { try { // Don't call out to DeviceIdleController with the lock held. Loading apex/permission/apex_manifest.json +1 −1 Original line number Diff line number Diff line { "name": "com.android.permission", "version": 300900700 "version": 300000000 } apex/statsd/apex_manifest.json +1 −1 Original line number Diff line number Diff line { "name": "com.android.os.statsd", "version": 300900700 "version": 300000000 } core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -45157,7 +45157,7 @@ package android.telephony { method public long getNci(); method @IntRange(from=0, to=3279165) public int getNrarfcn(); method @IntRange(from=0, to=1007) public int getPci(); method @IntRange(from=0, to=16777215) public int getTac(); method @IntRange(from=0, to=65535) public int getTac(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CellIdentityNr> CREATOR; } Loading
apex/blobstore/service/java/com/android/server/blob/BlobStoreConfig.java +1 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ class BlobStoreConfig { */ public static final String KEY_USE_REVOCABLE_FD_FOR_READS = "use_revocable_fd_for_reads"; public static final boolean DEFAULT_USE_REVOCABLE_FD_FOR_READS = true; public static final boolean DEFAULT_USE_REVOCABLE_FD_FOR_READS = false; public static boolean USE_REVOCABLE_FD_FOR_READS = DEFAULT_USE_REVOCABLE_FD_FOR_READS; Loading
apex/jobscheduler/service/java/com/android/server/usage/AppStandbyController.java +19 −4 Original line number Diff line number Diff line Loading @@ -455,9 +455,6 @@ public class AppStandbyController implements AppStandbyInternal { mSystemServicesReady = true; // Offload to handler thread to avoid boot time impact. mHandler.post(AppStandbyController.this::updatePowerWhitelistCache); boolean userFileExists; synchronized (mAppIdleLock) { userFileExists = mAppIdleHistory.userFileExists(UserHandle.USER_SYSTEM); Loading @@ -474,7 +471,9 @@ public class AppStandbyController implements AppStandbyInternal { setChargingState(mInjector.isCharging()); // Offload to handler thread after boot completed to avoid boot time impact. This means // that headless system apps may be put in a lower bucket until boot has completed. // that app standby buckets may be slightly out of date and headless system apps may be // put in a lower bucket until boot has completed. mHandler.post(AppStandbyController.this::updatePowerWhitelistCache); mHandler.post(this::loadHeadlessSystemAppCache); } } Loading Loading @@ -1121,6 +1120,10 @@ public class AppStandbyController implements AppStandbyInternal { if (isDeviceProvisioningPackage(packageName)) { return STANDBY_BUCKET_EXEMPTED; } if (mInjector.isWellbeingPackage(packageName)) { return STANDBY_BUCKET_WORKING_SET; } } // Check this last, as it can be the most expensive check Loading Loading @@ -1930,6 +1933,7 @@ public class AppStandbyController implements AppStandbyInternal { */ @GuardedBy("mPowerWhitelistedApps") private final ArraySet<String> mPowerWhitelistedApps = new ArraySet<>(); private String mWellbeingApp = null; Injector(Context context, Looper looper) { mContext = context; Loading Loading @@ -1963,6 +1967,9 @@ public class AppStandbyController implements AppStandbyInternal { if (activityManager.isLowRamDevice() || ActivityManager.isSmallBatteryDevice()) { mAutoRestrictedBucketDelayMs = 12 * ONE_HOUR; } final PackageManager packageManager = mContext.getPackageManager(); mWellbeingApp = packageManager.getWellbeingPackageName(); } mBootPhase = phase; } Loading Loading @@ -2007,6 +2014,14 @@ public class AppStandbyController implements AppStandbyInternal { } } /** * Returns {@code true} if the supplied package is the wellbeing app. Otherwise, * returns {@code false}. */ boolean isWellbeingPackage(String packageName) { return mWellbeingApp != null && mWellbeingApp.equals(packageName); } void updatePowerWhitelistCache() { try { // Don't call out to DeviceIdleController with the lock held. Loading
apex/permission/apex_manifest.json +1 −1 Original line number Diff line number Diff line { "name": "com.android.permission", "version": 300900700 "version": 300000000 }
apex/statsd/apex_manifest.json +1 −1 Original line number Diff line number Diff line { "name": "com.android.os.statsd", "version": 300900700 "version": 300000000 }
core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -45157,7 +45157,7 @@ package android.telephony { method public long getNci(); method @IntRange(from=0, to=3279165) public int getNrarfcn(); method @IntRange(from=0, to=1007) public int getPci(); method @IntRange(from=0, to=16777215) public int getTac(); method @IntRange(from=0, to=65535) public int getTac(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CellIdentityNr> CREATOR; }