OSDN Git Service

android-x86/packages-apps-Settings.git
10 years agoMerge "Move IP config from WifiConfiguration to IpConfiguration."
Lorenzo Colitti [Tue, 20 May 2014 23:15:55 +0000 (23:15 +0000)]
Merge "Move IP config from WifiConfiguration to IpConfiguration."

10 years agoThird batch of new Quantum Theme assets
Fabrice Di Meglio [Tue, 20 May 2014 22:50:26 +0000 (15:50 -0700)]
Third batch of new Quantum Theme assets

- needed for Quantum Theme support
- some RTL assets have been removed as the LTR ones are now symetrical

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

Change-Id: I3456278979b00360d3f26bcc691522b627b7dbfe

10 years agoOptimize categories loading and refresh
Fabrice Di Meglio [Tue, 20 May 2014 22:19:29 +0000 (15:19 -0700)]
Optimize categories loading and refresh

See bug: #15091992 Opening sub activities in settings is very slow

Change-Id: I6e2e7a07fed72f35850da0614adaafde94618a4e

10 years agoFix bug #15001610 Java crash in settings is observed while adding Google account...
Fabrice Di Meglio [Tue, 20 May 2014 19:55:15 +0000 (12:55 -0700)]
Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device

- update Settings main layout to be able to show the Buttons
- make WifiPickerActivity a SettingsActivity and remove dead code
- fix reference to Buttons for using the Settings IDs instead
of the Framework ones

Change-Id: I23bfd1b8290fc007e6e80aa9a6297e55e7f6004e

10 years agoMove IP config from WifiConfiguration to IpConfiguration.
Lorenzo Colitti [Fri, 16 May 2014 08:55:14 +0000 (01:55 -0700)]
Move IP config from WifiConfiguration to IpConfiguration.

Change-Id: I5d1189682b13f1088848809604690648d8d9ecca

10 years agoFix bug #15109661 Settings crash after tap on back key from print settings
Fabrice Di Meglio [Tue, 20 May 2014 19:26:16 +0000 (12:26 -0700)]
Fix bug #15109661 Settings crash after tap on back key from print settings

- use onResume() / onPause() for adding / removing the SwitchChangeListener

Change-Id: Ia3a4ff57075d2668e446df4f4f09e4593cc34761

10 years agoFix WPS dialog reset while device orientation change
Vinit Deshpande [Tue, 20 May 2014 01:38:58 +0000 (18:38 -0700)]
Fix WPS dialog reset while device orientation change

Fixed WPS dialog reset to default upon device
orientation change by restoring instance state

cherry-picked from partner:klp-wireless-dev
SHA1 a85fb02ba1357cde3017e5e0705d3792332bf999

Bug: 13231785

Change-Id: Ic63b14da9d0d9856150214bfc194f6dfcb431087

10 years agoFix potential NPE with ActionBar and SwitchBar references
Fabrice Di Meglio [Tue, 20 May 2014 17:49:50 +0000 (10:49 -0700)]
Fix potential NPE with ActionBar and SwitchBar references

- in some rare cases (SetupWizard and select WiFi during account
creation) there is no ActionBar nor SwitchBar. Prevent any NPE
coming from them.

Change-Id: If52b9cdee8730c90c5da3067a1a35ebdd0255470

10 years agoUpdate Dashboard font sizes to match UX spec
Fabrice Di Meglio [Tue, 20 May 2014 17:10:36 +0000 (10:10 -0700)]
Update Dashboard font sizes to match UX spec

- 16sp for title (medium text)
- 14sp for sub-title (small text)
- 14sp for category title

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

Change-Id: I04eb99b4df1ffcb60bb906ed3e1ea588e886dba4

10 years agoMerge "Fix bug #15080198 Enabling developer options requires restart of settings...
Fabrice Di Meglio [Tue, 20 May 2014 16:36:04 +0000 (16:36 +0000)]
Merge "Fix bug #15080198 Enabling developer options requires restart of settings to enter"

10 years agoFix bug #15080198 Enabling developer options requires restart of settings to enter
Fabrice Di Meglio [Tue, 20 May 2014 02:51:31 +0000 (19:51 -0700)]
Fix bug #15080198 Enabling developer options requires restart of settings to enter

- fix Dashboard categories refresh issue

Change-Id: I5bb7fc4a1410df8f5c2d2d13f7625a1ccc8893c3

10 years agoMerge "Fix bug #15086008 NPE observed after user setup device daydream followed by...
Fabrice Di Meglio [Tue, 20 May 2014 00:32:37 +0000 (00:32 +0000)]
Merge "Fix bug #15086008 NPE observed after user setup device daydream followed by device orientation"

10 years agoFix bug #15086008 NPE observed after user setup device daydream followed by device...
Fabrice Di Meglio [Tue, 20 May 2014 00:30:23 +0000 (17:30 -0700)]
Fix bug #15086008 NPE observed after user setup device daydream followed by device orientation

- get the Switch reference when the fragment activity has been created
and thus into onActivityCreated(Bundle)

Change-Id: I16c8e42ff225db029d017c392f4273a1fe277a21

10 years agoMerge "Update Search results layout"
Fabrice Di Meglio [Mon, 19 May 2014 23:56:39 +0000 (23:56 +0000)]
Merge "Update Search results layout"

10 years agoUpdate Search results layout
Fabrice Di Meglio [Mon, 19 May 2014 22:48:42 +0000 (15:48 -0700)]
Update Search results layout

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

Change-Id: If3174fee563ef204eb939576e4c7ef4d986735e3

10 years agoMerge "TouchFeedbackDrawable is now RippleDrawable"
Alan Viverette [Mon, 19 May 2014 23:51:38 +0000 (23:51 +0000)]
Merge "TouchFeedbackDrawable is now RippleDrawable"

10 years agoMerge "Update Dashboard padding"
Fabrice Di Meglio [Mon, 19 May 2014 22:12:31 +0000 (22:12 +0000)]
Merge "Update Dashboard padding"

10 years agoUpdate Dashboard padding
Fabrice Di Meglio [Mon, 19 May 2014 22:11:24 +0000 (15:11 -0700)]
Update Dashboard padding

- make it the same as the one used for PreferenceFragments

Change-Id: I9575f0fef4492d76afb25b10af201839709517e9

10 years agoTouchFeedbackDrawable is now RippleDrawable
Alan Viverette [Mon, 19 May 2014 22:10:36 +0000 (15:10 -0700)]
TouchFeedbackDrawable is now RippleDrawable

Change-Id: Id025b58e9b62baa8d07f13b7eae2de61a3e4c90a

10 years agoMerge "Fix icon padding in app notification settings."
John Spurlock [Mon, 19 May 2014 21:14:03 +0000 (21:14 +0000)]
Merge "Fix icon padding in app notification settings."

10 years agoClean up search metadata for notification pages.
John Spurlock [Mon, 19 May 2014 12:51:26 +0000 (08:51 -0400)]
Clean up search metadata for notification pages.

Remove custom providers for screens added purely via xml.
Add data keys for those that remain.

Change-Id: I28172a1937e40e853f929f3332e3640e63b65141

10 years agoFix icon padding in app notification settings.
John Spurlock [Mon, 19 May 2014 19:21:19 +0000 (15:21 -0400)]
Fix icon padding in app notification settings.

Change-Id: I93da362f0bd6b3f388864a961c2365163c44e474

10 years agoMerge "Improve power fail/reset"
Paul Lawrence [Mon, 19 May 2014 14:22:45 +0000 (14:22 +0000)]
Merge "Improve power fail/reset"

10 years agoMerge "Fixing decryption messaging"
Paul Lawrence [Mon, 19 May 2014 14:22:26 +0000 (14:22 +0000)]
Merge "Fixing decryption messaging"

10 years agoVolumeZen: Sound & Notifications settings.
John Spurlock [Fri, 16 May 2014 19:50:13 +0000 (15:50 -0400)]
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

10 years agoAdd padding at the end of the Dashboard list
Fabrice Di Meglio [Sat, 17 May 2014 01:59:14 +0000 (18:59 -0700)]
Add padding at the end of the Dashboard list

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

Change-Id: I3aa01a346933eb9269d2466c07b6b5ebd6fc3cc1

10 years agoFix categories title text
Fabrice Di Meglio [Sat, 17 May 2014 00:50:45 +0000 (17:50 -0700)]
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

10 years agoMerge "Revert "Fix bug #15001610 Java crash in settings is observed while adding...
Fabrice Di Meglio [Sat, 17 May 2014 00:02:32 +0000 (00:02 +0000)]
Merge "Revert "Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device""

10 years agoRevert "Fix bug #15001610 Java crash in settings is observed while adding Google...
Fabrice Di Meglio [Sat, 17 May 2014 00:01:07 +0000 (00:01 +0000)]
Revert "Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device"

This reverts commit 18d271c73b17c9eb5570689247415a1d70583894.

Change-Id: I04f89dbb13ad1db92276c91a7ee63d3a5dd33e62

10 years agoMerge "Improve the Dashboard layout"
Fabrice Di Meglio [Fri, 16 May 2014 23:16:35 +0000 (23:16 +0000)]
Merge "Improve the Dashboard layout"

10 years agoImprove the Dashboard layout
Fabrice Di Meglio [Fri, 16 May 2014 23:13:40 +0000 (16:13 -0700)]
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

10 years agoMerge "Fix bug #15020874 SwitchBar needs to comply to Quantum Theme spec"
Fabrice Di Meglio [Fri, 16 May 2014 22:14:33 +0000 (22:14 +0000)]
Merge "Fix bug #15020874 SwitchBar needs to comply to Quantum Theme spec"

10 years agoFix bug #15020874 SwitchBar needs to comply to Quantum Theme spec
Fabrice Di Meglio [Fri, 16 May 2014 22:13:01 +0000 (15:13 -0700)]
Fix bug #15020874 SwitchBar needs to comply to Quantum Theme spec

- put the On/Off text in non all caps

Change-Id: I68d0a6f08b45819bfa5181fb86d1ea5de40079f6

10 years agoMerge "Improve Theming"
Fabrice Di Meglio [Fri, 16 May 2014 20:28:38 +0000 (20:28 +0000)]
Merge "Improve Theming"

10 years agoImprove Theming
Fabrice Di Meglio [Fri, 16 May 2014 20:18:38 +0000 (13:18 -0700)]
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

10 years agoMerge "Code cleaning"
Fabrice Di Meglio [Fri, 16 May 2014 20:18:21 +0000 (20:18 +0000)]
Merge "Code cleaning"

10 years agoCode cleaning
Fabrice Di Meglio [Fri, 16 May 2014 20:17:13 +0000 (13:17 -0700)]
Code cleaning

- remove unused import

Change-Id: Ie2ddec2164925e2f6fe3b2d8137fa7fce8b71d1d

10 years agoMerge "HCE foreground support."
Martijn Coenen [Fri, 16 May 2014 19:56:26 +0000 (19:56 +0000)]
Merge "HCE foreground support."

10 years agoMerge "Use NotificationListenerService instead of raw INotificationListener."
Chris Wren [Fri, 16 May 2014 18:45:53 +0000 (18:45 +0000)]
Merge "Use NotificationListenerService instead of raw INotificationListener."

10 years agoImprove power fail/reset
Paul Lawrence [Fri, 16 May 2014 14:56:04 +0000 (07:56 -0700)]
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

10 years agoFix bug #15001610 Java crash in settings is observed while adding Google account...
Fabrice Di Meglio [Fri, 16 May 2014 18:00:13 +0000 (11:00 -0700)]
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

10 years agoFix bug #15016050 Stability: ISE in Settings: Cannot add twice the same OnSwitchChang...
Fabrice Di Meglio [Fri, 16 May 2014 17:32:29 +0000 (10:32 -0700)]
Fix bug #15016050 Stability: ISE in Settings: Cannot add twice the same OnSwitchChangeListener

- add/remove the OnSwitchChangeListener into onResume/onPause

Change-Id: Idb1ac3997a2dbc0ca387ed67bbbbcc1a431d8642

10 years agoFixing decryption messaging
Paul Lawrence [Thu, 15 May 2014 16:37:56 +0000 (09:37 -0700)]
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

10 years agoHCE foreground support.
Martijn Coenen [Fri, 25 Apr 2014 23:58:59 +0000 (16:58 -0700)]
HCE foreground support.

Allow users to configure they want to favor the foreground
app for tap&pay.
Change-Id: I25e1058e84f468e47fd40f43b65389c04373a3ab

10 years agoUse NotificationListenerService instead of raw INotificationListener.
Chris Wren [Wed, 14 May 2014 19:29:11 +0000 (15:29 -0400)]
Use NotificationListenerService instead of raw INotificationListener.

Bug: 14846846
Depends-On: Ic308b2f78c86393304d446c57fd677294e01717c
Change-Id: If1d38d6d82466c4a69249dc7d76a9cb215c81e8f

10 years agoApply revised TrustAgent API
Adrian Roos [Fri, 16 May 2014 12:51:03 +0000 (14:51 +0200)]
Apply revised TrustAgent API

Bug: 14997466
Change-Id: I3261d238bf5c6ba12eaa4259c7e06e8b41698213

10 years agoUse SwitchBar for DoNoDisturb Settings
Fabrice Di Meglio [Fri, 16 May 2014 03:15:27 +0000 (20:15 -0700)]
Use SwitchBar for DoNoDisturb Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: If1ce0eb147ade8485107ee948b0d03cf688bcf06

10 years agoUse SwitchBar for Print Settings
Fabrice Di Meglio [Fri, 16 May 2014 02:53:08 +0000 (19:53 -0700)]
Use SwitchBar for Print Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: Ife4990a52ef282563267dc0bff6d3a7f354b0bd0

10 years agoMerge "Fix bug 14990524 Add account does not refresh the list of accounts in the...
Fabrice Di Meglio [Fri, 16 May 2014 02:34:40 +0000 (02:34 +0000)]
Merge "Fix bug 14990524 Add account does not refresh the list of accounts in the Dashboard"

10 years agoFix bug 14990524 Add account does not refresh the list of accounts in the Dashboard
Fabrice Di Meglio [Fri, 16 May 2014 02:32:39 +0000 (19:32 -0700)]
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

10 years agoMerge "Second batch of new Quantum Theme assets"
Fabrice Di Meglio [Fri, 16 May 2014 01:16:34 +0000 (01:16 +0000)]
Merge "Second batch of new Quantum Theme assets"

10 years agoSecond batch of new Quantum Theme assets
Fabrice Di Meglio [Fri, 16 May 2014 01:13:53 +0000 (18:13 -0700)]
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

10 years agoMerge "Use SwitchBar for Accessibility Settings"
Fabrice Di Meglio [Fri, 16 May 2014 00:47:20 +0000 (00:47 +0000)]
Merge "Use SwitchBar for Accessibility Settings"

10 years agoUse SwitchBar for Accessibility Settings
Fabrice Di Meglio [Fri, 16 May 2014 00:34:14 +0000 (17:34 -0700)]
Use SwitchBar for Accessibility Settings

Deals with Talkback / Captions / Magnification Gestures

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: Ibda0ed05b399f1b2b4464c5b22a3e9fd3d378867

10 years agoMerge "Fix issues in Wi-Fi NFC tag code"
Andres Morales [Thu, 15 May 2014 23:42:40 +0000 (23:42 +0000)]
Merge "Fix issues in Wi-Fi NFC tag code"

10 years agoFix issues in Wi-Fi NFC tag code
Andres Morales [Thu, 15 May 2014 17:33:04 +0000 (10:33 -0700)]
Fix issues in Wi-Fi NFC tag code

An NPE + multiple comments

Change-Id: I04ffe10874cc2e9aa9f68bc551b8da98eb6f1640

10 years agoMerge "Code refactoring"
Fabrice Di Meglio [Thu, 15 May 2014 22:58:16 +0000 (22:58 +0000)]
Merge "Code refactoring"

10 years agoCode refactoring
Fabrice Di Meglio [Thu, 15 May 2014 22:55:33 +0000 (15:55 -0700)]
Code refactoring

- move ToggleSwitch to the widget package

Change-Id: Id277fc11c78363bf7d7b229ef9ae91c1ec5d6774

10 years agoMerge "Use SwitchBar for Daydream Settings - a better way"
Fabrice Di Meglio [Thu, 15 May 2014 22:25:33 +0000 (22:25 +0000)]
Merge "Use SwitchBar for Daydream Settings - a better way"

10 years agoUse SwitchBar for Daydream Settings - a better way
Fabrice Di Meglio [Thu, 15 May 2014 22:20:12 +0000 (15:20 -0700)]
Use SwitchBar for Daydream Settings - a better way

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: Ia8392f367ae956a2f805719971e0e1772f9234cd

10 years agoMerge "Use SwitchBar for Daydream Settings"
Fabrice Di Meglio [Thu, 15 May 2014 22:14:25 +0000 (22:14 +0000)]
Merge "Use SwitchBar for Daydream Settings"

10 years agoUse SwitchBar for Daydream Settings
Fabrice Di Meglio [Thu, 15 May 2014 22:11:43 +0000 (15:11 -0700)]
Use SwitchBar for Daydream Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: I89d1c6a5b74a8916d579f73e7b716ec7d41ed2d4

10 years agoMerge "Use SwitchBar for Android Beam Settings"
Fabrice Di Meglio [Thu, 15 May 2014 22:02:57 +0000 (22:02 +0000)]
Merge "Use SwitchBar for Android Beam Settings"

10 years agoUse SwitchBar for Android Beam Settings
Fabrice Di Meglio [Thu, 15 May 2014 22:00:19 +0000 (15:00 -0700)]
Use SwitchBar for Android Beam Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: I2e3ffb34a589b32deda9de19107f38041aa341c9

10 years agoMerge "Code cleaning"
Fabrice Di Meglio [Thu, 15 May 2014 21:34:33 +0000 (21:34 +0000)]
Merge "Code cleaning"

10 years agoCode cleaning
Fabrice Di Meglio [Thu, 15 May 2014 21:32:32 +0000 (14:32 -0700)]
Code cleaning

- remove obsolete imports

Change-Id: I6878498047ced7fd6405b84b76bc808ee5ff49fc

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 15 May 2014 14:28:02 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoUse SwitchBar for Development Settings
Fabrice Di Meglio [Thu, 15 May 2014 03:14:27 +0000 (20:14 -0700)]
Use SwitchBar for Development Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: I2db49f9d982e4d759f7eeb3623c95cbe53a5ff53

10 years agoUse SwitchBar for Location Settings
Fabrice Di Meglio [Thu, 15 May 2014 03:03:00 +0000 (20:03 -0700)]
Use SwitchBar for Location Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: Ic46768d97fef3abbec3f46f90037d366c123a6e8

10 years agoFix bug #14903618 Developer Options - string changes needed to the Bug report checkbox
Fabrice Di Meglio [Thu, 15 May 2014 01:51:03 +0000 (18:51 -0700)]
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

10 years agoCode cleaning
Fabrice Di Meglio [Thu, 15 May 2014 01:32:32 +0000 (18:32 -0700)]
Code cleaning

- remove obsolete temporary icon background color as we are getting now the
new Quantum Theme assets

Change-Id: I178db7e6223c9cb77453d2589073c61d4dc87f36

10 years agoFirst batch of new Quantum Theme assets
Fabrice Di Meglio [Thu, 15 May 2014 01:04:53 +0000 (18:04 -0700)]
First batch of new Quantum Theme assets

- needed for Quantum Theme support

Change-Id: I90e8fdbb86a3cc5d5c209d4d345f6d423b2a1d5d

10 years agoUse SwitchBar for Bluetooth Settings
Fabrice Di Meglio [Thu, 15 May 2014 00:01:38 +0000 (17:01 -0700)]
Use SwitchBar for Bluetooth Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

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

Change-Id: Ic04de39599c91388cba8510bfd46d96e7bc30260

10 years agoIntroduce SwitchBar widget
Fabrice Di Meglio [Wed, 14 May 2014 02:51:59 +0000 (19:51 -0700)]
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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 14 May 2014 23:25:08 +0000 (16:25 -0700)]
Import translations. DO NOT MERGE

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

10 years ago[WifiSettings] Fix NullPointerException during setup
Maurice Lam [Wed, 14 May 2014 17:18:55 +0000 (10:18 -0700)]
[WifiSettings] Fix NullPointerException during setup

The wifi setup activity that setup wizard uses does not have an
action bar.

bug: 14930301
Change-Id: I14f276c1932cb725bffd765faafc0edf6f1d54f6

10 years agoMerge "A better auto brightness"
Adrian Roos [Wed, 14 May 2014 15:28:36 +0000 (15:28 +0000)]
Merge "A better auto brightness"

10 years agoMerge "Make pattern visible at decryption time"
Paul Lawrence [Wed, 14 May 2014 14:23:30 +0000 (14:23 +0000)]
Merge "Make pattern visible at decryption time"

10 years agoA better auto brightness
Adrian Roos [Tue, 13 May 2014 15:00:46 +0000 (17:00 +0200)]
A better auto brightness

Bug: 14927472
Change-Id: I122e1218dd0072c979a59bdafd3e0b6f4eec99ab

10 years agoMerge "Make more room in the ActionBar"
Fabrice Di Meglio [Tue, 13 May 2014 21:44:00 +0000 (21:44 +0000)]
Merge "Make more room in the ActionBar"

10 years agoMake more room in the ActionBar
Fabrice Di Meglio [Tue, 13 May 2014 21:39:41 +0000 (14:39 -0700)]
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

10 years agoMake pattern visible at decryption time
Paul Lawrence [Tue, 13 May 2014 20:47:53 +0000 (13:47 -0700)]
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

10 years agoMerge "Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS"
Fabrice Di Meglio [Tue, 13 May 2014 20:16:11 +0000 (20:16 +0000)]
Merge "Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS"

10 years agoMode code cleaning: remove obsolete references to EXTRA_NO_HEADERS
Fabrice Di Meglio [Tue, 13 May 2014 20:10:34 +0000 (13:10 -0700)]
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

10 years agoMerge "Code cleaning: remove all remaining references to the old Header class"
Fabrice Di Meglio [Tue, 13 May 2014 19:55:02 +0000 (19:55 +0000)]
Merge "Code cleaning: remove all remaining references to the old Header class"

10 years agoCode cleaning: remove all remaining references to the old Header class
Fabrice Di Meglio [Tue, 13 May 2014 19:49:14 +0000 (12:49 -0700)]
Code cleaning: remove all remaining references to the old Header class

- goodbye Header(s) !

Change-Id: Ied27f1f01dbed9c51cc74d28800d9ca7cab47d5a

10 years agoMerge "Remove Print Settings if the device if not supporting Printing"
Fabrice Di Meglio [Tue, 13 May 2014 18:29:51 +0000 (18:29 +0000)]
Merge "Remove Print Settings if the device if not supporting Printing"

10 years agoRemove Print Settings if the device if not supporting Printing
Fabrice Di Meglio [Tue, 13 May 2014 18:26:34 +0000 (11:26 -0700)]
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

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Tue, 13 May 2014 15:48:41 +0000 (15:48 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Add explicit "use system language" TTS language."
Przemyslaw Szczepaniak [Tue, 13 May 2014 09:53:16 +0000 (09:53 +0000)]
Merge "Add explicit "use system language" TTS language."

10 years agoMerge "Fix bug #14323469 Settings crash on selecting keyword from recent searches...
Fabrice Di Meglio [Tue, 13 May 2014 02:39:12 +0000 (02:39 +0000)]
Merge "Fix bug #14323469 Settings crash on selecting keyword from recent searches ... after changing orientation"

10 years agoFix bug #14323469 Settings crash on selecting keyword from recent searches
Fabrice Di Meglio [Tue, 13 May 2014 01:54:32 +0000 (18:54 -0700)]
Fix bug #14323469 Settings crash on selecting keyword from recent searches
... after changing orientation

- set the SearchView for the SearchResultsFragment when the SearchView is
instantiated in the onCreateOptionsMenu(Menu)

- take care of the correct showing of the Recent Searched (suggestions)

Change-Id: Idfa17436d4a2436e0947ce1e1692355def3821a3

10 years agoMerge "Use Quantum Theme for the ActionBar"
Fabrice Di Meglio [Tue, 13 May 2014 01:52:13 +0000 (01:52 +0000)]
Merge "Use Quantum Theme for the ActionBar"

10 years agoUse Quantum Theme for the ActionBar
Fabrice Di Meglio [Tue, 13 May 2014 00:23:00 +0000 (17:23 -0700)]
Use Quantum Theme for the ActionBar

- define the correct colors for the ActionBar background and its
Switches

Change-Id: I25adae26b6804788f4cfb625630e138eadc20f5f

10 years agoMerge "Simplify accessibility display adjustments"
Alan Viverette [Mon, 12 May 2014 23:05:15 +0000 (23:05 +0000)]
Merge "Simplify accessibility display adjustments"

10 years agoSimplify accessibility display adjustments
Alan Viverette [Mon, 12 May 2014 22:13:54 +0000 (15:13 -0700)]
Simplify accessibility display adjustments

BUG: 14680114
Change-Id: Ifd66256f4a8301d4c159f62a4211a2fbaaa6111a

10 years agoMerge "port NotificationStation to new interface."
Chris Wren [Mon, 12 May 2014 20:53:24 +0000 (20:53 +0000)]
Merge "port NotificationStation to new interface."

10 years agoMerge "Allow restore instance before setValues() in ListDialogPreference"
Alan Viverette [Mon, 12 May 2014 19:34:53 +0000 (19:34 +0000)]
Merge "Allow restore instance before setValues() in ListDialogPreference"

10 years agoMerge "Don't allow restricted profile creation for corp/edu owned devices"
Amith Yamasani [Mon, 12 May 2014 19:33:15 +0000 (19:33 +0000)]
Merge "Don't allow restricted profile creation for corp/edu owned devices"

10 years agoAllow restore instance before setValues() in ListDialogPreference
Alan Viverette [Mon, 12 May 2014 19:30:43 +0000 (12:30 -0700)]
Allow restore instance before setValues() in ListDialogPreference

BUG: 14570831
Change-Id: I0fd24acab5221d1414f749ec18e70a72f36cc5e4