summaryrefslogtreecommitdiff
authorjie.yuan <jie.yuan@amlogic.com>2017-12-08 06:57:46 (GMT)
committer jie.yuan <jie.yuan@amlogic.com>2017-12-08 06:57:46 (GMT)
commit0b2ff44fcea338cc13cb93d69082c05b7a4113eb (patch)
tree80be2034762395894796b3771f5e6dc1b6358166
parentee553a63f1d2c77341b43637e6a7417306de4cc0 (diff)
downloadframeworks-0b2ff44fcea338cc13cb93d69082c05b7a4113eb.zip
frameworks-0b2ff44fcea338cc13cb93d69082c05b7a4113eb.tar.gz
frameworks-0b2ff44fcea338cc13cb93d69082c05b7a4113eb.tar.bz2
cts:set Settings.Secure.TV_USER_SETUP_COMPLETE 1 when boot complete [1/1]
PD# 156185 fix android.view.cts.SearchEventTest#testBasics Change-Id: I82eb9251c9eb19f3baa6de0292055c698cf2d199 Signed-off-by: jie.yuan <jie.yuan@amlogic.com>
Diffstat
-rw-r--r--core/res/src/com/droidlogic/BootComplete.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/res/src/com/droidlogic/BootComplete.java b/core/res/src/com/droidlogic/BootComplete.java
index b3a3a4a..688fd1c 100644
--- a/core/res/src/com/droidlogic/BootComplete.java
+++ b/core/res/src/com/droidlogic/BootComplete.java
@@ -66,6 +66,7 @@ public class BootComplete extends BroadcastReceiver {
Settings.Global.putInt(resolver, Settings.Global.CAPTIVE_PORTAL_DETECTION_ENABLED, 0);
//set default show_ime_with_hard_keyboard 1, then first boot can show the ime.
Settings.Secure.putInt(resolver, Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD, 1);
+ Settings.Secure.putInt(resolver, Settings.Secure.TV_USER_SETUP_COMPLETE, 1);
if (AudioSystem.PLATFORM_TELEVISION == AudioSystem.getPlatformType(context)) {
int maxVolume = SystemProperties.getInt("ro.config.media_vol_steps", 100);
int streamMaxVolume = audioManager.getStreamMaxVolume(AudioSystem.STREAM_MUSIC);