Commit Graph

14540 Commits

Author SHA1 Message Date
Fabrice Di Meglio
6d9a59f02d Merge "Fix bug #16660819 Switchbar text should be white not grey" into lmp-dev 2014-07-25 23:01:28 +00:00
Fabrice Di Meglio
6911f9cf63 Fix bug #16660819 Switchbar text should be white not grey
- use "?android:attr/textColorPrimary" so that we are white
and matching the color of the Activity Title

Change-Id: I18bc47d2080fcc171b86e5b56bfc86bbe8637caa
2014-07-29 16:54:44 -07:00
Fabrice Di Meglio
4a70996465 Make Battery History chart non selectable
- ... because it should not be selectable

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

Change-Id: I625d1533991623f5c3897be15ccfa48fd0fc02f8
2014-07-29 16:29:00 -07:00
Fabrice Di Meglio
2153ef3858 Fix bug #16623129 Stability: Settings: NPE in RunningProcessesView...
startServiceDetailsActivity(RunningProcessesView.java:394)

- make the ListView header non selectable

Change-Id: Ic5e888a7d1d3d1df1bcb59f3027e4385d46ba5ca
2014-07-29 16:15:27 -07:00
Fabrice Di Meglio
7c435f6b44 Fix bug #16660405 Stability: ISE in Settings: Observer ...
com.android.settings.SettingsPreferenceFragment$1@3c1d9ecb was not registered

- use a monitor to control registering / unregistering

Change-Id: Id66dd698abf92643c97938e2091c3be38e6b78bd
2014-07-29 16:02:22 -07:00
Amith Yamasani
ba9643b92c Merge "Implement SET_PROFILE_OWNER intent" into lmp-dev 2014-07-25 21:16:23 +00:00
Fabrice Di Meglio
9ee4002288 Merge "Make Battery History chart non selectable" into lmp-dev 2014-07-29 21:36:00 +00:00
Amith Yamasani
b8e0f608cf Implement SET_PROFILE_OWNER intent
This will be shown when a system priv-app tries to add a profile owner
to a device that's already been through setupwizard.

Refactored the Add Device Admin dialog to also be used for this
purpose with additional warning text.

Also, make sure that profile owners cannot be deactivated.

Bug: 16207721
Change-Id: I25499a22718b2219a5a56b158ca2681243751549
2014-07-29 13:50:40 -07:00
Svetoslav
01daaca547 Remove unnecessary code.
Change-Id: I4a81cd7f855bb075ab71f6c6c812288e3677c90a
2014-07-29 13:16:12 -07:00
Fabrice Di Meglio
db7d2d16b1 Merge "Fix bug #16623129 Stability: Settings: NPE in RunningProcessesView... startServiceDetailsActivity(RunningProcessesView.java:394)" into lmp-dev 2014-07-25 21:16:23 +00:00
Fabrice Di Meglio
76307f52d0 Merge "Fix bug #16660405 Stability: ISE in Settings: Observer ... com.android.settings.SettingsPreferenceFragment$1@3c1d9ecb was not registered" into lmp-dev 2014-07-29 21:36:00 +00:00
Fabrice Di Meglio
d5ec63ad51 Merge "Fix bug #16382239 "Searching for Printers" progress bar is not Material / Quantum" into lmp-dev 2014-07-24 15:36:21 +00:00
Jay Civelli
09b5228ae5 New activity that asks users to confirm their pattern. DO NOT MERGE
Adds an activity that prompts the user for their PIN/password/pattern.

cherry-pick from master b88e8577b9

Bug 16242766

Change-Id: I3468215a8ac522a06de6573c93a5f5a6dc72ee2d
2014-07-29 09:38:38 -07:00
Fabrice Di Meglio
58063037f2 Fix bug #16382239 "Searching for Printers" progress bar is not Material / Quantum
- remove this hard coded theme

Change-Id: I003dc2e1d173a3555fab940874ca5ceee0b058d7
2014-07-28 19:32:13 -07:00
Fabrice Di Meglio
402c4515db Fix bug #16384201 Security > "Device administrators" layout is wrong on N10 (tablet UI)
- add correct padding

Change-Id: I08a34839f94e899469b429dd83e301c5418155f5
2014-07-28 18:55:29 -07:00
Fabrice Di Meglio
0f4a779214 Fix App Info padding
- need to add to the previous defined on instead of replacing it
- verified also that Notification Station padding is ok too

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

Change-Id: I06394bec2a5baa548f34f3fe7ec19d60172a98e8
2014-07-28 18:25:14 -07:00
Fabrice Di Meglio
9e041f02ec Some code formatting
- add some extra lines into those XML layout files

Change-Id: I13c004f23a5c59d46702a93b1cfa7e9b9587b8c2
2014-07-28 17:54:30 -07:00
Fabrice Di Meglio
1d5b910f1c Fix bug #14323097 Launching Security from Settings search results
...show header as Settings instead of Security

- add missing title to a few fragments

Change-Id: I74fb95ca58269ff1c77afa20ed40e7042873130c
2014-07-28 15:47:21 -07:00
Fabrice Di Meglio
2ec78636f7 Implement #15841213 Search - index Developer Option only and only if they have been activated
- do not index Developer Options if they are not activated
- index them just after their activation

Change-Id: I54fcc6b55a1f29eb6b19d6e14e3158d4a38a6fe6
2014-07-25 16:28:53 -07:00
Fabrice Di Meglio
b7bd72f297 Fix bug #16533532 Settings app crashes on device orientation change
...when "change language" warning dialog is on screen

- try harder at getting the parent fragment. First try by calling
getParentFragment() and if this is getting a null reference, try
again by using the fragment Id saved during onSaveInstanceState()

Change-Id: I3dbc6a229224c8770ff2c7e432e76b8796c4b099
2014-07-25 13:03:09 -07:00
Fabrice Di Meglio
9a60d7b569 Enforce the presence of the Indexable interface for Indexing
- check that the Indexable interface has been defined before indexing

Change-Id: Ia61915b2bd1240226ba560ecfd883a115b49da95
2014-07-24 19:53:47 -07:00
Fabrice Di Meglio
1bf89b742d Fix Preferences background color
- use #FFFAFAFA instead of pure white

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

Change-Id: I287eda45950f8c537b7b96df7a2cf996e6e465b4
2014-07-24 17:03:04 -07:00
Fabrice Di Meglio
e20e169bbe More fixes for QuickLaunchSettings
- use DialogWhenLarge on tabletUI
- update layouts for following Material theme

Change-Id: If7aa153168eae9d2e72c50e4ae38bcd2fa6bb4bd
2014-07-24 15:46:35 -07:00
Fabrice Di Meglio
e3ff4d8e92 Fix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_SETTINGS
- make it work again (what a code...)

Change-Id: Ic71d8e40ff8a5e0c663fd40655e4f4cc31bc8caf
2014-07-24 14:07:02 -07:00
PauloftheWest
958d1ee6d5 Merge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev 2014-07-24 15:36:14 +00:00
PauloftheWest
63a1affdae Fixed an illustrious NullPointer bug on Wifi Assistant
+ The class was never instantiated...

Bug: 16543506
Change-Id: I00882df31ee986116b8fa28a54796bb3b20f2e2b
2014-07-24 11:45:22 -07:00
Alexandra Gherghina
4a45be2ff8 Merge "Move global sync settings dialogs to the right screen" into lmp-dev 2014-07-24 15:35:58 +00:00
Alexandra Gherghina
9017d3fdd6 Update the resource name to the new ic_corp prefix one.
Bug: 16369104
Change-Id: I0cd2188b0ac1806487678c568db068995a1e9142
2014-07-29 15:22:17 +00:00
Alexandra Gherghina
5ceddfaaf5 Move global sync settings dialogs to the right screen
Bug: 16076571
Change-Id: I4ba01ece6e5054d699342ff2c1270fc2fc51c5a9
2014-07-29 16:19:26 +01:00
Alexandra Gherghina
a6145a656a Toggle between primary and managed profile in App notif settings
This adds a spinner to the app notifications screen which can be used to toggle
between the Settings app in the primary and managed profile so that the user
can edit settings belonging to both profiles.

Bug: 16369104
Change-Id: I31c2fb4c0bc318fb8fa5c152621a29fd0c4bb403
2014-07-29 14:08:24 +01:00
Zoltan Szatmary-Ban
0598e6f684 Merge "Fix refresh issue of badged icons in Battery Settings" into lmp-dev 2014-07-24 15:35:58 +00:00
Zoltan Szatmary-Ban
74f34e496f Merge "Update Data Usage Settings for Enterprise" into lmp-dev 2014-07-24 15:36:04 +00:00
Alexandra Gherghina
11b8bda93c Refactors listening logic in AccountSettings
This is required to make sure that we do not leak broadcast receivers.
No user-visible changes are present.

Bug: 15466880
Change-Id: I90fcf9f8281a786948d862f48a3d7e7ac2bbe6ba
2014-07-29 11:19:15 +01:00
Zoltan Szatmary-Ban
0924f199e5 Update Data Usage Settings for Enterprise
Applications of the managed profile are shown
with badged icon on the "Data Usage" app list.
A total of managed profile data usage (if any)
is displayed top of the list.

Bug: 15466834
Change-Id: I80cdcc062e45e1d2a8077f033562d71217e262bb
2014-07-29 11:10:45 +01:00
Alexandra Gherghina
fe47a8dc89 Toggle between primary and managed profile in Print Settings
This adds a spinner to the print settings screen which can be used to toggle
between the Settings app in the primary and managed profile so that the user
can edit settings belonging to both profiles.

Bug: 16369104
Change-Id: I2556a331d09379c2a501bc6b192ab1631b5215f5
2014-07-29 10:22:15 +01:00
John Spurlock
b8ec343464 Settings: Carve out app-level notifcation settings dialog.
Bug:16208321
Change-Id: I46574618518e8fe4cbef70e80204cc7bb7cb76e9
2014-07-28 22:10:46 -04:00
Fabrice Di Meglio
3a166613be Merge "Fix bug #16384201 Security > "Device administrators" layout is wrong on N10 (tablet UI)" into lmp-dev 2014-07-28 22:45:16 +00:00
Fabrice Di Meglio
54bac5f2c6 Merge "Fix App Info padding" into lmp-dev 2014-07-25 21:16:23 +00:00
Fabrice Di Meglio
173e31619a Merge "Some code formatting" into lmp-dev 2014-07-28 22:45:16 +00:00
Maurice Lam
569aec7b4d [WifiSetup] Fix auto-finish suppression logic
The flag needs to be saved into the instance state, and the flag is
set as soon as auto-finish occurs to avoid multi-launching the next
activity.

Bug: 16561238
Change-Id: I954b7ff77b2d2fc35684ea59cca7d7cd588a6aab
2014-07-29 00:07:38 +00:00
Alan Viverette
744c6b2251 Remove TimePicker and DatePicker dialog themes
Also moves TimePicker widget style to appropriate XML file / namespace.

BUG: 14973897
Change-Id: I0eb68a59d8f2800d37cc949c948689d47c34486f
2014-07-29 00:06:20 +00:00
Baligh Uddin
c4108655e1 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-27 22:35:46 +00:00
Fabrice Di Meglio
d197608e83 Merge "Fix bug #14323097 Launching Security from Settings search results ...show header as Settings instead of Security" into lmp-dev 2014-07-28 22:45:16 +00:00
Jeff Davidson
6207391ac2 Fix strings for Wi-Fi Assistant dialog.
Remove some redundant strings that are no longer needed.

Change-Id: I039839989358efa322bac13129d91f7c764fd387
2014-07-28 13:35:41 -07:00
Baligh Uddin
8f7b82bec8 Import translations. DO NOT MERGE
Change-Id: I9653e86e7b7264646b35675fd40f6d582dc09d58
Auto-generated-cl: translation import
2014-07-28 13:01:38 -07:00
PauloftheWest
346529021d Merge "Removed Wi-Fi icon from Saved Networks." into lmp-dev 2014-07-27 22:35:46 +00:00
PauloftheWest
da15804df0 Removed Wi-Fi icon from Saved Networks.
Bug: 16569017
Change-Id: I13b7e0ae2a364d2660c8bfa42ebdf0b2cf3ab407
2014-07-28 12:55:45 -07:00
PauloftheWest
0f8e031a34 Fixed a bug where Wi-Fi would should networks out of range.
Bug: 16569017
Change-Id: Ie2d094aed2fcb1b2471ae1105b6782105e6be5ce
2014-07-28 12:23:18 -07:00
Alexandra Gherghina
95b86a5488 Refactoring useless UserUtils class
Bug: 16542609
Change-Id: Iadb83c5e378cd342ea89d6e224ddc45e6f940c8b
2014-07-28 07:40:48 +00:00
PauloftheWest
68af317321 Merge "Fixed a bug where Wi-Fi would should networks out of range." into lmp-dev 2014-07-27 22:35:46 +00:00