Commit Graph

15697 Commits

Author SHA1 Message Date
Fabrice Di Meglio
dcf59dd82c 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
2014-07-21 11:22:20 -07:00
Fabrice Di Meglio
38ba9a2d43 Fix AppDetails padding on tablet UI
- force custom padding

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

Change-Id: I5c26402c10a4e717cda22b320ab0790f598591c2
2014-07-18 19:58:50 -07:00
Fabrice Di Meglio
97a18c8111 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
2014-07-18 19:12:36 -07:00
Fabrice Di Meglio
712df6cb70 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
2014-07-18 17:44:37 -07:00
Fabrice Di Meglio
d40dd45c18 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
2014-07-18 16:33:32 -07:00
Zoltan Szatmary-Ban
08c2f36c3a Fix refresh issue of badged icons in Battery Settings
Bug: 16234577
Change-Id: Ia8df86ecbfda08335cc62e819d4a7303b748cecb
2014-07-18 16:24:30 +01:00
Fabrice Di Meglio
3bd0515242 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
2014-07-17 19:36:14 -07:00
John Spurlock
59ea80b781 Merge "Settings: No really, keep the trailing space." into lmp-dev 2014-07-17 19:26:18 +00:00
John Spurlock
de42b8b62e Settings: No really, keep the trailing space.
Bug:16487510
Change-Id: Ic10ace9803c7d488240d819427ffec412a10d81a
2014-07-22 15:17:49 -04:00
Adrian Roos
2c22d6d204 Fix and simplify advanced security settings layout
Provides correct padding for tablets and sets background
drawable.

Bug: 16382821
Change-Id: I0aa0c9f8c6fccb6c201e78075c37a7c7e2315d07
2014-07-22 12:08:44 +00:00
Alexandra Gherghina
4869faf465 Revert "Move global sync settings to AccountSettings."
This reverts commit 64fde6f4e9.

Change-Id: I61940b6e2936c7c7f048af222602226e5588c268
2014-07-22 12:01:54 +00:00
Alexandra Gherghina
64fde6f4e9 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
2014-07-22 12:00:10 +00:00
Dianne Hackborn
ff795ffba8 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
2014-07-21 20:14:43 -07:00
Fabrice Di Meglio
f6f1e2ba13 Merge "Remove fake 8dp padding on N7 devices" into lmp-dev 2014-07-21 15:43:35 +00:00
Fabrice Di Meglio
65e89f6ecf Merge "Add the capability to set a pinned header to a ListFragment" into lmp-dev 2014-07-19 22:40:06 +00:00
Alan Viverette
dd9dcb4377 Merge "Treat caption preview viewport as clipped 16:9 aspect" into lmp-dev 2014-07-21 15:42:19 +00:00
Alan Viverette
389287e5f8 Treat caption preview viewport as clipped 16:9 aspect
Also adds standard start/end padding to preview frame.

BUG: 16462107
Change-Id: I89001d1656cee0c2d8abd95eae09975307b1ff06
2014-07-21 23:50:15 +00:00
Alan Viverette
c94e7e611c Merge "Remove inversion quick settings toggle" into lmp-dev 2014-07-21 15:43:35 +00:00
Alan Viverette
04e1acc12b Remove inversion quick settings toggle
Also removes remnants of contrast preference screen.

BUG: 16303790
Change-Id: I9833b53e187e5f41c0442bcbaf9b728d55577d88
2014-07-21 22:46:20 +00:00
Fabrice Di Meglio
aed4c7284e Merge "Add the capability to set a pinned header to SettingsPreferenceFragment" into lmp-dev 2014-07-21 15:43:35 +00:00
Tadashi G. Takaoka
40aeac90f1 Merge "Remove unused and unnecessary code from subtype enabler" into lmp-dev 2014-07-21 15:42:19 +00:00
Amith Yamasani
fca31ca418 Follow API change from *Blocked to *Hidden
Bug: 16191518
Change-Id: I4cbe210e62d551e4d5246eb3a7523d03c41175be
2014-07-21 22:19:09 +00:00
Tadashi G. Takaoka
229ed1a784 Remove unused and unnecessary code from subtype enabler
Change-Id: I9935b5bda8ae7cd1ce2d20ee6c4622eeb9a02b6a
2014-07-21 14:56:22 -07:00
Fabrice Di Meglio
fecda6181d Merge "Fix Notification Access layout for tabletUI support" into lmp-dev 2014-07-21 15:42:19 +00:00
Przemyslaw Szczepaniak
c0bffe7148 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 e0d519f3cf)
2014-07-21 15:38:16 +00:00
Fabrice Di Meglio
193cd11c4b Merge "Fix App Notification layout for tabletUI support" into lmp-dev 2014-07-19 22:40:06 +00:00
Przemyslaw Szczepaniak
d7bdf17aba Merge "Make TTS setting transition animation consistent." into lmp-dev 2014-07-17 19:55:10 +00:00
Baligh Uddin
790b21d44d Import translations. DO NOT MERGE
Change-Id: Iab323e1a057a52bb3408a7173fae984a2d9ff240
Auto-generated-cl: translation import
2014-07-20 14:53:03 -07:00
Tadashi G. Takaoka
686c250323 Merge "Use OnPreferenceChangeLister for subtype enabler" into lmp-dev 2014-07-17 19:20:15 +00:00
Baligh Uddin
64a8309250 Import translations. DO NOT MERGE
Change-Id: I9f9207a53b8bc1f312ae7e8c6f4bb3b259dba370
Auto-generated-cl: translation import
2014-07-22 17:04:41 +00:00
Tadashi G. Takaoka
5d56f6217f Use OnPreferenceChangeLister for subtype enabler
Change-Id: Id9eaed14803b6c4e194f1cf62900de0a053da012
2014-07-22 16:23:50 +00:00
Fabrice Di Meglio
592a17aa3c Merge "Fix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP_NOTIFICATION_SETTINGS" into lmp-dev 2014-07-17 19:20:15 +00:00
Fabrice Di Meglio
6d26c17380 Merge "Fix AppDetails padding on tablet UI" into lmp-dev 2014-07-20 04:41:30 +00:00
Jason Monk
724ec85e12 Merge "Add Screen pinning back to settings" into lmp-dev 2014-07-20 04:41:30 +00:00
Jason Monk
27d7ea56f3 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
2014-07-21 09:01:43 -04:00
Baligh Uddin
0f364cdf63 Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev 2014-07-17 19:20:15 +00:00
Tadashi G. Takaoka
a229125980 Merge "Fix Settings behavior when disabling current IME" into lmp-dev 2014-07-19 22:40:06 +00:00
Tadashi G. Takaoka
a82c3824f3 Fix Settings behavior when disabling current IME
Bug: 16195373
Change-Id: I95d086e152b07e81aece773bc115ac0ac4517392
2014-07-19 17:29:28 -07:00
Baligh Uddin
fdac5db893 Import translations. DO NOT MERGE
Change-Id: If479170defb29f3874fa320e15acd587560cff4c
Auto-generated-cl: translation import
2014-07-19 21:43:32 +00:00
Baligh Uddin
a45d1f8320 Remove deprecated locales - DO NOT MERGE
Change-Id: Ibf5ac73ae0784925297180cfec0236687d584fd4
2014-07-19 13:05:24 -07:00
Tadashi G. Takaoka
721e63fc6d Merge "Remove unnecessary saved persistent preference" into lmp-dev 2014-07-17 21:58:28 +00:00
Tadashi G. Takaoka
3460a2683c 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
2014-07-18 18:21:44 -07:00
Andres Morales
7ab8929cc6 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
2014-07-18 16:40:37 +00:00
Fabrice Di Meglio
6f40485308 Merge "Fix Utils.prepareCustomPreferencesList()" into lmp-dev 2014-07-17 17:59:02 +00:00
Fabrice Di Meglio
39a2cbb32c Merge "Fix the way we select and apply Themes" into lmp-dev 2014-07-18 18:24:25 +00:00
Fabrice Di Meglio
84dfc0b5d6 Merge "Fix overdraw and do some layout optimizations" into lmp-dev 2014-07-18 18:24:25 +00:00
Adam Lesinski
8d7be7b738 Update Settings to use new UsageStats API
Change-Id: I89740d9b0c21f1ac6aa68feedc7730dd98b244c9
2014-07-18 14:35:54 -07:00
Jeff Davidson
878ca0edb9 Merge "Link WifiAssistant card with actual settings." into lmp-dev 2014-07-17 21:04:20 +00:00
Paul Lawrence
312927abd7 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
2014-07-18 19:49:26 +00:00
Maurice Lam
b3f69cd104 Merge "[WifiSetup] Mechanism for suspending auto finish" into lmp-dev 2014-07-17 21:58:28 +00:00