Commit Graph

13767 Commits

Author SHA1 Message Date
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
Fabrice Di Meglio
0869526b81 Fix bug #14903618 Developer Options - string changes needed to the Bug report checkbox
- string update as follow:

LABEL

Current string:
- "Power menu bug reports"

Change to:
- "Bug report shortcut"

SECONDARY TEXT

Current string:
- "Include option in power menu for taking a bug report"

Change to:
- "Show a button in Quick Settings for taking a bug report"

Change-Id: Ibc716e1ae0bc3d553601908efd81babd66051d8b
2014-05-14 18:51:03 -07:00
Fabrice Di Meglio
3b0fd78be7 Code cleaning
- remove obsolete temporary icon background color as we are getting now the
new Quantum Theme assets

Change-Id: I178db7e6223c9cb77453d2589073c61d4dc87f36
2014-05-14 18:32:32 -07:00
Fabrice Di Meglio
f40852046b First batch of new Quantum Theme assets
- needed for Quantum Theme support

Change-Id: I90e8fdbb86a3cc5d5c209d4d345f6d423b2a1d5d
2014-05-14 18:04:53 -07:00
Fabrice Di Meglio
cf37cb6bbc Use SwitchBar for Bluetooth Settings
- follow up CL to 4193776698

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

Change-Id: Ic04de39599c91388cba8510bfd46d96e7bc30260
2014-05-14 17:05:48 -07:00
Fabrice Di Meglio
4193776698 Introduce SwitchBar widget
- SwitchBar is a LinearLayout that containts a TextView and a Switch and
is intended to replace all Switches that are put in the ActionBar as a
custom view
- use the new SwitchBar for WifiSetting only for now (a later CL will
take care of all the other Setting that are using a Switch in the
ActionBar)

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

Change-Id: I5e98dbe995bba8f440d08459e09ca3ac09d3464b
2014-05-14 16:42:06 -07:00
Baligh Uddin
25193d1582 Import translations. DO NOT MERGE
Change-Id: I7666e2324520c8d22cc67c764838855406a0c2a3
Auto-generated-cl: translation import
2014-05-14 16:25:08 -07:00
Maurice Lam
3d02da4d1c [WifiSettings] Fix NullPointerException during setup
The wifi setup activity that setup wizard uses does not have an
action bar.

bug: 14930301
Change-Id: I14f276c1932cb725bffd765faafc0edf6f1d54f6
2014-05-14 15:15:45 -07:00
Maurice Lam
a1ebae6f71 [WifiSettings] Fix NullPointerException during setup
The wifi setup activity that setup wizard uses does not have an
action bar.

bug: 14930301
Change-Id: I14f276c1932cb725bffd765faafc0edf6f1d54f6
2014-05-14 10:18:55 -07:00
Adrian Roos
1975349c11 Merge "A better auto brightness" 2014-05-14 15:28:37 +00:00
Paul Lawrence
a2ebc3f499 Merge "Make pattern visible at decryption time" 2014-05-14 14:23:31 +00:00
The Android Automerger
13127c6c87 merge in master-release history after reset to 5659e6deed 2014-05-14 05:51:26 -07:00
Adrian Roos
244e8ce7ab A better auto brightness
Bug: 14927472
Change-Id: I122e1218dd0072c979a59bdafd3e0b6f4eec99ab
2014-05-14 14:03:35 +02:00
Fabrice Di Meglio
5659e6deed Merge "Make more room in the ActionBar" 2014-05-13 21:44:00 +00:00