diff options
| author | Jason Monk <jmonk@google.com> | 2017-03-23 11:13:22 -0400 |
|---|---|---|
| committer | Jason Monk <jmonk@google.com> | 2017-03-23 11:25:59 -0400 |
| commit | cc5a731fd725a4687625c93cf8490b63ce99884f (patch) | |
| tree | ec19afff7b21bc39f932ae59a6c494c5b66e8c62 /core/java/android/app/UiModeManager.java | |
| parent | ad63bafad002ea9b88091a9760a4760fb53943d7 (diff) | |
Remove "Allow persistent changes to the vendor overlay theme"
This reverts commit 2dc804be11444565e3d1d151c2a693db3ade94c0.
It also removes the related calls from UiModeManager.
Fixes: 32721178
Test: make & flash
Change-Id: Id371bccec611155cc6910e46b3277c3d27fc1c79
Diffstat (limited to 'core/java/android/app/UiModeManager.java')
| -rw-r--r-- | core/java/android/app/UiModeManager.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/core/java/android/app/UiModeManager.java b/core/java/android/app/UiModeManager.java index af41a7d5ac5d..07e257083fa2 100644 --- a/core/java/android/app/UiModeManager.java +++ b/core/java/android/app/UiModeManager.java @@ -242,50 +242,6 @@ public class UiModeManager { } /** - * Sets the vendor theme overlay property, then triggers a reboot. - * @hide - */ - public void setTheme(String theme) { - if (mService != null) { - try { - mService.setTheme(theme); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - } - - /** - * Gets the vendor theme overlay property. - * @hide - */ - public String getTheme() { - if (mService != null) { - try { - return mService.getTheme(); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - return null; - } - - /** - * Gets the valid inputs to {@link #setTheme(String)}. - * @hide - */ - public String[] getAvailableThemes() { - if (mService != null) { - try { - return mService.getAvailableThemes(); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - return null; - } - - /** * Returns the currently configured night mode. * <p> * May be one of: |
