OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoUpdate string for Apps & notifications page.
Doris Ling [Thu, 23 Mar 2017 23:30:13 +0000 (16:30 -0700)]
Update string for Apps & notifications page.

Bug: 36376411
Test: builds
Change-Id: I3d1d9535f9aed652857f010e3f935f7edf132dd2

7 years agoMerge "Update settings homepage summary text."
TreeHugger Robot [Thu, 23 Mar 2017 22:24:01 +0000 (22:24 +0000)]
Merge "Update settings homepage summary text."

7 years agoMerge "Split the plurals strings with zero quantity."
TreeHugger Robot [Thu, 23 Mar 2017 22:22:24 +0000 (22:22 +0000)]
Merge "Split the plurals strings with zero quantity."

7 years agoMerge "Add icons to the main static storage setting prefs."
Daniel Nishi [Thu, 23 Mar 2017 22:16:18 +0000 (22:16 +0000)]
Merge "Add icons to the main static storage setting prefs."

7 years agoMerge "Changed the ambient display setting name"
TreeHugger Robot [Thu, 23 Mar 2017 21:45:35 +0000 (21:45 +0000)]
Merge "Changed the ambient display setting name"

7 years agoMerge "Update text for Users & accounts page."
TreeHugger Robot [Thu, 23 Mar 2017 21:23:52 +0000 (21:23 +0000)]
Merge "Update text for Users & accounts page."

7 years agoMerge "Update the donut view to handle new string."
TreeHugger Robot [Thu, 23 Mar 2017 21:21:52 +0000 (21:21 +0000)]
Merge "Update the donut view to handle new string."

7 years agoMerge "Refactor DefaultAppPicker to a general radio button picker"
TreeHugger Robot [Thu, 23 Mar 2017 21:13:57 +0000 (21:13 +0000)]
Merge "Refactor DefaultAppPicker to a general radio button picker"

7 years agoMerge "Update the system info dialog."
TreeHugger Robot [Thu, 23 Mar 2017 20:56:48 +0000 (20:56 +0000)]
Merge "Update the system info dialog."

7 years agoUpdate settings homepage summary text.
Doris Ling [Mon, 20 Mar 2017 23:09:58 +0000 (16:09 -0700)]
Update settings homepage summary text.

- add prefix to storage summary
- update Sound summary to upper case DND
- update System summary text to add time.

Change-Id: Ic0c66c0fefee1a1f1556775d82b5431bbae73600
Bug: 36375846
Test: builds

7 years agoMerge "Update strings for work sounds"
TreeHugger Robot [Thu, 23 Mar 2017 20:43:40 +0000 (20:43 +0000)]
Merge "Update strings for work sounds"

7 years agoMerge "Add page Settings->Security & lock screen->Lock screen preferences."
TreeHugger Robot [Thu, 23 Mar 2017 20:05:33 +0000 (20:05 +0000)]
Merge "Add page Settings->Security & lock screen->Lock screen preferences."

7 years agoChanged the ambient display setting name
Selim Cinek [Thu, 23 Mar 2017 20:01:28 +0000 (13:01 -0700)]
Changed the ambient display setting name

The new screen is now called Incoming notification screen

Bug: 36516811
Change-Id: I71f9a6e86b0fd98a8c39e3ed19208366cea1892e

7 years agoUpdate text for Users & accounts page.
Doris Ling [Thu, 23 Mar 2017 18:10:14 +0000 (11:10 -0700)]
Update text for Users & accounts page.

- add back the summary loader for UserSettings
- remove "configure" preference category
- add summary for Auto sync data and update the title

Change-Id: Ia00397f775f86d0e160a54783a8518847fce8de8
Bug: 36540644
Test: builds

7 years agoRefactor DefaultAppPicker to a general radio button picker
Fan Zhang [Thu, 23 Mar 2017 18:03:29 +0000 (11:03 -0700)]
Refactor DefaultAppPicker to a general radio button picker

Bug: 36557316
Test: make RunSettingsRoboTests
Change-Id: I52985e527e55697cf29f8d97d775d4bbed025beb

7 years agoMerge "Finalize strings for enterprise privacy"
TreeHugger Robot [Thu, 23 Mar 2017 19:39:24 +0000 (19:39 +0000)]
Merge "Finalize strings for enterprise privacy"

7 years agoUpdate strings for work sounds
Robin Lee [Thu, 23 Mar 2017 18:35:14 +0000 (18:35 +0000)]
Update strings for work sounds

Test: manual inspection, see pictures
Change-Id: Ib0bc4b95ee6edaefe18cbabbd9c23a6883aa9e97

7 years agoAdd page Settings->Security & lock screen->Lock screen preferences.
Doris Ling [Thu, 16 Mar 2017 20:20:15 +0000 (13:20 -0700)]
Add page Settings->Security & lock screen->Lock screen preferences.

- add the new preference screen that contains configuration for lock
screen notification, add user when locked, and owner info.
- refactor SecuritySettings to use the new owner info controller.

Fix: 36163515
Test: make RunSettingsRoboTests

Change-Id: I3bada8f652f89ed0af7aebc03f0bf2f637296b4d

7 years agoMerge "Update final Wi-Fi strings."
TreeHugger Robot [Thu, 23 Mar 2017 18:31:21 +0000 (18:31 +0000)]
Merge "Update final Wi-Fi strings."

7 years agoMerge "AVRCP version interop pereference (2/3)" am: db66a7b664 am: da582fa40d
Ajay Panicker [Thu, 23 Mar 2017 18:08:44 +0000 (18:08 +0000)]
Merge "AVRCP version interop pereference (2/3)" am: db66a7b664 am: da582fa40d
am: 0ae97550ee  -s ours

Change-Id: Ibe4bc0f1bc067d2fb7560e2b03e09e1dea8c70ee

7 years agoMerge "AVRCP version interop pereference (2/3)" am: db66a7b664
Ajay Panicker [Thu, 23 Mar 2017 18:03:57 +0000 (18:03 +0000)]
Merge "AVRCP version interop pereference (2/3)" am: db66a7b664
am: da582fa40d

Change-Id: I79cb69494d6d3860494f4fa36f44095e1d2c6c6f

7 years agoMerge "AVRCP version interop pereference (2/3)"
Ajay Panicker [Thu, 23 Mar 2017 17:56:28 +0000 (17:56 +0000)]
Merge "AVRCP version interop pereference (2/3)"
am: db66a7b664

Change-Id: Ia70a81c027d2e81b01f279c2816de41ef915c0f8

7 years agoMerge "AVRCP version interop pereference (2/3)"
Treehugger Robot [Thu, 23 Mar 2017 17:49:56 +0000 (17:49 +0000)]
Merge "AVRCP version interop pereference (2/3)"

7 years agoAdd icons to the main static storage setting prefs.
Daniel Nishi [Mon, 27 Feb 2017 19:28:04 +0000 (11:28 -0800)]
Add icons to the main static storage setting prefs.

The dynamic user icons require more than just XML changes to
successfully fetch the badged user icons and are coming in a future
patch.

Bug: 35801039
Test: Manual -- this is purely XML and comment changes.
Change-Id: Id493c0335037a5c6e4f8b4734700611bfc0da7f1

7 years agoUpdate the donut view to handle new string.
Daniel Nishi [Tue, 21 Mar 2017 20:32:13 +0000 (13:32 -0700)]
Update the donut view to handle new string.

Change-Id: Idb5cec6d8169f3d229375faecc4bf96501481112
Fixes: 36224266
Test: Manually verified

7 years agoFinalize strings for enterprise privacy
Bartosz Fabianowski [Thu, 23 Mar 2017 15:19:52 +0000 (16:19 +0100)]
Finalize strings for enterprise privacy

A few more final string tweaks for the enterprise privacy page.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: Ib955aa5a6e756748ed7422021099234ad3fefa8b

7 years agoMerge "Update print setting summary to show number of services"
TreeHugger Robot [Thu, 23 Mar 2017 17:16:19 +0000 (17:16 +0000)]
Merge "Update print setting summary to show number of services"

7 years agoMerge "Update string for Do not disturb preference."
TreeHugger Robot [Thu, 23 Mar 2017 16:51:06 +0000 (16:51 +0000)]
Merge "Update string for Do not disturb preference."

7 years agoMerge "Move "scanning" from location setting actionbar to pref xml"
TreeHugger Robot [Thu, 23 Mar 2017 16:02:01 +0000 (16:02 +0000)]
Merge "Move "scanning" from location setting actionbar to pref xml"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 23 Mar 2017 15:31:44 +0000 (15:31 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Adjust text during work challenge unification"
Rubin Xu [Thu, 23 Mar 2017 14:04:08 +0000 (14:04 +0000)]
Merge "Adjust text during work challenge unification"

7 years agoMerge "New iteration of the Text-to-Speech settings."
TreeHugger Robot [Thu, 23 Mar 2017 13:55:59 +0000 (13:55 +0000)]
Merge "New iteration of the Text-to-Speech settings."

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 23 Mar 2017 13:27:40 +0000 (06:27 -0700)]
Import translations. DO NOT MERGE

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

7 years agoAdjust text during work challenge unification
Rubin Xu [Thu, 23 Mar 2017 09:44:58 +0000 (09:44 +0000)]
Adjust text during work challenge unification

Bug: 32205706
Test: Create work profile; untick "use one lock"; retick "use one lock"; observe new string
Change-Id: I3933ac8067e95e434478da9ecc1a419d24661e26

7 years agoMerge "VPN settings: gray out always-on checkbox dynamically"
Charles He [Thu, 23 Mar 2017 08:49:46 +0000 (08:49 +0000)]
Merge "VPN settings: gray out always-on checkbox dynamically"

7 years agoMerge "Add double-tap & lift gestures to display settings"
TreeHugger Robot [Thu, 23 Mar 2017 05:09:49 +0000 (05:09 +0000)]
Merge "Add double-tap & lift gestures to display settings"

7 years agoMerge "Add default value to Bluetooth AVRCP version property get"
TreeHugger Robot [Thu, 23 Mar 2017 03:03:48 +0000 (03:03 +0000)]
Merge "Add default value to Bluetooth AVRCP version property get"

7 years agoUpdate final Wi-Fi strings.
Amin Shaikh [Thu, 23 Mar 2017 02:46:09 +0000 (19:46 -0700)]
Update final Wi-Fi strings.

Note that this is simply a string checkin. Additional work is needed to
use some of these strings.

Bug: 36449837
Bug: 36532777
Bug: 35993748
Test: make RunSettingsRoboTests
Change-Id: Ica24c2e9a58cc7b190bec8b7c6a0c5463849aaa1

7 years agoUpdate print setting summary to show number of services
Fan Zhang [Thu, 23 Mar 2017 00:43:20 +0000 (17:43 -0700)]
Update print setting summary to show number of services

-Also some minor cleanup in print setting fragment (create pref using
correct context)

Change-Id: Ic05027ee53fd318da6ccd38c9ed98ce10ca49ba8
Fix: 36234108
Test: make RunSettingsRoboTests

7 years agoMerge changes from topic 'two_target_preference'
TreeHugger Robot [Thu, 23 Mar 2017 01:26:47 +0000 (01:26 +0000)]
Merge changes from topic 'two_target_preference'

* changes:
  Update string character limit
  Convert BT preference to use TwoTargetPreference
  Refactor the layout for MasterSwitch to a 2 target pref

7 years agoAdd double-tap & lift gestures to display settings
Andrew Sapperstein [Thu, 23 Mar 2017 01:00:47 +0000 (18:00 -0700)]
Add double-tap & lift gestures to display settings

Now they're in both languages & input and display.

Change-Id: Ib0d9fa1aa39656662307e2fc8fda70443f1ae8ed
Fixes: 36415612
Test: robotests

7 years agoAdd default value to Bluetooth AVRCP version property get
Ajay Panicker [Thu, 23 Mar 2017 00:43:51 +0000 (17:43 -0700)]
Add default value to Bluetooth AVRCP version property get

When the property isn't set a crash can occur since we try to look up an
empty property value.

Bug: 36531010
Test: Open Developer options after a factory reset
Change-Id: I82c0fde00774ab1a4f3e4c44a715c74d4a7804e9

7 years agoMerge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." am...
Sanket Padawe [Thu, 23 Mar 2017 01:07:13 +0000 (01:07 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." am: bd9ce2e4b1 am: f54df6ccfb
am: 5642aa4ae8  -s ours

Change-Id: Ida22695c5e2d9e7db21a71821d6b7efb4ceeb4e3

7 years agoMerge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." am...
Sanket Padawe [Thu, 23 Mar 2017 00:58:29 +0000 (00:58 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." am: bd9ce2e4b1
am: f54df6ccfb

Change-Id: I317f715ee814ee1511e67cc57e11ea43af9a2a4c

7 years agoMerge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
Sanket Padawe [Thu, 23 Mar 2017 00:45:56 +0000 (00:45 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
am: bd9ce2e4b1

Change-Id: I361f7c1747ab1f16cce149d78cc219f83a16948c

7 years agoMerge "Add summary text for wallpaper settings."
TreeHugger Robot [Thu, 23 Mar 2017 00:21:05 +0000 (00:21 +0000)]
Merge "Add summary text for wallpaper settings."

7 years agoMove "scanning" from location setting actionbar to pref xml
Fan Zhang [Wed, 22 Mar 2017 23:38:57 +0000 (16:38 -0700)]
Move "scanning" from location setting actionbar to pref xml

This fixes the breadcrumb for scanning settings when you search "scan".

- Also did some minor cleanup in LocationSettings (creating preference
using the correct context)

Change-Id: I8efc62246f2e18b2bd4b5eb411b40f24e36b0f2a
Fix: 36529569
Test: manual

7 years agoSplit the plurals strings with zero quantity.
Doris Ling [Wed, 22 Mar 2017 23:49:17 +0000 (16:49 -0700)]
Split the plurals strings with zero quantity.

- plurals string with 0 quantity does not work as expect. Remove the
zero quantity string from the plurals string and put it as a separate
string instead.

Bug: 36376411
Test: builds
Change-Id: I5ee532b35969326b03d73edd28e4a213fa90f899

7 years agoUpdate string for Do not disturb preference.
Doris Ling [Wed, 22 Mar 2017 21:45:43 +0000 (14:45 -0700)]
Update string for Do not disturb preference.

Bug: 34975939
Test: builds
Change-Id: I4567b9133deae1c52741d6f0d48d95be642bf2d2

7 years agoMerge "Update summary text for Wi-Fi hotspot"
TreeHugger Robot [Wed, 22 Mar 2017 23:34:23 +0000 (23:34 +0000)]
Merge "Update summary text for Wi-Fi hotspot"

7 years agoMerge "Add test config to SettingsUnitTests"
TreeHugger Robot [Wed, 22 Mar 2017 23:16:05 +0000 (23:16 +0000)]
Merge "Add test config to SettingsUnitTests"

7 years agoUpdate the system info dialog.
Daniel Nishi [Wed, 22 Mar 2017 23:12:55 +0000 (16:12 -0700)]
Update the system info dialog.

The string is updated as well as where the dialog shows up.

Change-Id: If1a3b17dca04fe81f52dbdc2353db34ce7adc49a
Fixes: 34857117
Test: Robotest

7 years agoUpdate string character limit
Fan Zhang [Wed, 22 Mar 2017 23:11:59 +0000 (16:11 -0700)]
Update string character limit

Change-Id: I6e31a7ca637c37d9bd3a99a078b62cba3d5a7b54
Fix: 36400209
Test: manual

7 years agoConvert BT preference to use TwoTargetPreference
Fan Zhang [Wed, 22 Mar 2017 22:14:47 +0000 (15:14 -0700)]
Convert BT preference to use TwoTargetPreference

Change-Id: I0b49af4afb4b782a6057060b2666f6528bc003b2
Fix: 36511169
Test: make RunSettingsRoboTests

7 years agoRefactor the layout for MasterSwitch to a 2 target pref
Fan Zhang [Wed, 22 Mar 2017 18:43:22 +0000 (11:43 -0700)]
Refactor the layout for MasterSwitch to a 2 target pref

And move the layout to settingslib.

The new TwoTargetPreference is a preference object that has a vertical
divider between main panel and widget (if it exists).

Converted master switch, restricted preference, gear preference to use
the new style

Change-Id: Ia3848cebb06b8edc4e60abf9b0caf13cdb29c22c
Fix: 36511169
Test: make RunSettingsRoboTests

7 years agoAdd summary text for wallpaper settings.
Doris Ling [Wed, 22 Mar 2017 22:04:07 +0000 (15:04 -0700)]
Add summary text for wallpaper settings.

Bug: 34975969
Test: builds
Change-Id: If6e24aa45590b70aab16effec322cf7100cffb09

7 years agoUpdate summary text for Wi-Fi hotspot
Doris Ling [Wed, 22 Mar 2017 21:56:41 +0000 (14:56 -0700)]
Update summary text for Wi-Fi hotspot

Bug: 36296257
Test: builds
Change-Id: Ib8d363ec23528bd2520509f6cefc5f49848cd3d5

7 years agoMerge "Remove the hardcoded color in main page"
Lei Yu [Wed, 22 Mar 2017 21:48:01 +0000 (21:48 +0000)]
Merge "Remove the hardcoded color in main page"

7 years agoMerge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
Sanket Padawe [Wed, 22 Mar 2017 21:27:21 +0000 (21:27 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."

7 years agoMerge "Use fragment context in AppHeaderController"
TreeHugger Robot [Wed, 22 Mar 2017 20:59:23 +0000 (20:59 +0000)]
Merge "Use fragment context in AppHeaderController"

7 years agoMerge "AVRCP version interop pereference (2/3)"
TreeHugger Robot [Wed, 22 Mar 2017 20:37:44 +0000 (20:37 +0000)]
Merge "AVRCP version interop pereference (2/3)"

7 years agoVPN settings: gray out always-on checkbox dynamically
Charles He [Mon, 20 Mar 2017 14:00:06 +0000 (14:00 +0000)]
VPN settings: gray out always-on checkbox dynamically

In the ConfigDialog for legacy VPNs, many configurations do not support
Always-on VPN. Previously, when a user entered an unsupported set of
settings, the Always-on VPN checkbox could still be ticked, and the
Save or Connect action buttons would be disabled. This was not intuitive
as the user could not easily figure out which part of the settings was
incompatible that grayed out the action buttons.

With this change, we disable the Always-on VPN checkbox immediately as
the user enters any incompatible setting. We also display the reason why
Always-on VPN is disabled. This will make it more straightforward for
the users to understand which setting is conflicting with the Always-on
feature.

This change is also the first step towards refactoring the ConfigDialog
for legacy VPNs with PreferenceFragment.

Test: manual
Bug: 29208008
Bug: 28072644
Change-Id: I1e6d32a1069ca0b936513f4985ffb9a9412b249c

7 years agoMerge "Standardize MasterSwitchPreference attr order."
Daniel Nishi [Wed, 22 Mar 2017 20:26:12 +0000 (20:26 +0000)]
Merge "Standardize MasterSwitchPreference attr order."

7 years agoUse fragment context in AppHeaderController
jackqdyulei [Wed, 22 Mar 2017 01:30:21 +0000 (18:30 -0700)]
Use fragment context in AppHeaderController

The application context doesn't have the correct theme, use
fragment context instead

Fix: 36489386
Fix: 36516826
Test: RunSettingsRoboTests & Screenshot
Change-Id: I8285584220796264d85ea570df5b1df6ebeb275f

7 years agoAdd test config to SettingsUnitTests
Dan Shi [Wed, 22 Mar 2017 19:07:08 +0000 (12:07 -0700)]
Add test config to SettingsUnitTests

Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#

Bug: 35882476
Test: local test
Change-Id: Ie9fdc4717a71cb0f472b004b704acf3c4f770267

7 years agoAVRCP version interop pereference (2/3)
Ajay Panicker [Mon, 20 Mar 2017 18:34:54 +0000 (11:34 -0700)]
AVRCP version interop pereference (2/3)

Add a mechanism to allow the user to select the AVRCP version broadcasted
through SDP in the developer options. This helps solve some interoperability
issues such as with Honda Carkits where broadcasting AVRCP version 1.6 causes
media metadata to fail.

Bug: 35956792
Test: Select AVRCP version through developer option
Merged-In: I7d4b1bd23342d1a96ffdf08bb7d6d3c5e5fedca6
Change-Id: I7d4b1bd23342d1a96ffdf08bb7d6d3c5e5fedca6

7 years agoRemove the hardcoded color in main page
jackqdyulei [Wed, 22 Mar 2017 17:52:29 +0000 (10:52 -0700)]
Remove the hardcoded color in main page

Since we don't have grey background in settings page, we could
delete selectable_card and use default selectableItemBackground
instead.

Fix: 28129641
Fix: 36508801
Test: Screenshot
Change-Id: I2b61d8f2214df681a0db7f697fcc6a87dc7d78cb

7 years agoMerge "Fix a monkey crash when it dismisses suggestion."
TreeHugger Robot [Wed, 22 Mar 2017 18:34:55 +0000 (18:34 +0000)]
Merge "Fix a monkey crash when it dismisses suggestion."

7 years agoAVRCP version interop pereference (2/3)
Ajay Panicker [Mon, 20 Mar 2017 18:34:54 +0000 (11:34 -0700)]
AVRCP version interop pereference (2/3)

Add a mechanism to allow the user to select the AVRCP version broadcasted
through SDP in the developer options. This helps solve some interoperability
issues such as with Honda Carkits where broadcasting AVRCP version 1.6 causes
media metadata to fail.

Bug: 35956792
Test: Select AVRCP version through developer option
Change-Id: I7d4b1bd23342d1a96ffdf08bb7d6d3c5e5fedca6

7 years agoMerge "Rename remaining layouts to original search names"
Matthew Fritze [Wed, 22 Mar 2017 17:32:18 +0000 (17:32 +0000)]
Merge "Rename remaining layouts to original search names"

7 years agoMerge "Update preference text for Network & internet screen."
Doris Ling [Wed, 22 Mar 2017 17:22:27 +0000 (17:22 +0000)]
Merge "Update preference text for Network & internet screen."

7 years agoFix a monkey crash when it dismisses suggestion.
Fan Zhang [Wed, 22 Mar 2017 16:40:06 +0000 (09:40 -0700)]
Fix a monkey crash when it dismisses suggestion.

Change-Id: I300a49ed75381795b6532388f770847ed39a4c8c
Fix: 36509330
Test: make RunSettingsRoboTests

7 years agoMerge "Make percentage add up to dischargeAmount."
Lei Yu [Wed, 22 Mar 2017 16:49:20 +0000 (16:49 +0000)]
Merge "Make percentage add up to dischargeAmount."

7 years agoMerge "Use the same icon for battery"
Lei Yu [Wed, 22 Mar 2017 16:48:31 +0000 (16:48 +0000)]
Merge "Use the same icon for battery"

7 years agoRename remaining layouts to original search names
Matthew Fritze [Wed, 22 Mar 2017 16:02:01 +0000 (09:02 -0700)]
Rename remaining layouts to original search names

Change-Id: Ibb0aa087e797c3e7ae93556cf4a00d9746694532
Fixes: 32590887
Test: make RunSettingsGoogleRoboTests

7 years agoMerge "Show channel description."
TreeHugger Robot [Wed, 22 Mar 2017 14:03:56 +0000 (14:03 +0000)]
Merge "Show channel description."

7 years agoUpdate preference text for Network & internet screen.
Doris Ling [Tue, 21 Mar 2017 21:40:43 +0000 (14:40 -0700)]
Update preference text for Network & internet screen.

- Add footer info to Hotspot & tethering
- Add summary text for Data usage -> Network restrictions
- Update summary for Hotspot & tethering -> Portable Wi-Fi hotspot
- Remove quotes from Wi-Fi summary

Bug: 36296257
Test: make RunSettingsRoboTests

Change-Id: Ibab61b089521a3339e660e9df0db0cd1b316712b

7 years agoMove autofill app picker from advanced app to language page
Fan Zhang [Wed, 22 Mar 2017 00:26:59 +0000 (17:26 -0700)]
Move autofill app picker from advanced app to language page

Change-Id: I38979e17e51bda92179ca5b7ba4293677aa18a96
Fix: 36130404
Test: make RunSettingsRoboTests

7 years agoUpdate system setting page subtext
Fan Zhang [Tue, 21 Mar 2017 22:15:27 +0000 (15:15 -0700)]
Update system setting page subtext

- Move android version from about phone subtext to system update
- Updates strings for autofill, keyboard & input, factory reset, swipe
  for notification
- Add a new pref category for spell checker and personal dictionary
- Display "None" if any default app is not selected
- Display current keyboard type as language subtext

Bug: 36395109
Test: make RunSettingsRoboTests
Change-Id: Id6ca94ea31e55f1c1ec04e47dcf657a25c35c7fe

7 years agoUse the same icon for battery
jackqdyulei [Tue, 21 Mar 2017 23:56:41 +0000 (16:56 -0700)]
Use the same icon for battery

Before this cl, we use different battery icon in the following place:
1. half battery icon in settings page 1
2. full battery icon in settings shortcut(Long press app settings)

This cl refines them to use the same battery icon: full battery icon.

Bug: 36467034
Test: Screenshot
Change-Id: Ibec92ad057a47e6cc7763a4bc6e1e1c16c6288c0

7 years agoMerge "Misc search summary text updates."
TreeHugger Robot [Tue, 21 Mar 2017 23:47:30 +0000 (23:47 +0000)]
Merge "Misc search summary text updates."

7 years agoMerge "Update string char limit"
TreeHugger Robot [Tue, 21 Mar 2017 23:44:31 +0000 (23:44 +0000)]
Merge "Update string char limit"

7 years agoMerge changes I54360698,Ic8a3db21
TreeHugger Robot [Tue, 21 Mar 2017 23:04:07 +0000 (23:04 +0000)]
Merge changes I54360698,Ic8a3db21

* changes:
  Finish removing N/A DO disclosures from search index
  DO Disclosures: Combine personal and work CA cert

7 years agoUpdate SubscriptionManager API by replacing 'id' & 'idx' with 'index'.
Sanket Padawe [Mon, 20 Mar 2017 22:08:07 +0000 (15:08 -0700)]
Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'.

Bug: 35767068
Test: No build failure on update.
Change-Id: Ib7211a9d0c10a717bfd5a7b22b8bea2b3973d12f
Merged-in: Ib7211a9d0c10a717bfd5a7b22b8bea2b3973d12f

7 years agoMerge "Delete the estimated time in battery usage graph"
TreeHugger Robot [Tue, 21 Mar 2017 22:24:55 +0000 (22:24 +0000)]
Merge "Delete the estimated time in battery usage graph"

7 years agoMake percentage add up to dischargeAmount.
jackqdyulei [Tue, 21 Mar 2017 22:18:44 +0000 (15:18 -0700)]
Make percentage add up to dischargeAmount.

Refine it in PowerUsageAdvanced.

Bug: 35960502
Test: RunSettingsRoboTests
Change-Id: I46b06409102334e5e9eed4e540a27315a503f8b0

7 years agoMerge "Create a way to inject a WifiTracker into WifiSettings."
TreeHugger Robot [Tue, 21 Mar 2017 22:14:42 +0000 (22:14 +0000)]
Merge "Create a way to inject a WifiTracker into WifiSettings."

7 years agoUpdate string char limit
Fan Zhang [Tue, 21 Mar 2017 22:12:37 +0000 (15:12 -0700)]
Update string char limit

Test: builds
Change-Id: I77f6a9da33380e24c50255848e35bfe56b757ec7
Fix: 36410839

7 years agoMerge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
Sanket Padawe [Tue, 21 Mar 2017 22:12:55 +0000 (22:12 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."

7 years agoMerge "Update activity alias for developer settings activity"
TreeHugger Robot [Tue, 21 Mar 2017 22:03:34 +0000 (22:03 +0000)]
Merge "Update activity alias for developer settings activity"

7 years agoMerge "Fix some animation janks during code start."
TreeHugger Robot [Tue, 21 Mar 2017 21:57:01 +0000 (21:57 +0000)]
Merge "Fix some animation janks during code start."

7 years agoMisc search summary text updates.
Fan Zhang [Tue, 21 Mar 2017 21:13:18 +0000 (14:13 -0700)]
Misc search summary text updates.

- Remove static text from default app summaries.They will be filled
dynamically at runtime, so we don't need the static ones here.
- Remove summaryOn/summaryOff strings from a few fragments. Search
framework does not need them.

Change-Id: I165766073ba70aceead88c3df02d62f3700e4592
Fix: 36474747
Fix: 34573952
Test: run existing tests

7 years agoStandardize MasterSwitchPreference attr order.
Daniel Nishi [Tue, 21 Mar 2017 20:51:00 +0000 (13:51 -0700)]
Standardize MasterSwitchPreference attr order.

Test: Manual
Change-Id: Ib1072af6246696ed9f67922b2114a83ddea7015e

7 years agoDelete the estimated time in battery usage graph
jackqdyulei [Thu, 16 Mar 2017 02:27:31 +0000 (19:27 -0700)]
Delete the estimated time in battery usage graph

Bug: 31012673
Test: RunSettingsRoboTests
Change-Id: Icac85a5fc523b70904e048d17eace30c91fe54ee

7 years agoFix some animation janks during code start.
Fan Zhang [Tue, 21 Mar 2017 00:32:32 +0000 (17:32 -0700)]
Fix some animation janks during code start.

- Create a   summary placeholder for preferences with summary.
- Create a totally empty summary for prefernces without summary.
- For all dynamic prefs that has *no* SummaryLoader, add meta to set
their summary to empty.
- Other dynamic perfs has   as initial summary.

By doing this, all dynamic pref's height is fixed and will not change as
we update summaries, thus eliminating jank during cold start in each
page.

Also removed DashboardAlias for notification preference and default apps as a side fix.

Change-Id: Iec98b7ffef4e920bf573b2244ad04124c1c5d154
Fix: 36414481
Test: make RunSettingsRoboTests

7 years agoMerge "Update strings"
TreeHugger Robot [Tue, 21 Mar 2017 19:37:53 +0000 (19:37 +0000)]
Merge "Update strings"

7 years agoUpdate activity alias for developer settings activity
Fan Zhang [Tue, 21 Mar 2017 19:31:31 +0000 (12:31 -0700)]
Update activity alias for developer settings activity

Fix: 36432817
Test: rerun abvt test adb shell am instrument -w -e class
com.android.androidbvt.SysBugReportTests
com.android.androidbvt/android.support.test.runner.AndroidJUnitRunner

Change-Id: I6d45448e83fc25ad9cc77aa0edd979add56e28cf

7 years agoUpdate SubscriptionManager API by replacing 'id' & 'idx' with 'index'.
Sanket Padawe [Mon, 20 Mar 2017 22:08:07 +0000 (15:08 -0700)]
Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'.

Bug: 35767068
Test: No build failure on update.
Change-Id: Ib7211a9d0c10a717bfd5a7b22b8bea2b3973d12f

7 years agoUpdate strings
Fan Zhang [Tue, 21 Mar 2017 16:43:15 +0000 (09:43 -0700)]
Update strings

Fix: 36421690
Fix: 36432505
Fix: 36430514
Fix: 36431329
Fix: 36373539

Test: manual
Change-Id: Ia11d5ae340a7d8eef695ebe93d9e7fb50ecc91c0

7 years agoFinish removing N/A DO disclosures from search index
Bartosz Fabianowski [Mon, 20 Mar 2017 14:27:28 +0000 (15:27 +0100)]
Finish removing N/A DO disclosures from search index

DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL switches the remaining PreferenceControllers from setting visibility
to implementing isAvailable() instead.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I54360698f28b549b18cdc230e3b9087cf4e9ff4a