Commit Graph

14563 Commits

Author SHA1 Message Date
Amith Yamasani
9980cf7c99 Merge "Dialog on phone shouldn't say tablet" into lmp-dev 2014-07-30 11:24:38 +00:00
Amith Yamasani
9bfdeab948 Dialog on phone shouldn't say tablet
Bug: 14607100
Change-Id: I5c3e023b94697f58c61122d530abaed406862201
2014-07-31 13:29:42 -07:00
Adam Lesinski
366e7a20c4 Fix UsageStats permissions in Settings
AppOpsManager returns all permission for all users. We need
to check that the permission we're getting is actually for
our user.

Change-Id: I8287d2dc1959d4a22c19ebb2d24136324e04cd2b
2014-07-31 19:12:09 +00:00
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
PauloftheWest
d94e78b4b2 Merge "Fixed crash when changing orientation in the Add Networks dialog." into lmp-dev 2014-07-30 19:31:16 +00:00
PauloftheWest
fd19aff782 Fixed crash when changing orientation in the Add Networks dialog.
Bug: 16479540
Change-Id: Ib42977b72039f49b5d5ae688c0b0ded1094b44e2
2014-07-30 15:16:38 -07:00
Geoff Mendal
86bf735aae Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-30 19:31:16 +00:00
Geoff Mendal
a7a08fd726 Import translations. DO NOT MERGE
Change-Id: I1b93e4357544ff5ce9bf18351ed34009ba06c5f5
Auto-generated-cl: translation import
2014-07-30 18:31:14 -07:00
Alexandra Gherghina
c8a1db1912 Toggle between primary and managed profile in apps settings
This adds a spinner to the apps 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: I09a94c07597e6509de025dfbbe0e454ae3d9b0aa
2014-07-30 09:15:38 +00:00
Fabrice Di Meglio
5c14856ba2 Merge "Fix bug #16306535 The arrows rotate in the opposite direction... of the direction implied by the iconography (clockwise)" into lmp-dev 2014-07-25 23:01:28 +00:00
Fabrice Di Meglio
fb49019855 Fix bug #16306535 The arrows rotate in the opposite direction...
of the direction implied by the iconography (clockwise)

- update assets with correct direction

Change-Id: I56ff28cd2207577726b5136191317fae325c1bed
2014-07-29 17:08:41 -07: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
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
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