summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/tuner
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-06-18 14:07:26 -0400
committerJason Monk <jmonk@google.com>2015-06-18 15:24:43 -0400
commit259e06f58225e70716d3370d123e8dca830206a7 (patch)
treed7e15f62e722592181d83f12e7c3c88f3e20a3dc /packages/SystemUI/src/com/android/systemui/tuner
parent8c6750ff0eb2d07039336bf25dc87f10464c42db (diff)
downloadframeworks_base-259e06f58225e70716d3370d123e8dca830206a7.zip
frameworks_base-259e06f58225e70716d3370d123e8dca830206a7.tar.gz
frameworks_base-259e06f58225e70716d3370d123e8dca830206a7.tar.bz2
Fix some demo mode issues
Bug: 21919885 Change-Id: If79d76a2954b62e290691b1c2338d175fdbbffc5
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/tuner')
-rw-r--r--packages/SystemUI/src/com/android/systemui/tuner/DemoModeFragment.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/tuner/DemoModeFragment.java b/packages/SystemUI/src/com/android/systemui/tuner/DemoModeFragment.java
index d9f0598..ca6aaeb 100644
--- a/packages/SystemUI/src/com/android/systemui/tuner/DemoModeFragment.java
+++ b/packages/SystemUI/src/com/android/systemui/tuner/DemoModeFragment.java
@@ -131,11 +131,14 @@ public class DemoModeFragment extends PreferenceFragment implements OnPreference
intent.putExtra("mobile", "show");
intent.putExtra("sims", "1");
intent.putExtra("nosim", "false");
- intent.putExtra("fully", "true");
intent.putExtra("level", "4");
intent.putExtra("datatypel", "");
getContext().sendBroadcast(intent);
+ // Need to send this after so that the sim controller already exists.
+ intent.putExtra("fully", "true");
+ getContext().sendBroadcast(intent);
+
intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_BATTERY);
intent.putExtra("level", "100");
intent.putExtra("plugged", "false");