OSDN Git Service

android-x86/packages-apps-Settings.git
9 years agoMerge "Move over to CharSequence version of badging method." into lmp-dev
Kenny Guy [Thu, 7 Aug 2014 21:05:48 +0000 (21:05 +0000)]
Merge "Move over to CharSequence version of badging method." into lmp-dev

9 years agoMove over to CharSequence version of badging method.
Kenny Guy [Thu, 7 Aug 2014 21:01:22 +0000 (22:01 +0100)]
Move over to CharSequence version of badging method.

Bug: 16484455
Change-Id: Ie5ee010efc439219cb71fd4241fdb798a5f4ea12

9 years agoFix issue #16555033: Battery history overflowing too much
Dianne Hackborn [Thu, 7 Aug 2014 02:22:46 +0000 (19:22 -0700)]
Fix issue #16555033: Battery history overflowing too much

Use new mechanism to retrieve battery stats, now that they
can be much larger.

Make sure these will ever end up going through an IPC.

Change-Id: Ic582a61d736e24bddc905082c1565ece00fcbb29

9 years agoChanged a Bluetooth device's settings from an activity to a dialog.
PauloftheWest [Sun, 3 Aug 2014 22:17:45 +0000 (15:17 -0700)]
Changed a Bluetooth device's settings from an activity to a dialog.

+ Replace the “Paired bluetooth device” screen with a “Pair device” dialog
+ Add device name text field at the top
+ Replace “Unpair” list item with a “Forget" button at bottom of dialog
+ Change “Profiles” section header to “Use for”
+ Remove status under profile titles
+ Move checkboxes to left side of labels

Bug: 15719219
Change-Id: I3b0e8c82c761fae98f16508b9fd9c58aff651f80

9 years agoMerge "Don't wipe PST partition if OEM unlock is enabled" into lmp-dev
Andres Morales [Thu, 7 Aug 2014 17:33:58 +0000 (17:33 +0000)]
Merge "Don't wipe PST partition if OEM unlock is enabled" into lmp-dev

9 years agoDon't wipe PST partition if OEM unlock is enabled
Andres Morales [Thu, 7 Aug 2014 00:01:19 +0000 (17:01 -0700)]
Don't wipe PST partition if OEM unlock is enabled

This will be wiped by the recovery system and the OEM
unlock bit will be retained.

Bug: 16631974
Change-Id: I65522dd93c8465ff7f7ecbcef404bff6e9c864d6

9 years agoMerge "Prevent newlines and long captions selecting default payment app" into lmp-dev
Andres Morales [Thu, 7 Aug 2014 17:05:48 +0000 (17:05 +0000)]
Merge "Prevent newlines and long captions selecting default payment app" into lmp-dev

9 years agoPrevent newlines and long captions selecting default payment app
Andres Morales [Tue, 22 Jul 2014 18:04:21 +0000 (11:04 -0700)]
Prevent newlines and long captions selecting default payment app

This would allow attackers to spoof the default selection
dialog causing the user to unkowingly change their default
payment handler.

Bug: 15906632
Change-Id: I49ad2a7351bd6d2c1f9a79ad9be0cbc9787ca6c3

9 years agoMerge "Badge texts correctly for accessibility in Settings" into lmp-dev
Zoltan Szatmary-Ban [Thu, 7 Aug 2014 13:38:59 +0000 (13:38 +0000)]
Merge "Badge texts correctly for accessibility in Settings" into lmp-dev

9 years agoBadge texts correctly for accessibility in Settings
Zoltan Szatmary-Ban [Wed, 23 Jul 2014 10:02:46 +0000 (11:02 +0100)]
Badge texts correctly for accessibility in Settings

If an app is a managed profile's app then its label should read correctly by TalkBack.
Affected screens: Data Usage, Location, Battery.

Bug:16053981
Change-Id: I393c0ebf56917032d619b1e39b4bf141ee236981

9 years agoMerge "Fix removal of optional settings tiles" into lmp-dev
Amith Yamasani [Wed, 6 Aug 2014 23:16:27 +0000 (23:16 +0000)]
Merge "Fix removal of optional settings tiles" into lmp-dev

9 years agoFix removal of optional settings tiles
Amith Yamasani [Wed, 6 Aug 2014 22:48:10 +0000 (15:48 -0700)]
Fix removal of optional settings tiles

Bug: 16654819

Fix the way the tiles get removed so the index is not out of sync
and there's no double deletion of entries.

Change-Id: I18da6b633884f51418c11afb0e177b49ca085fd0

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Geoff Mendal [Wed, 6 Aug 2014 19:31:20 +0000 (19:31 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 6 Aug 2014 19:23:02 +0000 (12:23 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Fix bug #16800261 Settings app: Device administrator screen padding issue...
Fabrice Di Meglio [Wed, 6 Aug 2014 18:27:39 +0000 (18:27 +0000)]
Merge "Fix bug #16800261 Settings app: Device administrator screen padding issue" into lmp-dev

9 years agoFix bug #16800261 Settings app: Device administrator screen padding issue
Fabrice Di Meglio [Wed, 6 Aug 2014 18:25:39 +0000 (11:25 -0700)]
Fix bug #16800261 Settings app: Device administrator screen padding issue

- remove listPreferredItemPaddingStart / listPreferredItemPaddingEnd from
the ListView and add it to the list item
- add missing 8dp end padding for the icon

Change-Id: I78696e5ee8e243771d23c86fa178de2f60b5c88d

9 years agoMerge "Track moved Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS." into lmp-dev
Dan Sandler [Wed, 6 Aug 2014 18:01:19 +0000 (18:01 +0000)]
Merge "Track moved Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS." into lmp-dev

9 years agoTrack moved Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS.
Dan Sandler [Wed, 23 Jul 2014 03:15:17 +0000 (23:15 -0400)]
Track moved Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS.

Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5

9 years agoReplace missing resource.
Dan Sandler [Wed, 6 Aug 2014 17:53:16 +0000 (13:53 -0400)]
Replace missing resource.

Bug: 16833578
Change-Id: I9ad1dc992577f6bfdc9d1201b6c13591a32f3fc8

9 years agoMerge "Ask about redacted notifications after setting up a secure lock" into lmp-dev
Adrian Roos [Tue, 5 Aug 2014 19:10:20 +0000 (19:10 +0000)]
Merge "Ask about redacted notifications after setting up a secure lock" into lmp-dev

9 years agoAsk about redacted notifications after setting up a secure lock
Adrian Roos [Tue, 5 Aug 2014 17:41:11 +0000 (19:41 +0200)]
Ask about redacted notifications after setting up a secure lock

Bug: 14437890
Change-Id: I54cf355242375e8c7968c7d27c441fbd0a54cef2

9 years agoSettings: New application-level notification settings.
John Spurlock [Fri, 18 Jul 2014 15:51:13 +0000 (11:51 -0400)]
Settings: New application-level notification settings.

 - Convert the old application-level dialog to an activity.
 - Move the settings icon to the new activity (out of the list).
 - Add a custom application header, similar to the switch bar style.
 - Use the ubiquitous vector gear for the settings icon.
 - Migrate old checkboxes to switch prefs, add new summaries.
 - Remove obsolete artifacts.

Bug:16396715
Change-Id: I857e3cf448b79f44fe1c242e6020f5214434c00c

9 years agoMerge "Replace missing resource." into lmp-dev
Dan Sandler [Wed, 6 Aug 2014 17:59:24 +0000 (17:59 +0000)]
Merge "Replace missing resource." into lmp-dev

9 years agoMerge "Fix bug #16712121 Add 'Experimental' substring to 'High contrast text'" into...
Fabrice Di Meglio [Wed, 6 Aug 2014 17:57:34 +0000 (17:57 +0000)]
Merge "Fix bug #16712121 Add 'Experimental' substring to 'High contrast text'" into lmp-dev

9 years agoFix bug #16712121 Add 'Experimental' substring to 'High contrast text'
Fabrice Di Meglio [Wed, 6 Aug 2014 17:55:39 +0000 (10:55 -0700)]
Fix bug #16712121 Add 'Experimental' substring to 'High contrast text'

- add "(Experimental)" as a summary text for "High contrast text"

Change-Id: I6faf1ea382e90a4f0dffcc8a093e4aa5a4653d23

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Geoff Mendal [Tue, 5 Aug 2014 00:48:51 +0000 (00:48 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Tue, 5 Aug 2014 00:35:58 +0000 (17:35 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Prevent launcher switching in Settings app." into lmp-dev
Sander Alewijnse [Thu, 7 Aug 2014 11:49:32 +0000 (11:49 +0000)]
Merge "Prevent launcher switching in Settings app." into lmp-dev

9 years agoPrevent launcher switching in Settings app.
Sander Alewijnse [Tue, 15 Jul 2014 19:23:25 +0000 (20:23 +0100)]
Prevent launcher switching in Settings app.

User won't be able to switch to launchers that do not support
managed profiles.
Additional explanation is shown in text under the name of the
launcher.

Bug:15099904

Change-Id: I12470bf396d41ef47d463ef42835964aacda9719

9 years agoMerge "Clears previously added cross-profile-intents" into lmp-dev
Alexandra Gherghina [Wed, 6 Aug 2014 13:42:42 +0000 (13:42 +0000)]
Merge "Clears previously added cross-profile-intents" into lmp-dev

9 years agoMerge "Fix issue #16537318: clarify voice interaction strings." into lmp-dev
Dianne Hackborn [Tue, 5 Aug 2014 23:18:00 +0000 (23:18 +0000)]
Merge "Fix issue #16537318: clarify voice interaction strings." into lmp-dev

9 years agoAdd support for widgets in user profiles
Svet Ganov [Fri, 1 Aug 2014 22:06:43 +0000 (15:06 -0700)]
Add support for widgets in user profiles

bug:14991269

Change-Id: I7f71787bf5e5278230063b9d3bafac96a0680682

9 years agoFix issue #16537318: clarify voice interaction strings.
Dianne Hackborn [Tue, 5 Aug 2014 20:58:26 +0000 (13:58 -0700)]
Fix issue #16537318: clarify voice interaction strings.

Change-Id: I7e2c379e28447fa83ecf9c53b064d7917253b880

9 years agoRadio Information UI for enabling/disabling debug settings of MO over VoLTE
Etan Cohen [Mon, 4 Aug 2014 03:38:30 +0000 (20:38 -0700)]
Radio Information UI for enabling/disabling debug settings of MO over VoLTE

Change-Id: Ib05ff460ac6001c511113e80a63707a073908637

9 years agoSettings: Wire up new doze opt-out setting.
John Spurlock [Mon, 4 Aug 2014 18:53:28 +0000 (14:53 -0400)]
Settings: Wire up new doze opt-out setting.

Add an item in Display settings for enabling or disabling
dozing.  The setting will only appear on devices that have
configured a doze component.

Bug:16703536
Change-Id: Iba5f0a25cef68924f5be5f858b4c396234a7a355

9 years agoMerge "[WifiSetup] Fixed setup strings CHAR LIMIT" into lmp-dev
Maurice Lam [Mon, 4 Aug 2014 22:12:29 +0000 (22:12 +0000)]
Merge "[WifiSetup] Fixed setup strings CHAR LIMIT" into lmp-dev

9 years ago[WifiSetup] Fixed setup strings CHAR LIMIT
Maurice Lam [Sun, 27 Jul 2014 18:53:51 +0000 (11:53 -0700)]
[WifiSetup] Fixed setup strings CHAR LIMIT

Bumped the CHAR LIMIT of "Skip" button to 20, and added the same CHAR
LIMIT to "Next".

Bug: 16116325
Change-Id: Iafdab3712fdbfac0c53d3ef73d1da8910bc9433b

9 years agoMerge "Bluetooth: Multi HF support" into lmp-dev
Matthew Xie [Mon, 4 Aug 2014 00:15:13 +0000 (00:15 +0000)]
Merge "Bluetooth: Multi HF support" into lmp-dev

9 years agoBluetooth: Multi HF support
Nitin Srivastava [Wed, 30 Jul 2014 20:21:34 +0000 (01:51 +0530)]
Bluetooth: Multi HF support

1. The connected sinks are not disconnected from
HeadsetProfile when new sink is connecting.
2. Also return correct connection status for
specific HS.
3. Sets priority for specific HS while disconnecting.
bug 16519158

Change-Id: I62c6629cf11129733aab8a835adcd51e014b3860

9 years agoUpdated comments in strings.xml for translators.
PauloftheWest [Sun, 3 Aug 2014 19:45:33 +0000 (12:45 -0700)]
Updated comments in strings.xml for translators.

Bug: 16321904
Bug: 16340357
Change-Id: I5e4a854742a1f4e51c7aed2e786b2436260795ec

9 years agoSettings: Battery saver updates.
John Spurlock [Sat, 2 Aug 2014 21:23:46 +0000 (17:23 -0400)]
Settings: Battery saver updates.

 - Fewer trigger level options, new default of 0 (never)
 - Use new shared feature description text (in framework)
 - Remove "always on", add new top-level switch bar.

Depends on the framework changes in I3d1ded1eec9e63e7d97469486f6a320e1bebbccd

Bug:16214395
Change-Id: Ia01186cfeb19d00672f62cc84787584b4dcc1143

9 years agoToggle between profiles in VPN Settings
Zoltan Szatmary-Ban [Thu, 31 Jul 2014 15:49:52 +0000 (16:49 +0100)]
Toggle between profiles in VPN Settings

This adds a spinner to the VPN 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:16030111
Change-Id: I3b800264c634900412e8eebdbcf43a2b6913c2be

9 years agoUpdate Device Admins Settings screen
Zoltan Szatmary-Ban [Wed, 2 Jul 2014 15:48:00 +0000 (16:48 +0100)]
Update Device Admins Settings screen

The MDM is a Device Admin for the managed profile. The users should be able to see that it exists
and it is controlling the device, but they should not be able to change it.

Bug: 15558397

Change-Id: Ief372b606f1085f73c98ace97f2c1d9ac5fe3257

9 years agoMerge "The Settings app is listening to wpa_supplicant state change so as to update...
vandwalle [Thu, 31 Jul 2014 23:15:06 +0000 (23:15 +0000)]
Merge "The Settings app is listening to wpa_supplicant state change so as to update the state of the AccessPoint objects and present Wifi state to the user." into lmp-dev

9 years agoThe Settings app is listening to wpa_supplicant state change so as to update the...
vandwalle [Thu, 31 Jul 2014 07:06:40 +0000 (00:06 -0700)]
The Settings app is listening to wpa_supplicant state change so as to update the state of the AccessPoint objects and present Wifi state to the user.

This is not right because wpa_supplicant states are transient (for instance when the WiFi Layer, at Layer 2, is going thru some harmless spurious disconnection cycle due to WiFi signal fluctuation). This cause the state of the WiFi Network to appear to be unstable to the user.

Hence, I removed dependencies on wpa_supplicant internal state.

In addition so as to improve debugging, I added the BSSID to the Wifi Verbose Logging string which is shown in wifi picker alongside the current network. This string only appear when a user goes into Developper Options and enable WiFi Verbose Logging.

The below bug is an example of situation where a spurious disconnect (a coupld seconds) handled by wpa_supplicant can cause the WiFi Settings to indicate that the link is unstable.

Bug:16140888 Wifi best network selection not smooth

Change-Id: I0e7c6b86262b88ed993c46fcdcdbab4d9b1f5ea1

9 years agoCheanged Call Manager's summary to be parameter.
PauloftheWest [Thu, 31 Jul 2014 22:21:34 +0000 (15:21 -0700)]
Cheanged Call Manager's summary to be parameter.

Bug: 16300328
Change-Id: I4a3a4a80060ac6d464adc5f666d02dabe635707c

10 years agoMerge "Fixed crash when changing orientation in the Add Networks dialog." into lmp-dev
PauloftheWest [Wed, 30 Jul 2014 22:19:56 +0000 (22:19 +0000)]
Merge "Fixed crash when changing orientation in the Add Networks dialog." into lmp-dev

10 years agoFixed crash when changing orientation in the Add Networks dialog.
PauloftheWest [Wed, 30 Jul 2014 22:05:46 +0000 (15:05 -0700)]
Fixed crash when changing orientation in the Add Networks dialog.

Bug: 16479540
Change-Id: Ib42977b72039f49b5d5ae688c0b0ded1094b44e2

10 years agoToggle between primary and managed profile in apps settings
Alexandra Gherghina [Thu, 24 Jul 2014 17:54:31 +0000 (18:54 +0100)]
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

10 years agoClears previously added cross-profile-intents
Alexandra Gherghina [Tue, 29 Jul 2014 13:55:56 +0000 (14:55 +0100)]
Clears previously added cross-profile-intents

Clears the old cross-profile intent filters added by the Settings app.
This makes sure we do not have duplicates and also that there are no
outdated intents being forwarded (intents that do not exist any more).

Bug: 16647771
Change-Id: Ief4f7341e3f984b9435a9757bf469e53227ce2bf

10 years agoToggle between primary and managed profile in App notif settings
Alexandra Gherghina [Thu, 24 Jul 2014 16:28:36 +0000 (17:28 +0100)]
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

10 years agoMerge "Fix bug #16306535 The arrows rotate in the opposite direction... of the direct...
Fabrice Di Meglio [Wed, 30 Jul 2014 00:13:21 +0000 (00:13 +0000)]
Merge "Fix bug #16306535 The arrows rotate in the opposite direction... of the direction implied by the iconography (clockwise)" into lmp-dev

10 years agoFix bug #16306535 The arrows rotate in the opposite direction...
Fabrice Di Meglio [Wed, 30 Jul 2014 00:08:41 +0000 (17:08 -0700)]
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

10 years agoFix bug #16660819 Switchbar text should be white not grey
Fabrice Di Meglio [Tue, 29 Jul 2014 23:54:44 +0000 (16:54 -0700)]
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

10 years agoMake Battery History chart non selectable
Fabrice Di Meglio [Tue, 29 Jul 2014 23:29:00 +0000 (16:29 -0700)]
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

10 years agoFix bug #16623129 Stability: Settings: NPE in RunningProcessesView...
Fabrice Di Meglio [Tue, 29 Jul 2014 23:15:27 +0000 (16:15 -0700)]
Fix bug #16623129 Stability: Settings: NPE in RunningProcessesView...
startServiceDetailsActivity(RunningProcessesView.java:394)

- make the ListView header non selectable

Change-Id: Ic5e888a7d1d3d1df1bcb59f3027e4385d46ba5ca

10 years agoFix bug #16660405 Stability: ISE in Settings: Observer ...
Fabrice Di Meglio [Tue, 29 Jul 2014 23:02:22 +0000 (16:02 -0700)]
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

10 years agoMerge "Fix bug #16660819 Switchbar text should be white not grey" into lmp-dev
Fabrice Di Meglio [Tue, 29 Jul 2014 23:59:22 +0000 (23:59 +0000)]
Merge "Fix bug #16660819 Switchbar text should be white not grey" into lmp-dev

10 years agoMerge "Removing lock screen app widget code" into lmp-dev
Svetoslav [Thu, 31 Jul 2014 21:50:00 +0000 (21:50 +0000)]
Merge "Removing lock screen app widget code" into lmp-dev

10 years agoRemoving lock screen app widget code
Svetoslav [Thu, 31 Jul 2014 01:56:06 +0000 (18:56 -0700)]
Removing lock screen app widget code

This feature is no longer suppored and this change removes
the related code from settings.

Change-Id: I156107740f20b096f44fa2880ef6dcad9f311a73

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Geoff Mendal [Thu, 31 Jul 2014 01:45:42 +0000 (01:45 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 31 Jul 2014 01:31:14 +0000 (18:31 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Dialog on phone shouldn't say tablet" into lmp-dev
Amith Yamasani [Thu, 31 Jul 2014 20:49:03 +0000 (20:49 +0000)]
Merge "Dialog on phone shouldn't say tablet" into lmp-dev

9 years agoDialog on phone shouldn't say tablet
Amith Yamasani [Thu, 31 Jul 2014 20:29:42 +0000 (13:29 -0700)]
Dialog on phone shouldn't say tablet

Bug: 14607100
Change-Id: I5c3e023b94697f58c61122d530abaed406862201

9 years agoFix UsageStats permissions in Settings
Adam Lesinski [Fri, 25 Jul 2014 17:20:26 +0000 (10:20 -0700)]
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

9 years agoExtract common functionality for profile spinner into Utils
Alexandra Gherghina [Thu, 31 Jul 2014 13:56:33 +0000 (14:56 +0100)]
Extract common functionality for profile spinner into Utils

Bug: 16645615
Change-Id: Ic8928fff8294cd99eeb86b69b44b8e4128cadf92

9 years agoModify user spinner appearance to match mocks
Alexandra Gherghina [Thu, 31 Jul 2014 10:09:26 +0000 (11:09 +0100)]
Modify user spinner appearance to match mocks

Bug: 16518801
Change-Id: I30aa65251d4a4aaa80dbde5881fc56fffb7d54f7

9 years agoUpdate icon and text for a managed profile
Alexandra Gherghina [Fri, 25 Jul 2014 20:34:04 +0000 (21:34 +0100)]
Update icon and text for a managed profile

Bug: 16369104
Change-Id: I15d25910332d92e1638cdc63422e7e28c2f07d85

10 years agoMerge "Fix issue with pin prompt." into lmp-dev
Julia Reynolds [Wed, 30 Jul 2014 20:50:14 +0000 (20:50 +0000)]
Merge "Fix issue with pin prompt." into lmp-dev

10 years agoFix issue with pin prompt.
Julia Reynolds [Tue, 29 Jul 2014 13:50:04 +0000 (09:50 -0400)]
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

10 years agoUpdate NotificationStation after NotificationListenerService API change
Christoph Studer [Fri, 25 Jul 2014 09:46:45 +0000 (11:46 +0200)]
Update NotificationStation after NotificationListenerService API change

Change-Id: Ia58c18657c44c0dd49b058ce5b581554889b08d5

10 years agoMerge "Implement SET_PROFILE_OWNER intent" into lmp-dev
Amith Yamasani [Tue, 29 Jul 2014 23:44:36 +0000 (23:44 +0000)]
Merge "Implement SET_PROFILE_OWNER intent" into lmp-dev

10 years agoMerge "Make Battery History chart non selectable" into lmp-dev
Fabrice Di Meglio [Tue, 29 Jul 2014 23:34:26 +0000 (23:34 +0000)]
Merge "Make Battery History chart non selectable" into lmp-dev

10 years agoImplement SET_PROFILE_OWNER intent
Amith Yamasani [Mon, 28 Jul 2014 23:28:36 +0000 (16:28 -0700)]
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

10 years agoRemove unnecessary code.
Svetoslav [Tue, 29 Jul 2014 20:16:12 +0000 (13:16 -0700)]
Remove unnecessary code.

Change-Id: I4a81cd7f855bb075ab71f6c6c812288e3677c90a

10 years agoMerge "Fix bug #16623129 Stability: Settings: NPE in RunningProcessesView... startSer...
Fabrice Di Meglio [Tue, 29 Jul 2014 23:19:52 +0000 (23:19 +0000)]
Merge "Fix bug #16623129 Stability: Settings: NPE in RunningProcessesView... startServiceDetailsActivity(RunningProcessesView.java:394)" into lmp-dev

10 years agoMerge "Fix bug #16660405 Stability: ISE in Settings: Observer ... com.android.setting...
Fabrice Di Meglio [Tue, 29 Jul 2014 23:07:27 +0000 (23:07 +0000)]
Merge "Fix bug #16660405 Stability: ISE in Settings: Observer ... com.android.settings.SettingsPreferenceFragment$1@3c1d9ecb was not registered" into lmp-dev

10 years agoMerge "Fix bug #16382239 "Searching for Printers" progress bar is not Material /...
Fabrice Di Meglio [Tue, 29 Jul 2014 17:20:27 +0000 (17:20 +0000)]
Merge "Fix bug #16382239 "Searching for Printers" progress bar is not Material / Quantum" into lmp-dev

10 years agoNew activity that asks users to confirm their pattern. DO NOT MERGE
Jay Civelli [Fri, 11 Jul 2014 00:27:07 +0000 (17:27 -0700)]
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 b88e8577b9049392aa50649cb40edc845d43d689

Bug 16242766

Change-Id: I3468215a8ac522a06de6573c93a5f5a6dc72ee2d

10 years agoFix bug #16382239 "Searching for Printers" progress bar is not Material / Quantum
Fabrice Di Meglio [Tue, 29 Jul 2014 02:32:13 +0000 (19:32 -0700)]
Fix bug #16382239 "Searching for Printers" progress bar is not Material / Quantum

- remove this hard coded theme

Change-Id: I003dc2e1d173a3555fab940874ca5ceee0b058d7

10 years agoFix bug #16384201 Security > "Device administrators" layout is wrong on N10 (tablet UI)
Fabrice Di Meglio [Tue, 29 Jul 2014 01:55:29 +0000 (18:55 -0700)]
Fix bug #16384201 Security > "Device administrators" layout is wrong on N10 (tablet UI)

- add correct padding

Change-Id: I08a34839f94e899469b429dd83e301c5418155f5

10 years agoFix App Info padding
Fabrice Di Meglio [Tue, 29 Jul 2014 01:25:14 +0000 (18:25 -0700)]
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

10 years agoSome code formatting
Fabrice Di Meglio [Tue, 29 Jul 2014 00:54:30 +0000 (17:54 -0700)]
Some code formatting

- add some extra lines into those XML layout files

Change-Id: I13c004f23a5c59d46702a93b1cfa7e9b9587b8c2

10 years agoFix bug #14323097 Launching Security from Settings search results
Fabrice Di Meglio [Mon, 28 Jul 2014 22:47:21 +0000 (15:47 -0700)]
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

10 years agoImplement #15841213 Search - index Developer Option only and only if they have been...
Fabrice Di Meglio [Fri, 25 Jul 2014 23:28:53 +0000 (16:28 -0700)]
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

10 years agoFix bug #16533532 Settings app crashes on device orientation change
Fabrice Di Meglio [Fri, 25 Jul 2014 20:03:09 +0000 (13:03 -0700)]
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

10 years agoEnforce the presence of the Indexable interface for Indexing
Fabrice Di Meglio [Fri, 25 Jul 2014 02:53:47 +0000 (19:53 -0700)]
Enforce the presence of the Indexable interface for Indexing

- check that the Indexable interface has been defined before indexing

Change-Id: Ia61915b2bd1240226ba560ecfd883a115b49da95

10 years agoFix Preferences background color
Fabrice Di Meglio [Fri, 25 Jul 2014 00:03:04 +0000 (17:03 -0700)]
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

10 years agoMore fixes for QuickLaunchSettings
Fabrice Di Meglio [Thu, 24 Jul 2014 22:46:35 +0000 (15:46 -0700)]
More fixes for QuickLaunchSettings

- use DialogWhenLarge on tabletUI
- update layouts for following Material theme

Change-Id: If7aa153168eae9d2e72c50e4ae38bcd2fa6bb4bd

10 years agoFix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_S...
Fabrice Di Meglio [Thu, 24 Jul 2014 03:03:20 +0000 (20:03 -0700)]
Fix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_SETTINGS

- make it work again (what a code...)

Change-Id: Ic71d8e40ff8a5e0c663fd40655e4f4cc31bc8caf

10 years agoMerge "Work around an icu4c bug in TimeZoneNames::getDisplayName." into lmp-dev
Elliott Hughes [Wed, 30 Jul 2014 18:49:02 +0000 (18:49 +0000)]
Merge "Work around an icu4c bug in TimeZoneNames::getDisplayName." into lmp-dev

10 years agoWork around an icu4c bug in TimeZoneNames::getDisplayName.
Elliott Hughes [Wed, 30 Jul 2014 18:18:00 +0000 (11:18 -0700)]
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

10 years agoMerge "Set new PBAP connections to always allow." into lmp-dev
PauloftheWest [Wed, 30 Jul 2014 18:20:05 +0000 (18:20 +0000)]
Merge "Set new PBAP connections to always allow." into lmp-dev

10 years agoSet new PBAP connections to always allow.
PauloftheWest [Wed, 30 Jul 2014 18:03:49 +0000 (11:03 -0700)]
Set new PBAP connections to always allow.

Bug: 13886947
Change-Id: I6ec612b803433db90992f5e4d1bac26311d90a84

10 years agoAdded ability for user to automatically accept/deny Bluetooth Phonebook Syncs
PauloftheWest [Fri, 25 Jul 2014 13:15:10 +0000 (06:15 -0700)]
Added ability for user to automatically accept/deny Bluetooth Phonebook Syncs

Bug: 16040292
Change-Id: Ieeaa014052f53787cf7057578e0b2ac048dc6eb1

10 years agoMerge "Settings: Fix ordering for interruptions alarm warning." into lmp-dev
John Spurlock [Wed, 30 Jul 2014 16:34:50 +0000 (16:34 +0000)]
Merge "Settings: Fix ordering for interruptions alarm warning." into lmp-dev

10 years agoSettings: Fix ordering for interruptions alarm warning.
John Spurlock [Wed, 30 Jul 2014 16:33:04 +0000 (12:33 -0400)]
Settings: Fix ordering for interruptions alarm warning.

And update the string to the latest.

Bug:16662819
Change-Id: I42b38ab4721180babfd816a34a1fb1c368546cca

10 years agoMerge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev
PauloftheWest [Thu, 24 Jul 2014 18:46:07 +0000 (18:46 +0000)]
Merge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev

10 years agoFixed an illustrious NullPointer bug on Wifi Assistant
PauloftheWest [Thu, 24 Jul 2014 18:40:21 +0000 (11:40 -0700)]
Fixed an illustrious NullPointer bug on Wifi Assistant

+ The class was never instantiated...

Bug: 16543506
Change-Id: I00882df31ee986116b8fa28a54796bb3b20f2e2b

10 years agoMerge "Move global sync settings dialogs to the right screen" into lmp-dev
Alexandra Gherghina [Tue, 29 Jul 2014 15:26:55 +0000 (15:26 +0000)]
Merge "Move global sync settings dialogs to the right screen" into lmp-dev