OSDN Git Service

android-x86/packages-apps-Settings.git
10 years agoMerge "Settings: Disable Interruptions > From when N/A." into lmp-dev
John Spurlock [Wed, 23 Jul 2014 01:43:37 +0000 (01:43 +0000)]
Merge "Settings: Disable Interruptions > From when N/A." into lmp-dev

10 years agoSettings: Disable Interruptions > From when N/A.
John Spurlock [Wed, 23 Jul 2014 01:40:41 +0000 (21:40 -0400)]
Settings: Disable Interruptions > From when N/A.

Bug:16486621
Change-Id: Id720337905051a11ca95fac53f89963495998924

10 years agoImprove protection against malicious admins.
Dianne Hackborn [Tue, 22 Jul 2014 23:23:36 +0000 (16:23 -0700)]
Improve protection against malicious admins.

- 2 second timeout until we give up on displaying a message,
  keeping us within the 5 second activity launch block time.
- Restart the activity launch block when we show the dialog.
- Use app ops to prevent the app of the currently displayed
  admin from putting windows on top while the settings screen
  is running.

Change-Id: I631e8896ec7539c2de3ff36f183e67e36bcc37ca

10 years agoMerge "Reset color space when development options are disabled" into lmp-dev
Alan Viverette [Wed, 23 Jul 2014 00:24:02 +0000 (00:24 +0000)]
Merge "Reset color space when development options are disabled" into lmp-dev

10 years agoSettings: Tweak zen alarm info string.
John Spurlock [Tue, 22 Jul 2014 20:31:00 +0000 (16:31 -0400)]
Settings: Tweak zen alarm info string.

Use standard styling and remove the bit about timers.

Bug:16487906
Change-Id: I28b8ac61981a2e9956d41768ee1185dc5ad950f3

10 years agoMerge "Data Usage, materialized!" into lmp-dev
Jeff Sharkey [Tue, 22 Jul 2014 23:40:05 +0000 (23:40 +0000)]
Merge "Data Usage, materialized!" into lmp-dev

10 years agoRemoved WPA PSK from HotSpot Options
PauloftheWest [Tue, 22 Jul 2014 22:43:59 +0000 (15:43 -0700)]
Removed WPA PSK from HotSpot Options

Bug: 16380972
Change-Id: I77735ff7a8962d538132bb55ebbf6cc75358f8a1

10 years agoData Usage, materialized!
Jeff Sharkey [Mon, 21 Jul 2014 22:38:06 +0000 (15:38 -0700)]
Data Usage, materialized!

Asset drop so Data Usage matches new Material spec.  Removes time
dimension sweeps, so we now summarize the entire visible axis.  Fix
time axis labels to not draw outside clip bounds.  Remove pie chart.

No more checkboxes in menus.  Telephony items like roaming are moved
back to cellular settings.  Start wiring up multi-SIM support.

Bug: 15760500160197001628992416303795
Change-Id: Ie8f4821962319bb82ff4bc2f13f1f66ba1bdfe65

10 years agoMerge "Stop using framework-private switch asset" into lmp-dev
Alan Viverette [Tue, 22 Jul 2014 23:23:21 +0000 (23:23 +0000)]
Merge "Stop using framework-private switch asset" into lmp-dev

10 years agoStop using framework-private switch asset
Alan Viverette [Tue, 22 Jul 2014 23:11:01 +0000 (16:11 -0700)]
Stop using framework-private switch asset

BUG: 16467249
Change-Id: I0829c3dea522cf59e0f92046ea7c6092d416ad4c

10 years agoRevert "Revert "Move global sync settings to AccountSettings.""
Alexandra Gherghina [Tue, 22 Jul 2014 12:04:58 +0000 (12:04 +0000)]
Revert "Revert "Move global sync settings to AccountSettings.""

This reverts commit 4869faf46559c54a34b969b5ae5391a208e723af.

Change-Id: I58df9b8161d711a9c0187af1f1a1dc279fb9d9ab

10 years agoReset color space when development options are disabled
Alan Viverette [Tue, 22 Jul 2014 00:45:26 +0000 (17:45 -0700)]
Reset color space when development options are disabled

BUG: 16306222
Change-Id: I4939a4fba8b0358333f6ff25ff8c405c5679579d

10 years agoUse SwitchPreference for input method subtype enabler
Tadashi G. Takaoka [Sun, 20 Jul 2014 01:16:43 +0000 (18:16 -0700)]
Use SwitchPreference for input method subtype enabler

Bug: 15781377
Change-Id: I80fe987e499722af7768147a184934650bbf8385

10 years agoMerge "Add Home / Launcher apps indexing" into lmp-dev
Fabrice Di Meglio [Tue, 22 Jul 2014 22:17:42 +0000 (22:17 +0000)]
Merge "Add Home / Launcher apps indexing" into lmp-dev

10 years agoAdd Home / Launcher apps indexing
Fabrice Di Meglio [Tue, 22 Jul 2014 22:06:31 +0000 (15:06 -0700)]
Add Home / Launcher apps indexing

- add a BaseSearchIndexProvider to HomeSettings
- use a BroadcastReceiver for tracking add or remove of
Home / Launcher apps
- add "launcher" synonym for "home" too

- also code cleaning for DynamicIndexableContentMonitor

See bug: #16484927 Add "launcher" as a synonym for "home" in settings search

Change-Id: I819f4e5f7bd5e9a7882609206b2733ea1912fc69

10 years agoRemove fake 8dp padding on N7 devices
Fabrice Di Meglio [Tue, 22 Jul 2014 02:11:06 +0000 (19:11 -0700)]
Remove fake 8dp padding on N7 devices

- was a remaining artifact from a test

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: Ib39166213bb76ceb2319b21cb3651e7c43c4de68

10 years agoAdd the capability to set a pinned header to a ListFragment
Fabrice Di Meglio [Tue, 22 Jul 2014 00:14:31 +0000 (17:14 -0700)]
Add the capability to set a pinned header to a ListFragment

- add public void setPinnedHeaderView(View pinnedHeader) and
clearPinnedHeaderView() APIs for adding and clearing the pinned header

Change-Id: I1096b418351c0f02a13fd49d4a19e52970125106

10 years agoAdd the capability to set a pinned header to SettingsPreferenceFragment
Fabrice Di Meglio [Mon, 21 Jul 2014 23:02:27 +0000 (16:02 -0700)]
Add the capability to set a pinned header to SettingsPreferenceFragment

- add a FrameLayout into the preference list fragment
- add public void setPinnedHeaderView(View pinnedHeader) and
clearPinnedHeaderView() APIs for adding and clearing the pinned header

Change-Id: I50ba5dd150167e0d49cc54bee1203f46db6d7a66

10 years agoFix Notification Access layout for tabletUI support
Fabrice Di Meglio [Mon, 21 Jul 2014 20:41:32 +0000 (13:41 -0700)]
Fix Notification Access layout for tabletUI support

- setup correct padding for the App list and its item

also remove showing FastScroller all the time on App Notification list

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I11a70906f1372027622d50a81bc7744d48190f8a

10 years agoFix App Notification layout for tabletUI support
Fabrice Di Meglio [Mon, 21 Jul 2014 20:19:06 +0000 (13:19 -0700)]
Fix App Notification layout for tabletUI support

- setup correct padding for the App list and its item

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I6c14bb8abced59b636a3230e1daf783130f0f4d3

10 years agoFix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP_NOTIFI...
Fabrice Di Meglio [Mon, 21 Jul 2014 18:22:20 +0000 (11:22 -0700)]
Fix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP_NOTIFICATION_SETTINGS

... and also crash with intent: android.settings.ACTION_OTHER_SOUND_SETTINGS

- add corresponding fragments to the ENTRY_FRAGMENTS array

Change-Id: Ic0c10841dfd7bc87d8573530129290ed172ff608

10 years agoFix AppDetails padding on tablet UI
Fabrice Di Meglio [Sat, 19 Jul 2014 02:58:50 +0000 (19:58 -0700)]
Fix AppDetails padding on tablet UI

- force custom padding

See bug #: 13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I5c26402c10a4e717cda22b320ab0790f598591c2

10 years agoFix Utils.prepareCustomPreferencesList()
Fabrice Di Meglio [Sat, 19 Jul 2014 02:12:36 +0000 (19:12 -0700)]
Fix Utils.prepareCustomPreferencesList()

- and thus fix padding for all Fragments using it

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I862c96d626ed906cbdafcfb40fa0e07bb804160f

10 years agoFix the way we select and apply Themes
Fabrice Di Meglio [Sat, 19 Jul 2014 00:44:37 +0000 (17:44 -0700)]
Fix the way we select and apply Themes

- do not override the DialogWhenLarge ones (they have their purpose)
- apply the correct Theme to SubSettings and then as a consequence
to the SwitchBar

Change-Id: I83adabf72da03051f03fbd2121e1e71217fc0c6a

10 years agoFix overdraw and do some layout optimizations
Fabrice Di Meglio [Fri, 18 Jul 2014 22:20:34 +0000 (15:20 -0700)]
Fix overdraw and do some layout optimizations

- use a specific layout for the Dashboard and for the Preferences
- use a specific background for the Dashboard and for the Preferences

The main idea here is that you cannot have the same layout / background
because the Dashboard is using the "Z elevation" for having its card
"poping up"

Change-Id: I42b7c91efea14315b8a60cf3876938a7f1d1e0b3

10 years agoFix alignment of ActionBar title and Preferences for tablet UI
Fabrice Di Meglio [Fri, 18 Jul 2014 02:36:14 +0000 (19:36 -0700)]
Fix alignment of ActionBar title and Preferences for tablet UI

- use the correct start/end padding

See bug: #15439371 Visual add white BG for Settings Detail

Change-Id: I391fb3c75c51349ffbc17295b3aac6f432f91b58

10 years agoMerge "Settings: No really, keep the trailing space." into lmp-dev
John Spurlock [Tue, 22 Jul 2014 19:22:27 +0000 (19:22 +0000)]
Merge "Settings: No really, keep the trailing space." into lmp-dev

10 years agoSettings: No really, keep the trailing space.
John Spurlock [Tue, 22 Jul 2014 19:17:49 +0000 (15:17 -0400)]
Settings: No really, keep the trailing space.

Bug:16487510
Change-Id: Ic10ace9803c7d488240d819427ffec412a10d81a

10 years agoFix and simplify advanced security settings layout
Adrian Roos [Fri, 18 Jul 2014 11:42:01 +0000 (13:42 +0200)]
Fix and simplify advanced security settings layout

Provides correct padding for tablets and sets background
drawable.

Bug: 16382821
Change-Id: I0aa0c9f8c6fccb6c201e78075c37a7c7e2315d07

10 years agoRevert "Move global sync settings to AccountSettings."
Alexandra Gherghina [Tue, 22 Jul 2014 12:01:54 +0000 (12:01 +0000)]
Revert "Move global sync settings to AccountSettings."

This reverts commit 64fde6f4e9404a363f577a9fda424affcb5138e4.

Change-Id: I61940b6e2936c7c7f048af222602226e5588c268

10 years agoMove global sync settings to AccountSettings.
Alexandra Gherghina [Wed, 9 Jul 2014 08:30:18 +0000 (09:30 +0100)]
Move global sync settings to AccountSettings.

It also makes AccountSettings respond to the SYNC_SETTINGS intent, which
it is currently triggered by Calendar and could be triggered by Gmail.

Bug: 16076571
Change-Id: I2c55262a87e46ba88f36a90a2f8f27d08f88e851

10 years agoUnify voice interactor and recognizer settings.
Dianne Hackborn [Sat, 19 Jul 2014 02:20:11 +0000 (19:20 -0700)]
Unify voice interactor and recognizer settings.

There is now one settings UI to select both the new
voice interactor and old voice recognizer.

There are still a few wonky things about this that won't
be resolved until we start requiring that all interactors
specify an associated recognizer service.

Change-Id: Ib702ff717fb28bcb244cb30e49577066ddc9f197

10 years agoMerge "Remove fake 8dp padding on N7 devices" into lmp-dev
Fabrice Di Meglio [Tue, 22 Jul 2014 02:16:16 +0000 (02:16 +0000)]
Merge "Remove fake 8dp padding on N7 devices" into lmp-dev

10 years agoMerge "Add the capability to set a pinned header to a ListFragment" into lmp-dev
Fabrice Di Meglio [Tue, 22 Jul 2014 00:28:45 +0000 (00:28 +0000)]
Merge "Add the capability to set a pinned header to a ListFragment" into lmp-dev

10 years agoMerge "Treat caption preview viewport as clipped 16:9 aspect" into lmp-dev
Alan Viverette [Tue, 22 Jul 2014 00:10:17 +0000 (00:10 +0000)]
Merge "Treat caption preview viewport as clipped 16:9 aspect" into lmp-dev

10 years agoTreat caption preview viewport as clipped 16:9 aspect
Alan Viverette [Mon, 21 Jul 2014 23:48:13 +0000 (16:48 -0700)]
Treat caption preview viewport as clipped 16:9 aspect

Also adds standard start/end padding to preview frame.

BUG: 16462107
Change-Id: I89001d1656cee0c2d8abd95eae09975307b1ff06

10 years agoMerge "Remove inversion quick settings toggle" into lmp-dev
Alan Viverette [Mon, 21 Jul 2014 23:52:12 +0000 (23:52 +0000)]
Merge "Remove inversion quick settings toggle" into lmp-dev

10 years agoRemove inversion quick settings toggle
Alan Viverette [Mon, 21 Jul 2014 21:34:22 +0000 (14:34 -0700)]
Remove inversion quick settings toggle

Also removes remnants of contrast preference screen.

BUG: 16303790
Change-Id: I9833b53e187e5f41c0442bcbaf9b728d55577d88

10 years agoMerge "Add the capability to set a pinned header to SettingsPreferenceFragment" into...
Fabrice Di Meglio [Mon, 21 Jul 2014 23:19:28 +0000 (23:19 +0000)]
Merge "Add the capability to set a pinned header to SettingsPreferenceFragment" into lmp-dev

10 years agoMerge "Remove unused and unnecessary code from subtype enabler" into lmp-dev
Tadashi G. Takaoka [Mon, 21 Jul 2014 22:24:31 +0000 (22:24 +0000)]
Merge "Remove unused and unnecessary code from subtype enabler" into lmp-dev

10 years agoFollow API change from *Blocked to *Hidden
Amith Yamasani [Sat, 19 Jul 2014 22:57:34 +0000 (15:57 -0700)]
Follow API change from *Blocked to *Hidden

Bug: 16191518
Change-Id: I4cbe210e62d551e4d5246eb3a7523d03c41175be

10 years agoRemove unused and unnecessary code from subtype enabler
Tadashi G. Takaoka [Mon, 21 Jul 2014 21:17:47 +0000 (14:17 -0700)]
Remove unused and unnecessary code from subtype enabler

Change-Id: I9935b5bda8ae7cd1ce2d20ee6c4622eeb9a02b6a

10 years agoMerge "Fix Notification Access layout for tabletUI support" into lmp-dev
Fabrice Di Meglio [Mon, 21 Jul 2014 20:46:35 +0000 (20:46 +0000)]
Merge "Fix Notification Access layout for tabletUI support" into lmp-dev

10 years agoFix showing list of languages for picoTTS
Przemyslaw Szczepaniak [Mon, 21 Jul 2014 15:27:00 +0000 (16:27 +0100)]
Fix showing list of languages for picoTTS

PicoTTS have a tendency to return a
CHECK_VOICE_DATA_MISSING_DATA for its CHECK_TTS_DATA
activity. This blanks the language selection preference.
The fix is to show languages selection for all
results of CHECK_TTS_DATA that are not a total failure
(TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL).

Change-Id: I984d7cc9b0dc830ad2b8195a820f9b6fc4ddf1e0
(cherry picked from commit e0d519f3cf1323f7c83971b6d75f11788d4c961b)

10 years agoMerge "Fix App Notification layout for tabletUI support" into lmp-dev
Fabrice Di Meglio [Mon, 21 Jul 2014 20:24:22 +0000 (20:24 +0000)]
Merge "Fix App Notification layout for tabletUI support" into lmp-dev

10 years agoMerge "Make TTS setting transition animation consistent." into lmp-dev
Przemyslaw Szczepaniak [Mon, 21 Jul 2014 09:52:53 +0000 (09:52 +0000)]
Merge "Make TTS setting transition animation consistent." into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 20 Jul 2014 21:53:03 +0000 (14:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iab323e1a057a52bb3408a7173fae984a2d9ff240
Auto-generated-cl: translation import

10 years agoMerge "Use OnPreferenceChangeLister for subtype enabler" into lmp-dev
Tadashi G. Takaoka [Tue, 22 Jul 2014 17:19:36 +0000 (17:19 +0000)]
Merge "Use OnPreferenceChangeLister for subtype enabler" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 03:03:25 +0000 (20:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I9f9207a53b8bc1f312ae7e8c6f4bb3b259dba370
Auto-generated-cl: translation import

10 years agoUse OnPreferenceChangeLister for subtype enabler
Tadashi G. Takaoka [Mon, 21 Jul 2014 19:16:18 +0000 (12:16 -0700)]
Use OnPreferenceChangeLister for subtype enabler

Change-Id: Id9eaed14803b6c4e194f1cf62900de0a053da012

10 years agoMerge "Fix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP...
Fabrice Di Meglio [Mon, 21 Jul 2014 18:27:30 +0000 (18:27 +0000)]
Merge "Fix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP_NOTIFICATION_SETTINGS" into lmp-dev

10 years agoMerge "Fix AppDetails padding on tablet UI" into lmp-dev
Fabrice Di Meglio [Mon, 21 Jul 2014 17:53:44 +0000 (17:53 +0000)]
Merge "Fix AppDetails padding on tablet UI" into lmp-dev

10 years agoMerge "Add Screen pinning back to settings" into lmp-dev
Jason Monk [Mon, 21 Jul 2014 17:17:45 +0000 (17:17 +0000)]
Merge "Add Screen pinning back to settings" into lmp-dev

10 years agoAdd Screen pinning back to settings
Jason Monk [Fri, 18 Jul 2014 13:55:41 +0000 (09:55 -0400)]
Add Screen pinning back to settings

Adds a basic screen for screen pinning (previously lock-to-app) to
settings that describes the feature and allows it to be turned on
and off.

Bug: 16378448
Depends on Ide333463f86310eacb7a1d8b6dc7b1aea8722713 for Settings
constant
Change-Id: Id3ef8471794aa01de20efeb947bed95c50d6b954

10 years agoMerge "Remove deprecated locales - DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 20 Jul 2014 02:27:08 +0000 (02:27 +0000)]
Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev

10 years agoMerge "Fix Settings behavior when disabling current IME" into lmp-dev
Tadashi G. Takaoka [Sun, 20 Jul 2014 01:02:04 +0000 (01:02 +0000)]
Merge "Fix Settings behavior when disabling current IME" into lmp-dev

10 years agoFix Settings behavior when disabling current IME
Tadashi G. Takaoka [Sun, 20 Jul 2014 00:06:20 +0000 (17:06 -0700)]
Fix Settings behavior when disabling current IME

Bug: 16195373
Change-Id: I95d086e152b07e81aece773bc115ac0ac4517392

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 18 Jul 2014 01:56:11 +0000 (18:56 -0700)]
Import translations. DO NOT MERGE

Change-Id: If479170defb29f3874fa320e15acd587560cff4c
Auto-generated-cl: translation import

10 years agoRemove deprecated locales - DO NOT MERGE
Baligh Uddin [Sat, 19 Jul 2014 20:05:24 +0000 (13:05 -0700)]
Remove deprecated locales - DO NOT MERGE

Change-Id: Ibf5ac73ae0784925297180cfec0236687d584fd4

10 years agoMerge "Remove unnecessary saved persistent preference" into lmp-dev
Tadashi G. Takaoka [Sat, 19 Jul 2014 19:11:03 +0000 (19:11 +0000)]
Merge "Remove unnecessary saved persistent preference" into lmp-dev

10 years agoRemove unnecessary saved persistent preference
Tadashi G. Takaoka [Sat, 12 Jul 2014 07:37:38 +0000 (16:37 +0900)]
Remove unnecessary saved persistent preference

This CL also fixes a bug in
InputMethodAndSubtypeUtil.updateSubtypesPreferenceChecked method that
prevents solving the issue/16115751.

Bug: 16115751
Change-Id: Ib46790172ed539d444fd609a1a97dabb2cb2d2f3

10 years agoOn factory reset, wipe the stored account challenges
Andres Morales [Thu, 10 Jul 2014 23:10:43 +0000 (16:10 -0700)]
On factory reset, wipe the stored account challenges

Each time a user adds an account, a challenge gets
stored to the persistent data block service.

If a user factory resets *from Settings*, this is
considered a "secure wipe" and thus we must wipe
the account challenges as well.

No other factory reset mechanism must be permitted
to wipe this data.

Bug: 14288780
Change-Id: Ibe48ccae2d7b5f8d736717a27b7c4f44bed0fba7

10 years agoMerge "Fix Utils.prepareCustomPreferencesList()" into lmp-dev
Fabrice Di Meglio [Sat, 19 Jul 2014 02:19:50 +0000 (02:19 +0000)]
Merge "Fix Utils.prepareCustomPreferencesList()" into lmp-dev

10 years agoMerge "Fix the way we select and apply Themes" into lmp-dev
Fabrice Di Meglio [Sat, 19 Jul 2014 00:53:02 +0000 (00:53 +0000)]
Merge "Fix the way we select and apply Themes" into lmp-dev

10 years agoMerge "Fix overdraw and do some layout optimizations" into lmp-dev
Fabrice Di Meglio [Fri, 18 Jul 2014 23:59:32 +0000 (23:59 +0000)]
Merge "Fix overdraw and do some layout optimizations" into lmp-dev

10 years agoUpdate Settings to use new UsageStats API
Adam Lesinski [Fri, 18 Jul 2014 01:30:03 +0000 (18:30 -0700)]
Update Settings to use new UsageStats API

Change-Id: I89740d9b0c21f1ac6aa68feedc7730dd98b244c9

10 years agoMerge "Link WifiAssistant card with actual settings." into lmp-dev
Jeff Davidson [Fri, 18 Jul 2014 20:55:23 +0000 (20:55 +0000)]
Merge "Link WifiAssistant card with actual settings." into lmp-dev

10 years agoMaterial fixes for tablets
Paul Lawrence [Thu, 17 Jul 2014 16:57:13 +0000 (09:57 -0700)]
Material fixes for tablets

Remove wireframe Android from pattern screen
Remove tablet specific password entry - we don't have one for PIN, and
the password one looks awful.

Bug: 15328359
Change-Id: I3d73a346166641ab72ecf520f9fbe2ee1379fe8a

10 years agoMerge "[WifiSetup] Mechanism for suspending auto finish" into lmp-dev
Maurice Lam [Fri, 18 Jul 2014 19:07:09 +0000 (19:07 +0000)]
Merge "[WifiSetup] Mechanism for suspending auto finish" into lmp-dev

10 years ago[WifiSetup] Mechanism for suspending auto finish
Maurice Lam [Tue, 1 Jul 2014 22:14:19 +0000 (15:14 -0700)]
[WifiSetup] Mechanism for suspending auto finish

We have been using forget() to prevent auto-reconnection when the
user hits back to Wifi setup. This has the side effect of forgetting
networks, which is undesirable especially for password protected APs.

The new mechanism keeps a flag on whether the user has selected a
connection. Only auto-advance if the user has picked a network and
there is a valid WiFi connection.

The new EXTRA_REQUIRE_USER_SELECTION can specify whether a user
selection is required initially. That is, whether to auto finish if
the system connected to a network without user input. The default is
false so WiFi can be skipped if the user started setup wizard with
a valid WiFi connection (e.g. after System Update). Note that a user
selection is always required when the user goes back from the next
screen.

Since the new AP dialog does not have a connect button, the SKIP
button in the navigation bar also changes to NEXT when there is a
valid WiFi connection, so the user can hit NEXT if they decided not
to change the network.

Bug: 15333554
Bug: 15999487
Change-Id: I98e935b8e09e470a0c49c44bc299bb2eced98634

10 years agoMerge "Minor string fixes for translation" into lmp-dev
PauloftheWest [Fri, 18 Jul 2014 18:08:07 +0000 (18:08 +0000)]
Merge "Minor string fixes for translation" into lmp-dev

10 years agoMinor string fixes for translation
PauloftheWest [Fri, 18 Jul 2014 18:01:55 +0000 (11:01 -0700)]
Minor string fixes for translation

Bug: 16321903
Bug: 16321706
Bug: 16321066
Bug: 16321704
Change-Id: I65d0d8c89a8d0e7bf2ff2280aab32cd63b9fe369

10 years agoHide Settings launcher icon for a managed profile
Alexandra Gherghina [Thu, 17 Jul 2014 19:29:34 +0000 (20:29 +0100)]
Hide Settings launcher icon for a managed profile

This makes the Settings icon disappear at the next reboot.

Bug: 16369104
Change-Id: Ic0a394413a0f2dc573d340394d2cd24388535856

10 years agoMerge "Fix alignment of ActionBar title and Preferences for tablet UI" into lmp-dev
Fabrice Di Meglio [Fri, 18 Jul 2014 02:40:50 +0000 (02:40 +0000)]
Merge "Fix alignment of ActionBar title and Preferences for tablet UI" into lmp-dev

10 years agoFix duplicate string resources
Tadashi G. Takaoka [Fri, 18 Jul 2014 01:07:26 +0000 (18:07 -0700)]
Fix duplicate string resources

Change-Id: I33fd2e236f7462fc8a8fd14f56226e21d74a0311

10 years agoMerge "Add OP_PROJECT_MEDIA to AppOps" into lmp-dev
Michael Wright [Thu, 17 Jul 2014 21:59:07 +0000 (21:59 +0000)]
Merge "Add OP_PROJECT_MEDIA to AppOps" into lmp-dev

10 years agoLink WifiAssistant card with actual settings.
Jeff Davidson [Thu, 17 Jul 2014 17:28:53 +0000 (10:28 -0700)]
Link WifiAssistant card with actual settings.

Only show the card if we haven't already enabled an assistant, and if
there's one available on the device to enable. (For now, we enable the
first one; in the future, we can offer a selection between
assistants).

When the user opts in, we either show the standard system activity or
the custom opt-in activity if the assistant has defined one. In either
case, we only dismiss the card if the child activity indicates that
opt-in was successful.

Bug: 16376277
Change-Id: Ic92c7676c563ab8c8fb695117a053004f15f7d25

10 years agoMerge "Add account for managed user" into lmp-dev
Alexandra Gherghina [Fri, 18 Jul 2014 09:50:57 +0000 (09:50 +0000)]
Merge "Add account for managed user" into lmp-dev

10 years agoAdd account for managed user
Alexandra Gherghina [Mon, 7 Jul 2014 14:10:15 +0000 (15:10 +0100)]
Add account for managed user

Bug: 16056552
Change-Id: I225a1b447d9b4024703b82be8a1fa66359d9e9a1

10 years agoRemove account for a managed user
Alexandra Gherghina [Fri, 4 Jul 2014 10:37:17 +0000 (11:37 +0100)]
Remove account for a managed user

Bug: 16056552
Change-Id: Iad24856cab908ed40c32af799ca2c41fe85b6b45

10 years agoMerge "Final touches to material theme for phones" into lmp-dev
Paul Lawrence [Thu, 17 Jul 2014 20:58:43 +0000 (20:58 +0000)]
Merge "Final touches to material theme for phones" into lmp-dev

10 years agoFinal touches to material theme for phones
Paul Lawrence [Wed, 16 Jul 2014 17:21:04 +0000 (10:21 -0700)]
Final touches to material theme for phones

Fix layout
Improve text color/size
Improve edit box look
Hide status bar at top

Bug: 15328359
Change-Id: Ia0ea75c74b352963ccf47db0ff7c9684adc1f2a3

10 years agoMerge "Update Location Settings for Enterprise" into lmp-dev
Zoltan Szatmary-Ban [Thu, 17 Jul 2014 20:14:34 +0000 (20:14 +0000)]
Merge "Update Location Settings for Enterprise" into lmp-dev

10 years agoUpdate Location Settings for Enterprise
Zoltan Szatmary-Ban [Mon, 16 Jun 2014 12:08:24 +0000 (13:08 +0100)]
Update Location Settings for Enterprise

Find packages of the corporate user and show them
with badged icon on the "Recent location requests" list.

Bug: 15467321
Change-Id: Ic52ed3d01a0816288d4818190e82befa5235f28b

10 years agoMerge "Improvements to user settings" into lmp-dev
Amith Yamasani [Fri, 18 Jul 2014 14:58:58 +0000 (14:58 +0000)]
Merge "Improvements to user settings" into lmp-dev

10 years agoImprovements to user settings
Amith Yamasani [Fri, 18 Jul 2014 02:13:51 +0000 (19:13 -0700)]
Improvements to user settings

Exiting guest mode from within guest user.
Updated assets and cleaned up/optimized some asset clipping code.

Bug: 15761851
Bug: 16355550
Change-Id: I431e92bac3cbedd46bd1e33cffc4d9f0c576ca69

10 years agoMake TTS setting transition animation consistent.
Przemyslaw Szczepaniak [Thu, 17 Jul 2014 14:56:50 +0000 (15:56 +0100)]
Make TTS setting transition animation consistent.

Bug: 16345246
Change-Id: I729b2f35735ab03424acca07c4a9eb27541a356b

10 years agoUpdate new TimePicker widget to match Settings theme
Alan Viverette [Tue, 15 Jul 2014 01:46:39 +0000 (18:46 -0700)]
Update new TimePicker widget to match Settings theme

BUG: 11218747
Change-Id: I093e16df14832502af0ac28e19e3ad672a51e1d6

10 years agoFix bug #15702424 add-wifi setting screen has no title
Fabrice Di Meglio [Thu, 17 Jul 2014 02:51:06 +0000 (19:51 -0700)]
Fix bug #15702424 add-wifi setting screen has no title

- pass the missing EXTRA_SHOW_FRAGMENT_TITLE_RESID
- define a new string for the Activity title
- code cleaning: remove a non needed call to getIntent()

Change-Id: I430d59c0225c6e7f23e78edf5644d07ef33a9d98

10 years agoMerge "Access high contrast setting directly" into lmp-dev
Chris Craik [Thu, 17 Jul 2014 20:13:11 +0000 (20:13 +0000)]
Merge "Access high contrast setting directly" into lmp-dev

10 years agoAccess high contrast setting directly
Chris Craik [Thu, 17 Jul 2014 18:15:49 +0000 (11:15 -0700)]
Access high contrast setting directly

Change-Id: I6dd6359a9a0ed26955bbe7a9f24e460f85a17383

10 years agoMerge "Removed extraneous string from strings.xml" into lmp-dev
PauloftheWest [Thu, 17 Jul 2014 19:50:06 +0000 (19:50 +0000)]
Merge "Removed extraneous string from strings.xml" into lmp-dev

10 years agoRemoved extraneous string from strings.xml
PauloftheWest [Thu, 17 Jul 2014 19:47:48 +0000 (12:47 -0700)]
Removed extraneous string from strings.xml

Change-Id: I68db708eed866f644a2443bdc90582ae3e5c85eb

10 years agoHandle managing accounts for a managed profile
Alexandra Gherghina [Tue, 1 Jul 2014 14:05:17 +0000 (15:05 +0100)]
Handle managing accounts for a managed profile

Bug: 15466880
Change-Id: Icf0e06c954269426b500f0e5fbcdf3346c59eb9d

10 years agoMerge "Handle choosing and adding accounts for a managed profile" into lmp-dev
Alexandra Gherghina [Thu, 17 Jul 2014 19:40:51 +0000 (19:40 +0000)]
Merge "Handle choosing and adding accounts for a managed profile" into lmp-dev

10 years agoHandle choosing and adding accounts for a managed profile
Alexandra Gherghina [Fri, 27 Jun 2014 11:33:42 +0000 (12:33 +0100)]
Handle choosing and adding accounts for a managed profile

The user id can now be passed through the app as a fragment argument.

Bug: 15466880
Change-Id: I0e2be20551b4ec8c9226640ac74ea74115156ccd

10 years agoRevert "Update Location Settings for Enterprise" due to
Amith Yamasani [Thu, 17 Jul 2014 18:26:38 +0000 (18:26 +0000)]
Revert "Update Location Settings for Enterprise" due to
build breakage.

This reverts commit ca153c55dda9e654f20cd21897fedf986bb95a2e.

Change-Id: Id6d6c98e8504f50b1764bcb87052eb567b6284a1

10 years agoMerge "Battery chart fixes." into lmp-dev
Dianne Hackborn [Thu, 17 Jul 2014 19:20:55 +0000 (19:20 +0000)]
Merge "Battery chart fixes." into lmp-dev

10 years agoBattery chart fixes.
Dianne Hackborn [Thu, 10 Jul 2014 17:40:58 +0000 (10:40 -0700)]
Battery chart fixes.

When there is no data to show, don't make a crazy collapsed chart.

Also avoid re-creating the chart when scrolling.

And fix various other things.

Change-Id: Ia1895bc7c46e6d830e66f66e66f17726e1e23e3f

10 years agoUpdate Location Settings for Enterprise
Zoltan Szatmary-Ban [Mon, 16 Jun 2014 12:08:24 +0000 (13:08 +0100)]
Update Location Settings for Enterprise

Find packages of the corporate user and show them
with badged icon on the "Recent location requests" list.

Bug: 15467321
Change-Id: Ib0fdb9f0c811307875296c37bab6d1fbab919022