Commit Graph

14508 Commits

Author SHA1 Message Date
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
Fabrice Di Meglio
35062d6983 Make more room in the ActionBar
See bug #14898161

- allow Search Option Menu only on the Dashboard (and no more
in the Settings screens)
- push the "Start Now" Day Dream Option Menu to be a real Menu
so that we can see the "Day Dream" title

Change-Id: I4a7c21fb3599ada8efc82bd5bd8c9f5049937ceb
2014-05-13 14:39:41 -07:00
Paul Lawrence
3873a193d5 Make pattern visible at decryption time
Set background to gray to enable this. Probably not the idea final
look, but at least gets the feature usable.

@bug 14883421

Change-Id: Ie599b969d5da8bc21c81c4b974263554697922a6
2014-05-13 13:47:53 -07:00
Fabrice Di Meglio
badcfaa529 Merge "Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS" 2014-05-13 20:16:11 +00:00
Fabrice Di Meglio
15826d4ea1 Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS
- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)

Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
2014-05-13 13:10:34 -07:00
Fabrice Di Meglio
2163c7e5c4 Merge "Code cleaning: remove all remaining references to the old Header class" 2014-05-13 19:55:03 +00:00
Fabrice Di Meglio
e9326d2761 Code cleaning: remove all remaining references to the old Header class
- goodbye Header(s) !

Change-Id: Ied27f1f01dbed9c51cc74d28800d9ca7cab47d5a
2014-05-13 12:49:14 -07:00
Fabrice Di Meglio
93abe0a11f Merge "Remove Print Settings if the device if not supporting Printing" 2014-05-13 18:29:52 +00:00
Fabrice Di Meglio
488cae39da Remove Print Settings if the device if not supporting Printing
- remove the Print tile if the device does not have support for
Printing

Change-Id: Ia484eac6202324ed2b92c1c2f6162ed867b2619d
2014-05-13 11:26:34 -07:00
Baligh Uddin
6c341ca0b2 Merge "Import translations. DO NOT MERGE" 2014-05-13 15:48:41 +00:00