Commit Graph

11018 Commits

Author SHA1 Message Date
Philip Quinn
a9831d40d0 Add settings for the assist gesture.
Availability of the gesture is gated by a new FeatureProvider.

Test: make -j RunSettingsRoboTests; manual test on
      supported/unsupported configurations.

Change-Id: I3529367a73e33370d5112b91d5144293ffa7fa22
2017-02-14 16:45:23 -08:00
Fan Zhang
a516a22239 Update char_limit for new string
Change-Id: I49fc0522a5522bf5dae16d1a2d12e2819eee7a2a
Fix: 35187169
Test: build
2017-02-13 16:44:18 -08:00
TreeHugger Robot
33b0a66aee Merge changes from topic 'hotspot_summary'
* changes:
  Display current vpn for Vpn preference summary text
  Display carrier network name as celluar setting summary.
  Add hotspot summary text
2017-02-13 21:51:11 +00:00
Fan Zhang
c689d136c1 Add hotspot summary text
Bug: 34974598
Test: RunSettingsLibRoboTests

Change-Id: If5d17bf458f980b4f3a8fdeb4718bbf5d2993a21
2017-02-13 13:18:35 -08:00
TreeHugger Robot
85de8ad126 Merge "Add BatteryMeterView in Settings" 2017-02-13 20:45:17 +00:00
jackqdyulei
51967c0e6a Add BatteryMeterView in Settings
1. Show gauge icon at the top of battery main page instead of
battery usage graph.
2. Move the click action from battery usage graph to gauge icon.

Bug: 34387464
Test: RunSettingsRoboTest

Change-Id: Ib182619d6805b401cde03a50e2ae907cf4df7b94
2017-02-13 11:03:07 -08:00
Bill Yi
2c3d473e3a Import translations. DO NOT MERGE
Change-Id: Ic5485e66425141363f2c338fa41dc94816916eec
Auto-generated-cl: translation import
2017-02-12 22:56:48 -08:00
Fan Zhang
1afcfa62c5 Merge "Update storage setting summary text format." 2017-02-10 21:58:34 +00:00
TreeHugger Robot
6c8bf4645c Merge "Don't truncate the GB used string." 2017-02-10 03:13:51 +00:00
Fan Zhang
ec463f8f1b Merge "Update top level menu items summary text." 2017-02-10 01:27:02 +00:00
TreeHugger Robot
5c29cfad84 Merge "Removing one all-purpose developer tile and replacing it with 4 separate tiles, for individual actions. Also adding a section in Developer Options for enabling these individual tiles." 2017-02-10 01:11:29 +00:00
Fan Zhang
4f9e8d4a14 Update storage setting summary text format.
New format: 38% used - 19.80 GB free

Bug: 34975053
Test: make RunSettingRoboTests
Change-Id: I7c8f5f0fe825eade8167764622c940e8234be6a9
2017-02-09 17:08:34 -08:00
TreeHugger Robot
97ce4d05d0 Merge "Increasing char limit for string" 2017-02-09 23:57:34 +00:00
Fan Zhang
7520e81ab5 Update top level menu items summary text.
- Use static summary for most items
- Move summary for user setting to user&account setting

Bug: 34975053
Test: RunSettingsRoboTests
Change-Id: I9bf87267778dc5933f97f5d3b9ae0f4f0b8da1a8
2017-02-09 15:22:47 -08:00
Fan Zhang
5780f569e9 Merge "Convert auto-fill default selector to full screen pattern." 2017-02-09 22:36:58 +00:00
TreeHugger Robot
cce13dcb52 Merge "Remove Downloads backup options." 2017-02-09 22:33:52 +00:00
Fan Zhang
f8f55e574d Convert auto-fill default selector to full screen pattern.
Bug: 34280137
Test: RunSettingsRoboTests
Change-Id: Icde3bcaf11615010d481f39d8b32d28dfc120018
2017-02-09 12:45:53 -08:00
Fan Zhang
b39805e0d4 Code clean up
- Remove unused DashboardTilePreference class
- Use FooterPreference in ManageAssist fragment
- reformat manage_assist xml file

Bug: 35203386
Test: visual
Change-Id: If3dbbd0fb1977d6f3c7dbf4544d71f5e6e801327
2017-02-09 11:39:03 -08:00
Antony Sargent
3fca717d3b Merge "Infrastructure for showing instant app metadata in app header" 2017-02-09 18:02:38 +00:00
Gustav Sennton
9ae1b8b046 Merge "Have WebView Implementation Dev Setting use DefaultAppPickerFragment." 2017-02-09 17:36:33 +00:00
Gustav Sennton
5b596285a0 Have WebView Implementation Dev Setting use DefaultAppPickerFragment.
Make the WebView Implementation Dev Setting look like the fullscreen
settings deriving from DefaultAppPickerFragment.
Point the Activity opened through Settings.ACTION_WEBVIEW_SETTINGS to
the class WebViewAppPicker which is our new implementation of the
WebView Implementation setting.

Ensure the new setting closes if it is reached from a user that isn't an
admin of the device.

Bug: 34806477
Bug: 34966439
Test: Ensure WebView implementation Dev Setting looks ok (disabled
packages should have a text showing why they cannot be chosen).
Test: Start Intent with action Settings.ACTION_WEBVIEW_SETTINGS and
ensure the started Activity looks similar to the WebView Implementation
Dev Setting.
Test: Ensure picking a package that is no longer active, updates the
setting (so that package isn't visible anymore).
Change-Id: I08007c515193739ad61dfd735bb5130fc07bd6e6
2017-02-09 10:17:17 +00:00
TreeHugger Robot
858c936be6 Merge "Import translations. DO NOT MERGE" 2017-02-09 07:43:04 +00:00
Suprabh Shukla
95960c8b46 Increasing char limit for string
Translation in other languages requires more characters and the ui
element is reasonably wide to accommodate more characters. Also removed
an unused string.

Test: N/A

Bug:34720313

Change-Id: I059bea0d768ee50267f865e55915f4cec8e883ba
2017-02-08 18:51:11 -08:00
Bill Yi
7c158979f1 Import translations. DO NOT MERGE
Change-Id: I9af5e9aadd1a56c25e96c7e476f266a4e5e27e2d
Auto-generated-cl: translation import
2017-02-08 18:50:10 -08:00
Fan Zhang
62e66c9ca4 Move GearPreference to widget package.
- This is step1 of making gear preference more flexible to use.

Bug: 33579296
Test: builds
Change-Id: I30ac6c75f7ad16ec5c732fbb93170e5fab0eacb7
2017-02-08 16:09:12 -08:00
Antony Sargent
f3ddd87c7a Infrastructure for showing instant app metadata in app header
This adds infrastructure for displaying the following instant app
metadata in the app header:
-Developer title
-Maturity Rating icon and description string
-Monetization notice (eg ads and/or in-app purchases)

Bug: 35098444
Test: includes new robotests in AppHeaderControllerTest.java
Change-Id: Ifadfedc7f5f349869d6616aeb5ed19eb2b22a038
2017-02-08 15:58:24 -08:00
TreeHugger Robot
2470b1e142 Merge "Hide "Use network recommendations" in Settings." 2017-02-08 23:12:54 +00:00
TreeHugger Robot
9fefed9d5f Merge "Change PreferenceCategory margins." 2017-02-08 22:58:53 +00:00
Daniel Nishi
2e7f309226 Don't truncate the GB used string.
Bug: 34690731
Test: Settings robotest
Change-Id: I2d809c0f80dad48a3bfecf6a6f2240129d54370e
2017-02-08 14:49:23 -08:00
TreeHugger Robot
72d078852c Merge "Fix wrong pref text on default apps" 2017-02-08 21:55:09 +00:00
Stephen Chen
91acf78173 Hide "Use network recommendations" in Settings.
Bug: 35141347
Test: make -j40 RunSettingsRoboTests, manual inspection
Change-Id: I7661ef141aeb95d5ec707b8a066818892c3fa870
2017-02-08 13:42:19 -08:00
TreeHugger Robot
d924fdac58 Merge "Notification app screen updates" 2017-02-08 21:32:17 +00:00
Lei Yu
a62b49611e Merge "Create Advanced battery page" 2017-02-08 20:33:35 +00:00
Fan Zhang
fa67b1c414 Fix wrong pref text on default apps
Test: visual
Change-Id: I3f3e923ed0cebcffc5fc737353a781ecad21bf09
2017-02-08 12:11:06 -08:00
TreeHugger Robot
336839e0f9 Merge "Update App Info page layout." 2017-02-08 19:58:13 +00:00
Julia Reynolds
6f57f2c2af Notification app screen updates
- Load channels asynchronously
- Add importance summary & block/unblock toggle for channel list
- Change channel list headers and sorting.

Test: manual
Change-Id: If024c741df4d85227055563d5bbc8210705c420b
2017-02-08 14:49:01 -05:00
Sunny Goyal
c960751e0a Removing one all-purpose developer tile and replacing it with 4 separate tiles,
for individual actions. Also adding a section in Developer Options for enabling
these individual tiles.

Bug: 34813634
Bug: 34909670
Test: Manually tested on device
Change-Id: I3adf5498f8b72959cb68cd508c44d87f953e450a
2017-02-08 10:13:25 -08:00
Doris Ling
bbd80517f0 Merge "Update text for User & accounts page." 2017-02-08 18:12:01 +00:00
TreeHugger Robot
5dd23cb52f Merge "Misc fix on top level items." 2017-02-08 05:54:35 +00:00
Sundeep Ghuman
435c6ca014 Change PreferenceCategory margins.
Top and bottom margins of the frame layout are changed to 8dp per bug
request. A 16dp top margin was added to the title in order to match
mocks provided in bug.

This also fixes the WifiPicker currently connectected access point to
make it centered.

Bug: 34978500, 34714183
Test: Visual. See screenshot in comments.
Change-Id: Idfa978b2defeb9b3f16651d670c5578f33b02656
2017-02-07 19:44:06 -08:00
Suprabh Shukla
5ccb207352 Merge "Removing unknown sources from security settings" 2017-02-08 01:53:29 +00:00
Daniel Nishi
99228286a4 Remove Downloads backup options.
Bug: 32338407
Test: Manual -- Downloads was added before we really started adding
tests.

Change-Id: Ifd8b3dcd42e7c5c4017bdbc7e6aedcab653f216d
2017-02-07 16:57:04 -08:00
Doris Ling
3fc34b65dc Update App Info page layout.
- Update the header view layout to move the app icon to the left.
- Re-order the preference items on the page: Notifications,
  Permissions, Storage, Data usage, Battery, Default

Change-Id: I936df7ed8305c0b5deae8b1d812e05833c2b7f11
Bug: 34977561
Test: Visual
2017-02-07 14:56:28 -08:00
TreeHugger Robot
14c2050330 Merge "Misc fix on network & internet screen for developer preview" 2017-02-07 21:34:17 +00:00
Doris Ling
829d3aaa7a Update text for User & accounts page.
- Add the user name to the Account preference group title.
- Add the summary text to Emergency information.

Bug: 34976320
Test: make RunSettingsRoboTests
Change-Id: I771e355ce3b313ffa50feb5c5e7907b1f3857592
2017-02-07 10:35:47 -08:00
TreeHugger Robot
f8f22c99ed Merge "Import translations. DO NOT MERGE" 2017-02-07 07:34:09 +00:00
TreeHugger Robot
7ee7cc4ce6 Merge "Update the preference category title text color." 2017-02-07 05:28:00 +00:00
TreeHugger Robot
df60a9e990 Merge "Create a new PreferenceCategory for the current AP." 2017-02-07 02:45:16 +00:00
TreeHugger Robot
05d5061859 Merge "Specify the fragment to launch when default home is clicked." 2017-02-07 02:20:57 +00:00
Fan Zhang
56199e9487 Misc fix on network & internet screen for developer preview
- Move wifi calling into wifi preference screen
- Update tethering setting title
- Ripple for master swtich preference only apply on the left half.
- Move network reset to action bar overflow menu

Fix: 34974598
Fix: 34976385
Test: RunSettingsRoboTests
Change-Id: I0e11843efc52a0042784a4da46b7ac81fcf16138
2017-02-06 18:14:14 -08:00