OSDN Git Service

android-x86/packages-apps-Settings.git
9 years agoFix issues in Settings: 16660423, 13172381, 16868094
Dianne Hackborn [Sun, 10 Aug 2014 23:32:08 +0000 (16:32 -0700)]
Fix issues in Settings: 166604231317238116868094

Issue #16660423: Stability: ArrayIndexOutOfBoundsException in settings:
at com.android.settings.fuelgauge.BatteryHistoryChart$ChartData.draw(
BatteryHistoryChart.java:109)

Issue #13172381: No content description in Battery charging section

Issue #16868094: Settings crash on switching to landscape mode with
"Google Text-to-speech" settings icon selected

Change-Id: I94d0e83f72d571eb90aad6742acabce56c0298ec

9 years agoAdd voice-only settings activities for airplane mode.
Barnaby James [Sat, 9 Aug 2014 04:01:01 +0000 (21:01 -0700)]
Add voice-only settings activities for airplane mode.

This activity can only be triggered through the Voice Interaction API - e.g. from calling VoiceInterationSession.startVoiceActivity()

Change-Id: I39ac409824693bc82e53d707a1ece2b23a89f3a3

9 years agoMerge "Strings for next change" into lmp-dev
Paul Lawrence [Fri, 8 Aug 2014 22:56:41 +0000 (22:56 +0000)]
Merge "Strings for next change" into lmp-dev

9 years agoStrings for next change
Paul Lawrence [Fri, 8 Aug 2014 21:27:23 +0000 (14:27 -0700)]
Strings for next change

Next change is titled
Bring up factory reset UI when decryption fails but password is correct

Strings need to go in today to catch translation for L

Bug: 11477689
Change-Id: I84ddc2f88917ba9749fe4dc58fb00d4020cfe685

9 years agoMerge "Update to use new UsageStats API" into lmp-dev
Adam Lesinski [Fri, 8 Aug 2014 22:36:33 +0000 (22:36 +0000)]
Merge "Update to use new UsageStats API" into lmp-dev

9 years agoMerge "Fix bug #16578018 Wi-Fi network list items should be centered with icons"...
Fabrice Di Meglio [Fri, 8 Aug 2014 20:58:37 +0000 (20:58 +0000)]
Merge "Fix bug #16578018 Wi-Fi network list items should be centered with icons" into lmp-dev

9 years agoFix bug #16578018 Wi-Fi network list items should be centered with icons
Fabrice Di Meglio [Fri, 8 Aug 2014 20:55:58 +0000 (13:55 -0700)]
Fix bug #16578018 Wi-Fi network list items should be centered with icons

- force correct refresh of the Preference summary
- put some non used code into comment ...

Change-Id: I17fc6fe2cf0717bae613d78cfac2c88d3e160ef4

9 years agoUpdate to use new UsageStats API
Adam Lesinski [Thu, 7 Aug 2014 00:53:38 +0000 (17:53 -0700)]
Update to use new UsageStats API

Change-Id: Ic6f9523c4c70f8b832d8f57551417f4f19ea144f

9 years agoMerge "Fix Wi-Fi Assistant padding" into lmp-dev
Fabrice Di Meglio [Fri, 8 Aug 2014 19:58:41 +0000 (19:58 +0000)]
Merge "Fix Wi-Fi Assistant padding" into lmp-dev

9 years agoFix Wi-Fi Assistant padding
Fabrice Di Meglio [Fri, 8 Aug 2014 19:56:51 +0000 (12:56 -0700)]
Fix Wi-Fi Assistant padding

- use the standard list padding instead of a custom one

See bug: #15703202 Wi-Fi Assistant card needs to appear in Wi-Fi network list

Change-Id: I5816751bf7937807093e5b74b25b84151431fa7b

9 years agoMerge "Fix bug #16896118 SIM cards should ONLY appear in search results for devices...
Fabrice Di Meglio [Fri, 8 Aug 2014 19:35:06 +0000 (19:35 +0000)]
Merge "Fix bug #16896118 SIM cards should ONLY appear in search results for devices with 2+ SIM slots" into lmp-dev

9 years agoFix bug #16896118 SIM cards should ONLY appear in search results for devices with...
Fabrice Di Meglio [Fri, 8 Aug 2014 19:27:57 +0000 (12:27 -0700)]
Fix bug #16896118 SIM cards should ONLY appear in search results for devices with 2+ SIM slots

- add the proper SearchIndexProvider to SimSettings
- allow indexing only an only if showSimCardTile() is true
- add Utils.showSimCardTile()

Change-Id: I5df2284d32f91fa454e1edebf1139d00593138a0

9 years agoMerge "Fully deprecate Power Control widget." into lmp-dev
Dan Sandler [Fri, 8 Aug 2014 12:57:33 +0000 (12:57 +0000)]
Merge "Fully deprecate Power Control widget." into lmp-dev

9 years agoMerge "Avoid NPE when template rapidly switched." into lmp-dev
Jeff Sharkey [Fri, 8 Aug 2014 17:32:39 +0000 (17:32 +0000)]
Merge "Avoid NPE when template rapidly switched." into lmp-dev

9 years agoAvoid NPE when template rapidly switched.
Jeff Sharkey [Fri, 8 Aug 2014 17:25:24 +0000 (10:25 -0700)]
Avoid NPE when template rapidly switched.

Monkeys can race and end up swapping template before the dialog
is shown.

Bug: 16660160
Change-Id: I301784d707ee3998c38cf2874f7016a5c5350825

9 years agoMerge "Fixed Bluetooth renaming bug." into lmp-dev
PauloftheWest [Fri, 8 Aug 2014 17:18:56 +0000 (17:18 +0000)]
Merge "Fixed Bluetooth renaming bug." into lmp-dev

9 years agoFixed Bluetooth renaming bug.
PauloftheWest [Fri, 8 Aug 2014 15:36:26 +0000 (08:36 -0700)]
Fixed Bluetooth renaming bug.

+ After renaming your Bluetooth device, the title of the Bluetooth
    Activity stays "Bluetooth" instead of changing to the new name.
+ After renaming the device, the status at the bottom Bluetooth Settings
    is correctly displayed.

Bug: 16463239
Change-Id: Ifb12df2004fe1f89bd6f918e23c2c64ae08a0191

9 years agoMerge "Open the same tab when switching profiles in apps settings" into lmp-dev
Alexandra Gherghina [Fri, 8 Aug 2014 17:17:56 +0000 (17:17 +0000)]
Merge "Open the same tab when switching profiles in apps settings" into lmp-dev

9 years agoOpen the same tab when switching profiles in apps settings
Alexandra Gherghina [Thu, 31 Jul 2014 11:46:15 +0000 (12:46 +0100)]
Open the same tab when switching profiles in apps settings

Bug: 16369104
Change-Id: Ibd23824a120541b17a5255952b7cf02d07b62c7b

9 years agoFully deprecate Power Control widget.
Dan Sandler [Thu, 7 Aug 2014 16:59:11 +0000 (12:59 -0400)]
Fully deprecate Power Control widget.

Its behavior is obviated by quick settings and battery
saver, and so should not be shipped on any new builds by
default.

Bug: 8415180
Change-Id: Ic941a1e536c0b37c6be62fed876bfa23e34dc84b

9 years agoMerge "Don't show TrustAgent entries when no security is enabled." into lmp-dev
Jim Miller [Thu, 7 Aug 2014 22:25:46 +0000 (22:25 +0000)]
Merge "Don't show TrustAgent entries when no security is enabled." into lmp-dev

9 years agoDon't show TrustAgent entries when no security is enabled.
Jim Miller [Thu, 31 Jul 2014 22:30:29 +0000 (15:30 -0700)]
Don't show TrustAgent entries when no security is enabled.

Fixes bug 16383666

Change-Id: Ia6c3d7563c384269d1e53ef5e2e07099432c8a13

9 years agoMerge "Removed infinite loop in Multi-Sim Settings." into lmp-dev
PauloftheWest [Thu, 7 Aug 2014 21:53:44 +0000 (21:53 +0000)]
Merge "Removed infinite loop in Multi-Sim Settings." into lmp-dev

9 years agoRemoved infinite loop in Multi-Sim Settings.
PauloftheWest [Thu, 7 Aug 2014 17:41:41 +0000 (10:41 -0700)]
Removed infinite loop in Multi-Sim Settings.

Change-Id: I1d5e78abcd9b93d8fb4e1b6c14d73f9d23dce38d

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 "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 "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 "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 "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 "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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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