Loading Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -389,6 +389,7 @@ java_defaults { static_libs: [ "android.hardware.common.fmq-V1-java", "bouncycastle-repackaged-unbundled", "com.android.sysprop.foldlockbehavior", "framework-internal-utils", // If MimeMap ever becomes its own APEX, then this dependency would need to be removed // in favor of an API stubs dependency in java_library "framework" below. Loading core/java/android/app/WallpaperManager.java +18 −6 Original line number Diff line number Diff line Loading @@ -1759,12 +1759,17 @@ public class WallpaperManager { /** * Returns the information about the home screen wallpaper if its current wallpaper is a live * wallpaper component. Otherwise, if the wallpaper is a static image or is not set, this * returns null. * wallpaper component. Otherwise, if the wallpaper is a static image or is not set, or if the * the caller doesn't have the appropriate permissions, this returns {@code null}. * * <p> * In order to use this, apps should declare a {@code <queries>} tag with the action * {@code "android.service.wallpaper.WallpaperService"}. Otherwise, * Before Android U, this method requires the * {@link android.Manifest.permission#QUERY_ALL_PACKAGES} permission. * </p> * * <p> * Starting from Android U, In order to use this, apps should declare a {@code <queries>} tag * with the action {@code "android.service.wallpaper.WallpaperService"}. Otherwise, * this method will return {@code null} if the caller doesn't otherwise have * <a href="{@docRoot}training/package-visibility">visibility</a> of the wallpaper package. * </p> Loading @@ -1780,8 +1785,15 @@ public class WallpaperManager { /** * Returns the information about the designated wallpaper if its current wallpaper is a live * wallpaper component. Otherwise, if the wallpaper is a static image or is not set, this * returns null. * wallpaper component. Otherwise, if the wallpaper is a static image or is not set, or if the * the caller doesn't have the appropriate permissions, this returns {@code null}. * * <p> * In order to use this, apps should declare a {@code <queries>} tag * with the action {@code "android.service.wallpaper.WallpaperService"}. Otherwise, * this method will return {@code null} if the caller doesn't otherwise have * <a href="{@docRoot}training/package-visibility">visibility</a> of the wallpaper package. * </p> * * @param which Specifies wallpaper to request (home or lock). * @param userId Owner of the wallpaper. Loading core/java/android/content/pm/flags.aconfig +15 −0 Original line number Diff line number Diff line Loading @@ -14,9 +14,24 @@ flag { bug: "278553670" } flag { name: "prevent_sdk_lib_app" namespace: "package_manager_service" description: "Feature flag to enable the prevent sdk-library be an application." bug: "295843617" } flag { name: "stay_stopped" namespace: "backstage_power" description: "Feature flag to improve stopped state enforcement" bug: "296644915" } flag { name: "nullable_data_dir" namespace: "package_manager_service" description: "Feature flag to allow ApplicationInfo.dataDir to be null." bug: "302587814" is_fixed_read_only: true } core/java/android/content/pm/multiuser.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -6,3 +6,10 @@ flag { description: "Save guest and device policy global restrictions on the SYSTEM user's XML file." bug: "301067944" } flag { name: "bind_wallpaper_service_on_its_own_thread_during_a_user_switch" namespace: "multiuser" description: "Bind wallpaper service on its own thread instead of system_server's main handler during a user switch." bug: "302100344" } core/java/android/nfc/TEST_MAPPING +3 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ "presubmit": [ { "name": "NfcManagerTests" }, { "name": "CtsNfcTestCases" } ] } Loading
Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -389,6 +389,7 @@ java_defaults { static_libs: [ "android.hardware.common.fmq-V1-java", "bouncycastle-repackaged-unbundled", "com.android.sysprop.foldlockbehavior", "framework-internal-utils", // If MimeMap ever becomes its own APEX, then this dependency would need to be removed // in favor of an API stubs dependency in java_library "framework" below. Loading
core/java/android/app/WallpaperManager.java +18 −6 Original line number Diff line number Diff line Loading @@ -1759,12 +1759,17 @@ public class WallpaperManager { /** * Returns the information about the home screen wallpaper if its current wallpaper is a live * wallpaper component. Otherwise, if the wallpaper is a static image or is not set, this * returns null. * wallpaper component. Otherwise, if the wallpaper is a static image or is not set, or if the * the caller doesn't have the appropriate permissions, this returns {@code null}. * * <p> * In order to use this, apps should declare a {@code <queries>} tag with the action * {@code "android.service.wallpaper.WallpaperService"}. Otherwise, * Before Android U, this method requires the * {@link android.Manifest.permission#QUERY_ALL_PACKAGES} permission. * </p> * * <p> * Starting from Android U, In order to use this, apps should declare a {@code <queries>} tag * with the action {@code "android.service.wallpaper.WallpaperService"}. Otherwise, * this method will return {@code null} if the caller doesn't otherwise have * <a href="{@docRoot}training/package-visibility">visibility</a> of the wallpaper package. * </p> Loading @@ -1780,8 +1785,15 @@ public class WallpaperManager { /** * Returns the information about the designated wallpaper if its current wallpaper is a live * wallpaper component. Otherwise, if the wallpaper is a static image or is not set, this * returns null. * wallpaper component. Otherwise, if the wallpaper is a static image or is not set, or if the * the caller doesn't have the appropriate permissions, this returns {@code null}. * * <p> * In order to use this, apps should declare a {@code <queries>} tag * with the action {@code "android.service.wallpaper.WallpaperService"}. Otherwise, * this method will return {@code null} if the caller doesn't otherwise have * <a href="{@docRoot}training/package-visibility">visibility</a> of the wallpaper package. * </p> * * @param which Specifies wallpaper to request (home or lock). * @param userId Owner of the wallpaper. Loading
core/java/android/content/pm/flags.aconfig +15 −0 Original line number Diff line number Diff line Loading @@ -14,9 +14,24 @@ flag { bug: "278553670" } flag { name: "prevent_sdk_lib_app" namespace: "package_manager_service" description: "Feature flag to enable the prevent sdk-library be an application." bug: "295843617" } flag { name: "stay_stopped" namespace: "backstage_power" description: "Feature flag to improve stopped state enforcement" bug: "296644915" } flag { name: "nullable_data_dir" namespace: "package_manager_service" description: "Feature flag to allow ApplicationInfo.dataDir to be null." bug: "302587814" is_fixed_read_only: true }
core/java/android/content/pm/multiuser.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -6,3 +6,10 @@ flag { description: "Save guest and device policy global restrictions on the SYSTEM user's XML file." bug: "301067944" } flag { name: "bind_wallpaper_service_on_its_own_thread_during_a_user_switch" namespace: "multiuser" description: "Bind wallpaper service on its own thread instead of system_server's main handler during a user switch." bug: "302100344" }
core/java/android/nfc/TEST_MAPPING +3 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ "presubmit": [ { "name": "NfcManagerTests" }, { "name": "CtsNfcTestCases" } ] }