Loading core/java/android/app/ActivityManager.java +14 −0 Original line number Diff line number Diff line Loading @@ -5953,6 +5953,20 @@ public class ActivityManager { } } /** * Used by {@link com.android.systemui.theme.ThemeOverlayController} to notify of color * palette readiness. * @hide */ @RequiresPermission(Manifest.permission.SET_THEME_OVERLAY_CONTROLLER_READY) public void setThemeOverlayReady(boolean readiness) { try { getService().setThemeOverlayReady(readiness); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } /** * Resets the state of the {@link com.android.server.am.AppErrors} instance. * This is intended for use with CTS only. Loading core/java/android/app/ActivityManagerInternal.java +7 −0 Original line number Diff line number Diff line Loading @@ -1258,4 +1258,11 @@ public abstract class ActivityManagerInternal { */ public abstract boolean clearApplicationUserData(String packageName, boolean keepState, boolean isRestore, IPackageDataObserver observer, int userId); /** * Returns current state of {@link com.android.systemui.theme.ThemeOverlayController} color * palette readiness. * @hide */ public abstract boolean getThemeOverlayReadiness(); } core/java/android/app/IActivityManager.aidl +8 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ package android.app; import android.app.ActivityManager; import android.app.ActivityManager.PendingIntentInfo; import android.app.ActivityTaskManager; import android.app.ApplicationStartInfo; import android.app.ApplicationErrorReport; Loading Loading @@ -553,6 +552,14 @@ interface IActivityManager { @UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) boolean isTopOfTask(in IBinder token); void bootAnimationComplete(); /** * Used by {@link com.android.systemui.theme.ThemeOverlayController} to notify of color * palette readiness. * @throws RemoteException */ void setThemeOverlayReady(boolean readiness); @UnsupportedAppUsage void registerTaskStackListener(in ITaskStackListener listener); void unregisterTaskStackListener(in ITaskStackListener listener); Loading core/res/AndroidManifest.xml +5 −0 Original line number Diff line number Diff line Loading @@ -7562,6 +7562,11 @@ <permission android:name="android.permission.RESET_APP_ERRORS" android:protectionLevel="signature" /> <!-- @hide Allows ThemeOverlayController to delay launch of Home / SetupWizard on boot, ensuring Theme Palettes and Colors are ready --> <permission android:name="android.permission.SET_THEME_OVERLAY_CONTROLLER_READY" android:protectionLevel="signature|setup" /> <!-- @hide Allows an application to create/destroy input consumer. --> <permission android:name="android.permission.INPUT_CONSUMER" android:protectionLevel="signature" /> Loading packages/SettingsLib/SettingsTheme/res/values-v31/styles.xml +2 −2 Original line number Diff line number Diff line Loading @@ -14,10 +14,10 @@ See the License for the specific language governing permissions and limitations under the License. --> <resources> <resources xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"> <style name="TextAppearance.PreferenceTitle.SettingsLib" parent="@android:style/TextAppearance.Material.Subhead"> <item name="android:textColor">@color/settingslib_text_color_primary</item> <item name="android:textColor">?androidprv:attr/materialColorOnSurface</item> <item name="android:fontFamily">@string/settingslib_config_headlineFontFamily</item> <item name="android:textSize">20sp</item> </style> Loading Loading
core/java/android/app/ActivityManager.java +14 −0 Original line number Diff line number Diff line Loading @@ -5953,6 +5953,20 @@ public class ActivityManager { } } /** * Used by {@link com.android.systemui.theme.ThemeOverlayController} to notify of color * palette readiness. * @hide */ @RequiresPermission(Manifest.permission.SET_THEME_OVERLAY_CONTROLLER_READY) public void setThemeOverlayReady(boolean readiness) { try { getService().setThemeOverlayReady(readiness); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } /** * Resets the state of the {@link com.android.server.am.AppErrors} instance. * This is intended for use with CTS only. Loading
core/java/android/app/ActivityManagerInternal.java +7 −0 Original line number Diff line number Diff line Loading @@ -1258,4 +1258,11 @@ public abstract class ActivityManagerInternal { */ public abstract boolean clearApplicationUserData(String packageName, boolean keepState, boolean isRestore, IPackageDataObserver observer, int userId); /** * Returns current state of {@link com.android.systemui.theme.ThemeOverlayController} color * palette readiness. * @hide */ public abstract boolean getThemeOverlayReadiness(); }
core/java/android/app/IActivityManager.aidl +8 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ package android.app; import android.app.ActivityManager; import android.app.ActivityManager.PendingIntentInfo; import android.app.ActivityTaskManager; import android.app.ApplicationStartInfo; import android.app.ApplicationErrorReport; Loading Loading @@ -553,6 +552,14 @@ interface IActivityManager { @UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) boolean isTopOfTask(in IBinder token); void bootAnimationComplete(); /** * Used by {@link com.android.systemui.theme.ThemeOverlayController} to notify of color * palette readiness. * @throws RemoteException */ void setThemeOverlayReady(boolean readiness); @UnsupportedAppUsage void registerTaskStackListener(in ITaskStackListener listener); void unregisterTaskStackListener(in ITaskStackListener listener); Loading
core/res/AndroidManifest.xml +5 −0 Original line number Diff line number Diff line Loading @@ -7562,6 +7562,11 @@ <permission android:name="android.permission.RESET_APP_ERRORS" android:protectionLevel="signature" /> <!-- @hide Allows ThemeOverlayController to delay launch of Home / SetupWizard on boot, ensuring Theme Palettes and Colors are ready --> <permission android:name="android.permission.SET_THEME_OVERLAY_CONTROLLER_READY" android:protectionLevel="signature|setup" /> <!-- @hide Allows an application to create/destroy input consumer. --> <permission android:name="android.permission.INPUT_CONSUMER" android:protectionLevel="signature" /> Loading
packages/SettingsLib/SettingsTheme/res/values-v31/styles.xml +2 −2 Original line number Diff line number Diff line Loading @@ -14,10 +14,10 @@ See the License for the specific language governing permissions and limitations under the License. --> <resources> <resources xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"> <style name="TextAppearance.PreferenceTitle.SettingsLib" parent="@android:style/TextAppearance.Material.Subhead"> <item name="android:textColor">@color/settingslib_text_color_primary</item> <item name="android:textColor">?androidprv:attr/materialColorOnSurface</item> <item name="android:fontFamily">@string/settingslib_config_headlineFontFamily</item> <item name="android:textSize">20sp</item> </style> Loading