Commit Graph

13880 Commits

Author SHA1 Message Date
John Spurlock
81bef1d745 VolumeZen: Sound & Notifications settings.
- Add sound settings under the newly combined Sound & Notifications
  top-level settings page.
- New slider preferences for setting audio stream volumes.
- Migrate checkbox prefs to switch prefs.
- New settings subpage for touch sounds.
- New settings subpage for "Showing notifications"
- New setting pref for displaying intercepted notifications in zen mode.
- New tri-state lockscreen notifications pref.
- Add priority + sensitivity options to app notification dialog.
- Remove badges on app notifications row, migrate to subtitle text.
- Migrate strings to common spot in strings.xml
- Remove heads up setting.
- Remove tweaks category (unused).
- Clean up notification settings, separate out into a code section per option.
- Clean up _settings.xml files, prefix each pref with option name.
- Add appropriate indexing data to each settings page.

Depends on f/b change Ic30aa575ae07650cee62c8c1d83b6bc69395cf0d

Change-Id: If700385a7d0057f6c4c4bcf6e648dcf88b8ebff2
2014-05-18 15:37:09 -04:00
The Android Automerger
489d78e6b5 merge in master-release history after reset to ba046c034c 2014-05-18 05:50:08 -07:00
The Android Automerger
f1a8837604 merge in master-release history after reset to ba046c034c 2014-05-17 05:51:37 -07:00
Fabrice Di Meglio
ba046c034c Add padding at the end of the Dashboard list
See bug #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I3aa01a346933eb9269d2466c07b6b5ebd6fc3cc1
2014-05-16 18:59:14 -07:00
Fabrice Di Meglio
0022a2a02d Fix categories title text
- should not be all caps any more

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

Change-Id: I612de65539a02a65a7b760d53fb04290b6b596cf
2014-05-16 17:50:45 -07:00
Fabrice Di Meglio
ffca20cf97 Merge "Revert "Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device"" 2014-05-17 00:02:32 +00:00
Fabrice Di Meglio
93b77b7bf6 Revert "Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device"
This reverts commit 18d271c73b.

Change-Id: I04f89dbb13ad1db92276c91a7ee63d3a5dd33e62
2014-05-17 00:01:07 +00:00
Fabrice Di Meglio
74fb759f50 Merge "Improve the Dashboard layout" 2014-05-16 23:16:36 +00:00
Fabrice Di Meglio
94c9e177a4 Improve the Dashboard layout
- make the category text header taller and centered

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

Change-Id: I557211db923f106a83d65d090ce610c76fa53d5e
2014-05-16 16:13:40 -07:00
Fabrice Di Meglio
a10e056d65 Merge "Fix bug #15020874 SwitchBar needs to comply to Quantum Theme spec" 2014-05-16 22:14:33 +00:00
Fabrice Di Meglio
cf4b8f228e Fix bug #15020874 SwitchBar needs to comply to Quantum Theme spec
- put the On/Off text in non all caps

Change-Id: I68d0a6f08b45819bfa5181fb86d1ea5de40079f6
2014-05-16 15:13:01 -07:00
Fabrice Di Meglio
b99bd3fcc6 Merge "Improve Theming" 2014-05-16 20:28:39 +00:00
Fabrice Di Meglio
4e524b4935 Improve Theming
- use Theme.Quantum.Light.DarkActionBar as this Theme is working now
and thus remove some temporary style for doing that
- make the StatusBar and NavBar the same color as the ActionBar one
- make the List bouncing effect color the same as the ActionBar one

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

Change-Id: I5c3734da4965043be7c096c745d5166c1ea2b5e8
2014-05-16 13:28:04 -07:00
Fabrice Di Meglio
7586a01241 Merge "Code cleaning" 2014-05-16 20:18:22 +00:00
Fabrice Di Meglio
c777449925 Code cleaning
- remove unused import

Change-Id: Ie2ddec2164925e2f6fe3b2d8137fa7fce8b71d1d
2014-05-16 13:17:13 -07:00
Martijn Coenen
1535bcfbbc Merge "HCE foreground support." 2014-05-16 19:56:27 +00:00
Chris Wren
4cb06ac598 Merge "Use NotificationListenerService instead of raw INotificationListener." 2014-05-16 18:45:53 +00:00
Paul Lawrence
73456acfb4 Improve power fail/reset
On power fail/reset, an encrypted device will sit at the enter password screen
indefinitely, chirping. This is designed to attract the attention of the user.

However, it also flattens the battery, and the user who's attention is not
drawn will discover a discharged phone the next morning. We have had many
complaints about this.

Keep current functionality, but power down after 10 minutes. It's a compromise,
but seems reasonable.

@bug 12582489

Change-Id: I895c0147bed978ecf6984af2c748f971dfa0d221
2014-05-16 11:43:21 -07:00
Fabrice Di Meglio
18d271c73b Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device
- make WifiPickerActivity a SettingsActivity (as it was long overdue)
- move code from the overide of PreferenceActivity.startWithFragment() to
SettingsActivity.startPreferencePanel(...)

Change-Id: Ibc42056fdc84e01004e15c3779073e5451fd02a1
2014-05-16 11:00:13 -07:00
Fabrice Di Meglio
08190bbb75 Fix bug #15016050 Stability: ISE in Settings: Cannot add twice the same OnSwitchChangeListener
- add/remove the OnSwitchChangeListener into onResume/onPause

Change-Id: Idb1ac3997a2dbc0ca387ed67bbbbcc1a431d8642
2014-05-16 10:32:29 -07:00
Paul Lawrence
04425f1617 Fixing decryption messaging
Messaging currently implies encryption only works with PIN or password
(K functionality). Now that in L we support encryption with PIN, pattern,
password or swipe/none, we need to update the strings accordingly.

@bug 14257692
@bug 13674657

Change-Id: I055db1289c2c2750d217b50b653a7f36ff304aca
2014-05-16 09:22:49 -07:00
Martijn Coenen
00dbb74b8d HCE foreground support.
Allow users to configure they want to favor the foreground
app for tap&pay.
Change-Id: I25e1058e84f468e47fd40f43b65389c04373a3ab
2014-05-16 09:10:30 -07:00
Chris Wren
5001834d03 Use NotificationListenerService instead of raw INotificationListener.
Bug: 14846846
Depends-On: Ic308b2f78c86393304d446c57fd677294e01717c
Change-Id: If1d38d6d82466c4a69249dc7d76a9cb215c81e8f
2014-05-16 15:57:28 +00:00
Adrian Roos
3f7e0571d3 Apply revised TrustAgent API
Bug: 14997466
Change-Id: I3261d238bf5c6ba12eaa4259c7e06e8b41698213
2014-05-16 14:51:03 +02:00
Fabrice Di Meglio
8fb5d4a0ea Use SwitchBar for DoNoDisturb Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: If1ce0eb147ade8485107ee948b0d03cf688bcf06
2014-05-15 20:19:52 -07:00
Fabrice Di Meglio
7ba17ab12c Use SwitchBar for Print Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: Ife4990a52ef282563267dc0bff6d3a7f354b0bd0
2014-05-15 19:56:57 -07:00
Fabrice Di Meglio
105947d0a9 Merge "Fix bug 14990524 Add account does not refresh the list of accounts in the Dashboard" 2014-05-16 02:34:40 +00:00
Fabrice Di Meglio
a8072fa6e0 Fix bug 14990524 Add account does not refresh the list of accounts in the Dashboard
- unregister the OnAccountsUpdateListener in Fragment.onDestroy() instead of
in Fragment.onStop()

Change-Id: I07c92f85bb6efb34771d93158f00b60d93f4c90b
2014-05-15 19:32:39 -07:00
Fabrice Di Meglio
f9504d7d0f Merge "Second batch of new Quantum Theme assets" 2014-05-16 01:16:34 +00:00
Fabrice Di Meglio
593455cef5 Second batch of new Quantum Theme assets
- needed for Quantum Theme support

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

Change-Id: I915db343c8b59e9c926e2d0ae81de220ad3b8b02
2014-05-15 18:13:53 -07:00
Fabrice Di Meglio
92f02e4d2a Merge "Use SwitchBar for Accessibility Settings" 2014-05-16 00:47:20 +00:00
Fabrice Di Meglio
6220275d6d Use SwitchBar for Accessibility Settings
Deals with Talkback / Captions / Magnification Gestures

- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: Ibda0ed05b399f1b2b4464c5b22a3e9fd3d378867
2014-05-15 17:44:26 -07:00
Andres Morales
5fe81c7cc8 Merge "Fix issues in Wi-Fi NFC tag code" 2014-05-15 23:42:40 +00:00
Andres Morales
ae04155bbe Fix issues in Wi-Fi NFC tag code
An NPE + multiple comments

Change-Id: I04ffe10874cc2e9aa9f68bc551b8da98eb6f1640
2014-05-15 16:34:51 -07:00
Fabrice Di Meglio
eac9c273dc Merge "Code refactoring" 2014-05-15 22:58:16 +00:00
Fabrice Di Meglio
5160536df9 Code refactoring
- move ToggleSwitch to the widget package

Change-Id: Id277fc11c78363bf7d7b229ef9ae91c1ec5d6774
2014-05-15 15:55:33 -07:00
Fabrice Di Meglio
a7dc76f3ad Merge "Use SwitchBar for Daydream Settings - a better way" 2014-05-15 22:25:34 +00:00
Fabrice Di Meglio
c2e2f77739 Use SwitchBar for Daydream Settings - a better way
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: Ia8392f367ae956a2f805719971e0e1772f9234cd
2014-05-15 15:20:12 -07:00
Fabrice Di Meglio
7334cc84b6 Merge "Use SwitchBar for Daydream Settings" 2014-05-15 22:14:25 +00:00
Fabrice Di Meglio
c32b0eff71 Use SwitchBar for Daydream Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I89d1c6a5b74a8916d579f73e7b716ec7d41ed2d4
2014-05-15 15:11:43 -07:00
Fabrice Di Meglio
9c7809eeb8 Merge "Use SwitchBar for Android Beam Settings" 2014-05-15 22:02:57 +00:00
Fabrice Di Meglio
072d98aba6 Use SwitchBar for Android Beam Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I2e3ffb34a589b32deda9de19107f38041aa341c9
2014-05-15 15:00:19 -07:00
Fabrice Di Meglio
b96b98afc1 Merge "Code cleaning" 2014-05-15 21:34:33 +00:00
Fabrice Di Meglio
1303dbd52a Code cleaning
- remove obsolete imports

Change-Id: I6878498047ced7fd6405b84b76bc808ee5ff49fc
2014-05-15 14:32:32 -07:00
Paul Lawrence
d612cc3b1f Add tablet pattern layout to avoid outsize patterns
Change-Id: I802b977e7fb3fb2922085ef5161c35a19645e7b5
2014-05-15 13:00:23 -07:00
Paul Lawrence
49f7a8589f Fix landscape mode for pattern decrypt dialog
Change-Id: I7b6a62ab962a463da555b0b4e1c6df312a1f311e
2014-05-15 10:38:18 -07:00
Baligh Uddin
667848b8cb Merge "Import translations. DO NOT MERGE" 2014-05-15 14:28:03 +00:00
The Android Automerger
daf9851a53 merge in master-release history after reset to f02db01ba6 2014-05-15 05:51:17 -07:00
Fabrice Di Meglio
f02db01ba6 Use SwitchBar for Development Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I2db49f9d982e4d759f7eeb3623c95cbe53a5ff53
2014-05-14 20:14:27 -07:00
Fabrice Di Meglio
3041003503 Use SwitchBar for Location Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: Ic46768d97fef3abbec3f46f90037d366c123a6e8
2014-05-14 20:03:00 -07:00