Commit Graph

34568 Commits

Author SHA1 Message Date
Fan Zhang
a278962dbc Refactor DefaultAppPicker to a general radio button picker
Bug: 36557316
Test: make RunSettingsRoboTests
Change-Id: I52985e527e55697cf29f8d97d775d4bbed025beb
2017-03-23 12:41:31 -07:00
TreeHugger Robot
f7e9d46370 Merge "Finalize strings for enterprise privacy" 2017-03-23 19:39:24 +00:00
Stephen Chen
91d13c1a3f Set WIFI_IP_SETTINGS as intent for ConfigureWifiSettings.
Bug: 34392691
Test: make, test intent on device.
Change-Id: Iaf692c0bff25763606d0c4cf0626ad13d0249d2f
2017-03-23 12:06:42 -07:00
Robin Lee
b0fa61685c Update strings for work sounds
Test: manual inspection, see pictures
Change-Id: Ib0bc4b95ee6edaefe18cbabbd9c23a6883aa9e97
2017-03-23 19:00:26 +00:00
Doris Ling
93582995da 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
2017-03-23 11:35:20 -07:00
TreeHugger Robot
866497392d Merge "Update final Wi-Fi strings." 2017-03-23 18:31:22 +00:00
Ajay Panicker
5f968a57c7 Merge "AVRCP version interop pereference (2/3)" am: db66a7b664 am: da582fa40d
am: 0ae97550ee  -s ours

Change-Id: Ibe4bc0f1bc067d2fb7560e2b03e09e1dea8c70ee
2017-03-23 18:08:44 +00:00
Ajay Panicker
0ae97550ee Merge "AVRCP version interop pereference (2/3)" am: db66a7b664
am: da582fa40d

Change-Id: I79cb69494d6d3860494f4fa36f44095e1d2c6c6f
2017-03-23 18:03:57 +00:00
Ajay Panicker
250e18c439 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
2017-03-23 10:57:30 -07:00
Ajay Panicker
da582fa40d Merge "AVRCP version interop pereference (2/3)"
am: db66a7b664

Change-Id: Ia70a81c027d2e81b01f279c2816de41ef915c0f8
2017-03-23 17:56:28 +00:00
Treehugger Robot
db66a7b664 Merge "AVRCP version interop pereference (2/3)" 2017-03-23 17:49:58 +00:00
Daniel Nishi
49118e7e01 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
2017-03-23 10:34:06 -07:00
Daniel Nishi
5959c9279e Update the donut view to handle new string.
Change-Id: Idb5cec6d8169f3d229375faecc4bf96501481112
Fixes: 36224266
Test: Manually verified
2017-03-23 10:29:14 -07:00
Bartosz Fabianowski
193e0bedac Finalize strings for enterprise privacy
A few more final string tweaks for the enterprise privacy page.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: Ib955aa5a6e756748ed7422021099234ad3fefa8b
2017-03-23 18:19:19 +01:00
TreeHugger Robot
b3f13f9f32 Merge "Update print setting summary to show number of services" 2017-03-23 17:16:20 +00:00
TreeHugger Robot
ae2850aea5 Merge "Update string for Do not disturb preference." 2017-03-23 16:51:07 +00:00
TreeHugger Robot
795619dba6 Merge "Move "scanning" from location setting actionbar to pref xml" 2017-03-23 16:02:02 +00:00
TreeHugger Robot
2e61afcddb Merge "Import translations. DO NOT MERGE" 2017-03-23 15:31:45 +00:00
Rubin Xu
9757ba4a6c Merge "Adjust text during work challenge unification" 2017-03-23 14:04:09 +00:00
TreeHugger Robot
51d6bcca4f Merge "New iteration of the Text-to-Speech settings." 2017-03-23 13:56:00 +00:00
Bill Yi
78f7e6181a Import translations. DO NOT MERGE
Change-Id: Id7690c22731b76968d733207154ce3554ce73527
Auto-generated-cl: translation import
2017-03-23 06:27:40 -07:00
Rubin Xu
83d47ed0d7 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
2017-03-23 09:44:58 +00:00
Charles He
b436519129 Merge "VPN settings: gray out always-on checkbox dynamically" 2017-03-23 08:49:47 +00:00
TreeHugger Robot
3fe93767cb Merge "Add double-tap & lift gestures to display settings" 2017-03-23 05:09:50 +00:00
Steven Moreland
544c820ac7 Revert "Development Options: toggle binderized hals"
This reverts commit 73dd0ae30e.

Reason for revert: b/34274385 - This was a temporary setting.

Change-Id: I98b2d05c431bb5361b11cd3b05b7f5ac4e939e0e
2017-03-23 05:07:53 +00:00
TreeHugger Robot
37fcb9d4e3 Merge "Add default value to Bluetooth AVRCP version property get" 2017-03-23 03:03:49 +00:00
Amin Shaikh
3bfa4c9797 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
2017-03-22 19:51:54 -07:00
Fan Zhang
01ece62faa 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
2017-03-22 18:27:19 -07:00
TreeHugger Robot
b0967c8287 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
2017-03-23 01:26:48 +00:00
Andrew Sapperstein
6138f1ab31 Add double-tap & lift gestures to display settings
Now they're in both languages & input and display.

Change-Id: Ib0d9fa1aa39656662307e2fc8fda70443f1ae8ed
Fixes: 36415612
Test: robotests
2017-03-22 18:20:37 -07:00
Ajay Panicker
bb1174de5e 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
2017-03-23 01:09:55 +00:00
Sanket Padawe
07328d3983 Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." am: bd9ce2e4b1 am: f54df6ccfb
am: 5642aa4ae8  -s ours

Change-Id: Ida22695c5e2d9e7db21a71821d6b7efb4ceeb4e3
2017-03-23 01:07:13 +00:00
Sanket Padawe
5642aa4ae8 Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." am: bd9ce2e4b1
am: f54df6ccfb

Change-Id: I317f715ee814ee1511e67cc57e11ea43af9a2a4c
2017-03-23 00:58:29 +00:00
Sanket Padawe
f54df6ccfb Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
am: bd9ce2e4b1

Change-Id: I361f7c1747ab1f16cce149d78cc219f83a16948c
2017-03-23 00:45:56 +00:00
TreeHugger Robot
bd1d698b57 Merge "Add summary text for wallpaper settings." 2017-03-23 00:21:06 +00:00
Fan Zhang
2d4d993ef3 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
2017-03-22 17:04:50 -07:00
Doris Ling
9c893bc0a7 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
2017-03-22 16:49:17 -07:00
Doris Ling
ee3797005f Update string for Do not disturb preference.
Bug: 34975939
Test: builds
Change-Id: I4567b9133deae1c52741d6f0d48d95be642bf2d2
2017-03-22 16:34:37 -07:00
TreeHugger Robot
f5960f559f Merge "Update summary text for Wi-Fi hotspot" 2017-03-22 23:34:24 +00:00
TreeHugger Robot
7de6dbb2d5 Merge "Add test config to SettingsUnitTests" 2017-03-22 23:16:06 +00:00
Daniel Nishi
fda5d5a6a8 Update the system info dialog.
The string is updated as well as where the dialog shows up.

Change-Id: If1a3b17dca04fe81f52dbdc2353db34ce7adc49a
Fixes: 34857117
Test: Robotest
2017-03-22 16:12:55 -07:00
Fan Zhang
5ae37599b4 Update string character limit
Change-Id: I6e31a7ca637c37d9bd3a99a078b62cba3d5a7b54
Fix: 36400209
Test: manual
2017-03-22 16:11:59 -07:00
Fan Zhang
09c7f15b12 Convert BT preference to use TwoTargetPreference
Change-Id: I0b49af4afb4b782a6057060b2666f6528bc003b2
Fix: 36511169
Test: make RunSettingsRoboTests
2017-03-22 16:03:45 -07:00
Fan Zhang
fe292515d8 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
2017-03-22 16:03:40 -07:00
Doris Ling
33a247ac16 Add summary text for wallpaper settings.
Bug: 34975969
Test: builds
Change-Id: If6e24aa45590b70aab16effec322cf7100cffb09
2017-03-22 15:04:07 -07:00
Doris Ling
a4a84229f7 Update summary text for Wi-Fi hotspot
Bug: 36296257
Test: builds
Change-Id: Ib8d363ec23528bd2520509f6cefc5f49848cd3d5
2017-03-22 14:56:41 -07:00
Lei Yu
9635123aab Merge "Remove the hardcoded color in main page" 2017-03-22 21:48:02 +00:00
Sanket Padawe
bd9ce2e4b1 Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." 2017-03-22 21:27:22 +00:00
jackqdyulei
71a0574141 Change dialog theme for dialog activity.
Before this cl, all dialog activities use theme
Theme.DeviceDefault.Light.Dialog.NoActionBar. In this cl
we change it to Theme.DeviceDefault.Settings.Dialog.NoActionBar

Bug: 36099867
Bug: 36295409
Test: Screenshot
Change-Id: I2328aad1dce636f2314538d548a49f7a6401eae5
2017-03-22 14:25:15 -07:00
Bookatz
eb602e5504 Update FakeUid with new methods
BatterystatsImpl has new methods for background accounting for Wifi and
Bluetooth scanning. These methods are added to FakeUid.java here.

Bug: 35679958
Bug: 35677312
Bug: 35673525
Test: see ag/2010580
Change-Id: I706f28ba8faaf89e9fde25814e9c583c4731d3de
2017-03-22 14:11:51 -07:00