diff options
author | Jason Monk <jmonk@google.com> | 2015-06-18 14:07:26 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-06-18 15:24:43 -0400 |
commit | 259e06f58225e70716d3370d123e8dca830206a7 (patch) | |
tree | d7e15f62e722592181d83f12e7c3c88f3e20a3dc /packages/SystemUI/src/com/android/systemui/tuner | |
parent | 8c6750ff0eb2d07039336bf25dc87f10464c42db (diff) | |
download | frameworks_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.java | 5 |
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"); |