Commit Graph

15697 Commits

Author SHA1 Message Date
Alexandra Gherghina
80e1f1bfdb Extract common functionality for profile spinner into Utils
Bug: 16645615
Change-Id: Ic8928fff8294cd99eeb86b69b44b8e4128cadf92
2014-07-31 18:38:47 +00:00
Alexandra Gherghina
6bcca8b7ae Modify user spinner appearance to match mocks
Bug: 16518801
Change-Id: I30aa65251d4a4aaa80dbde5881fc56fffb7d54f7
2014-07-31 11:31:24 +01:00
Alexandra Gherghina
6b3b751492 Update icon and text for a managed profile
Bug: 16369104
Change-Id: I15d25910332d92e1638cdc63422e7e28c2f07d85
2014-07-31 10:24:16 +00:00
Julia Reynolds
a71d705650 Merge "Fix issue with pin prompt." into lmp-dev 2014-07-25 23:00:08 +00:00
Julia Reynolds
d6e493f649 Fix issue with pin prompt.
The PIN prompt would reappear if the pin screen had been rotated 90
degrees before a user hit cancel/ok.

Change-Id: Ia5f93aa7a857d46ba95775c85344fa9ff28a4a6b
2014-07-30 16:06:37 -04:00
Christoph Studer
fe1b8950bc Update NotificationStation after NotificationListenerService API change
Change-Id: Ia58c18657c44c0dd49b058ce5b581554889b08d5
2014-07-30 19:32:54 +00: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
Elliott Hughes
3ded7ddb1f Merge "Work around an icu4c bug in TimeZoneNames::getDisplayName." into lmp-dev 2014-07-24 15:36:21 +00:00
Elliott Hughes
c68ac55e9c Work around an icu4c bug in TimeZoneNames::getDisplayName.
Use America/Buenos_Aires instead of America/Argentina/Buenos_Aires
because the latter doesn't get a localized exemplar location in any
language.

Bug: 16516823
Change-Id: I708288cdc7f8ec7975c8418225abfdca2163ddc5
2014-07-30 11:18:00 -07:00
PauloftheWest
fc0c3b43df Merge "Set new PBAP connections to always allow." into lmp-dev 2014-07-30 16:17:51 +00:00
PauloftheWest
46c70190d6 Set new PBAP connections to always allow.
Bug: 13886947
Change-Id: I6ec612b803433db90992f5e4d1bac26311d90a84
2014-07-30 11:18:36 -07:00
PauloftheWest
361d870e54 Added ability for user to automatically accept/deny Bluetooth Phonebook Syncs
Bug: 16040292
Change-Id: Ieeaa014052f53787cf7057578e0b2ac048dc6eb1
2014-07-30 08:39:46 -07:00
John Spurlock
d117a96e00 Merge "Settings: Fix ordering for interruptions alarm warning." into lmp-dev 2014-07-29 22:44:51 +00:00
John Spurlock
8ef00dfe4b Settings: Fix ordering for interruptions alarm warning.
And update the string to the latest.

Bug:16662819
Change-Id: I42b38ab4721180babfd816a34a1fb1c368546cca
2014-07-30 12:33:04 -04: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
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