summaryrefslogtreecommitdiff
authorTellen Yu <tellen.yu@amlogic.com>2017-12-08 09:24:49 (GMT)
committer Gerrit Code Review <gituser@scgit.amlogic.com>2017-12-08 09:24:49 (GMT)
commit6f6b87041068264be3d8e3830a17d1422d7e9329 (patch)
tree920debdbe6d57df771dd011f8ab91352893813e5
parentf22d9a37cf9e574f6702c0349fc20ac8bcbefce9 (diff)
parent0b2ff44fcea338cc13cb93d69082c05b7a4113eb (diff)
downloadframeworks-6f6b87041068264be3d8e3830a17d1422d7e9329.zip
frameworks-6f6b87041068264be3d8e3830a17d1422d7e9329.tar.gz
frameworks-6f6b87041068264be3d8e3830a17d1422d7e9329.tar.bz2
Merge "cts:set Settings.Secure.TV_USER_SETUP_COMPLETE 1 when boot complete [1/1]" into o-amlogic
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);