Loading api/test-current.txt +6 −0 Original line number Diff line number Diff line Loading @@ -352,6 +352,10 @@ package android.app { method public boolean isUiModeLocked(); } public class WallpaperManager { method @RequiresPermission("android.permission.SET_WALLPAPER_COMPONENT") public boolean setWallpaperComponent(android.content.ComponentName); } public class WindowConfiguration implements java.lang.Comparable<android.app.WindowConfiguration> android.os.Parcelable { ctor public WindowConfiguration(); method public int compareTo(android.app.WindowConfiguration); Loading Loading @@ -608,6 +612,7 @@ package android.content { public abstract class Context { method public android.content.Context createPackageContextAsUser(String, int, android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; method public abstract android.view.Display getDisplay(); method public abstract int getDisplayId(); method public android.os.UserHandle getUser(); method public int getUserId(); method public void setAutofillOptions(@Nullable android.content.AutofillOptions); Loading @@ -618,6 +623,7 @@ package android.content { public class ContextWrapper extends android.content.Context { method public android.view.Display getDisplay(); method public int getDisplayId(); } public class Intent implements java.lang.Cloneable android.os.Parcelable { Loading core/java/android/app/WallpaperManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ import android.annotation.SdkConstant; import android.annotation.SdkConstant.SdkConstantType; import android.annotation.SystemApi; import android.annotation.SystemService; import android.annotation.TestApi; import android.annotation.UnsupportedAppUsage; import android.content.ComponentName; import android.content.ContentResolver; Loading Loading @@ -1666,6 +1667,7 @@ public class WallpaperManager { * * @hide */ @TestApi @SystemApi @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponent(ComponentName name) { Loading core/java/android/content/Context.java +1 −0 Original line number Diff line number Diff line Loading @@ -5329,6 +5329,7 @@ public abstract class Context { * @return display ID associated with this {@link Context}. * @hide */ @TestApi public abstract int getDisplayId(); /** Loading data/etc/privapp-permissions-platform.xml +2 −0 Original line number Diff line number Diff line Loading @@ -308,6 +308,8 @@ applications that come with the platform <permission name="android.permission.STATUS_BAR_SERVICE"/> <permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/> <permission name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"/> <permission name="android.permission.SET_WALLPAPER" /> <permission name="android.permission.SET_WALLPAPER_COMPONENT" /> </privapp-permissions> <privapp-permissions package="com.android.statementservice"> Loading packages/Shell/AndroidManifest.xml +4 −0 Original line number Diff line number Diff line Loading @@ -182,6 +182,10 @@ <!-- Permission needed to run keyguard manager tests in CTS --> <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" /> <!-- Permission needed to test wallpaper component --> <uses-permission android:name="android.permission.SET_WALLPAPER" /> <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" /> <application android:label="@string/app_label" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true"> Loading Loading
api/test-current.txt +6 −0 Original line number Diff line number Diff line Loading @@ -352,6 +352,10 @@ package android.app { method public boolean isUiModeLocked(); } public class WallpaperManager { method @RequiresPermission("android.permission.SET_WALLPAPER_COMPONENT") public boolean setWallpaperComponent(android.content.ComponentName); } public class WindowConfiguration implements java.lang.Comparable<android.app.WindowConfiguration> android.os.Parcelable { ctor public WindowConfiguration(); method public int compareTo(android.app.WindowConfiguration); Loading Loading @@ -608,6 +612,7 @@ package android.content { public abstract class Context { method public android.content.Context createPackageContextAsUser(String, int, android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; method public abstract android.view.Display getDisplay(); method public abstract int getDisplayId(); method public android.os.UserHandle getUser(); method public int getUserId(); method public void setAutofillOptions(@Nullable android.content.AutofillOptions); Loading @@ -618,6 +623,7 @@ package android.content { public class ContextWrapper extends android.content.Context { method public android.view.Display getDisplay(); method public int getDisplayId(); } public class Intent implements java.lang.Cloneable android.os.Parcelable { Loading
core/java/android/app/WallpaperManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ import android.annotation.SdkConstant; import android.annotation.SdkConstant.SdkConstantType; import android.annotation.SystemApi; import android.annotation.SystemService; import android.annotation.TestApi; import android.annotation.UnsupportedAppUsage; import android.content.ComponentName; import android.content.ContentResolver; Loading Loading @@ -1666,6 +1667,7 @@ public class WallpaperManager { * * @hide */ @TestApi @SystemApi @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponent(ComponentName name) { Loading
core/java/android/content/Context.java +1 −0 Original line number Diff line number Diff line Loading @@ -5329,6 +5329,7 @@ public abstract class Context { * @return display ID associated with this {@link Context}. * @hide */ @TestApi public abstract int getDisplayId(); /** Loading
data/etc/privapp-permissions-platform.xml +2 −0 Original line number Diff line number Diff line Loading @@ -308,6 +308,8 @@ applications that come with the platform <permission name="android.permission.STATUS_BAR_SERVICE"/> <permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/> <permission name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"/> <permission name="android.permission.SET_WALLPAPER" /> <permission name="android.permission.SET_WALLPAPER_COMPONENT" /> </privapp-permissions> <privapp-permissions package="com.android.statementservice"> Loading
packages/Shell/AndroidManifest.xml +4 −0 Original line number Diff line number Diff line Loading @@ -182,6 +182,10 @@ <!-- Permission needed to run keyguard manager tests in CTS --> <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" /> <!-- Permission needed to test wallpaper component --> <uses-permission android:name="android.permission.SET_WALLPAPER" /> <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" /> <application android:label="@string/app_label" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true"> Loading