Update theme setting to not require reboot
Add calls into the OverlayManagerService to update the overlays directly and remove reboot dialog. Test: make RunSettingsRobotTests Change-Id: I92841e643eab70b4b194f60cce95ce3cedb75972 Fixes: 34701451
This commit is contained in:
26
tests/robotests/src/android/content/om/IOverlayManager.java
Normal file
26
tests/robotests/src/android/content/om/IOverlayManager.java
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (C) 2017 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed under the
|
||||
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package android.content.om;
|
||||
|
||||
import android.os.IBinder;
|
||||
|
||||
public class IOverlayManager {
|
||||
|
||||
public static class Stub {
|
||||
public static IOverlayManager asInterface(IBinder b) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
18
tests/robotests/src/android/content/om/OverlayInfo.java
Normal file
18
tests/robotests/src/android/content/om/OverlayInfo.java
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (C) 2017 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed under the
|
||||
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package android.content.om;
|
||||
|
||||
public class OverlayInfo {
|
||||
}
|
Reference in New Issue
Block a user