Commit Graph

11147 Commits

Author SHA1 Message Date
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
b6c4241725 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-07 04:20:23 +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
Fan Zhang
4152800cd7 Misc fix on top level items.
- Update security tile title

Change-Id: I758a51f8c2d4279e506552c11596edd734275ff9
Bug: 34975053
Test: make RunSettingsRoboTests
2017-02-06 17:59:26 -08:00
TreeHugger Robot
2d7d53edd6 Merge "Update the color for the master switch divider." 2017-02-07 01:55:21 +00:00
Doris Ling
e5d0eca799 Merge "Combine Language & region and Input & gestures in System settings." 2017-02-07 01:51:20 +00:00
Bill Yi
5d0af58793 Import translations. DO NOT MERGE
Change-Id: Iad621de4653a4ebbf3e3161a58ec8edb40e26022
Auto-generated-cl: translation import
2017-02-06 17:12:48 -08:00
Bill Yi
eaaab9ecc4 Import translations. DO NOT MERGE
Change-Id: Id5c4337157e0839944afe449aa7f808f44709dd0
Auto-generated-cl: translation import
2017-02-06 17:07:30 -08:00
Doris Ling
d0a400b21b Update the preference category title text color.
Change the title color to colorAccent to be more visible.

Change-Id: Ia284fe7a17f3e769ebe97ad87f46b426942c39e8
Fix: 34978404
Test: Visual
2017-02-06 16:17:05 -08:00
Suprabh Shukla
f61f11b870 Removing unknown sources from security settings
The secure setting is deprecated starting from O. Removing it from the
settings UI so the user cannot change it. The unknown sources can be
managed at a more granular level by starting activity for intent
MANAGE_EXTERNAL_SOURCES

Test: Manually tested that the preference is removed and does not
disturb the other settings on the page.

Bug: 33947615

Change-Id: I8dc559d0e6aaaf5bad78fb6e04469d9ab647411d
2017-02-06 15:27:46 -08:00
Fan Zhang
ebccf8d093 Update "more" icon so the 3 dots are perfectly round. am: de172c7727
am: 5b27d0638e

Change-Id: I97985601d1e7f6bf643f2109329d42e457e4d0cc
2017-02-06 23:13:00 +00:00
TreeHugger Robot
5d53f98eaf Merge "Move Special access from Default apps to Apps & notifications." 2017-02-06 23:07:51 +00:00
Fan Zhang
5b27d0638e Update "more" icon so the 3 dots are perfectly round.
am: de172c7727

Change-Id: I66f612778874d84e23f0e757b4138df1672c4226
2017-02-06 23:03:11 +00:00
Doris Ling
4f1eca05be Update the color for the master switch divider.
Change the background attr for the divider to dividerVertical.

Change-Id: I6437c74c0951e43c6d438d282f7c686249cb9dd6
Fix: 34978085
Test: Visual
2017-02-06 14:40:13 -08:00
Sundeep Ghuman
f200005086 Create a new PreferenceCategory for the current AP.
This highlights the currently connected ap in it's own category.

Bug: 34714183
Test: Manual inspection with connected AP, APs available but not
connected, and Wifi off.

Change-Id: I100bcf5b0bdc7b4f725f2ff630aa885dbca90332
2017-02-06 14:38:06 -08:00
jackqdyulei
a224b010b9 Create Advanced battery page
The advanced page shows two major parts, one is the battery usage
graph and the other is battery usage list. In usage list, each item
shows basic info of battery usage of one type(e.g. Apps, System)

Bug: 34385770
Test: RunSettingsRoboTests

Change-Id: I22475a489285787afa775af8d5ae3340eff1eed9
2017-02-06 13:44:59 -08:00
TreeHugger Robot
c2ff3b972c Merge "Make picker icons scale larger." 2017-02-06 21:18:09 +00:00
Doris Ling
9cdae72ba9 Move Special access from Default apps to Apps & notifications.
Update the apps settings xmls to move Special access up one level.

Change-Id: I5ac6ec65ce0a296c0152ce8a793e145b44c01f4a
Fix: 34976728
Test: Visual
2017-02-06 13:02:14 -08:00
Fan Zhang
de172c7727 Update "more" icon so the 3 dots are perfectly round.
Bug: 28194068
Test: visual
Change-Id: I23040c7fa638084fc653484e431039701c34bcb0
2017-02-06 20:40:22 +00:00
Doris Ling
34cfd2e24f Combine Language & region and Input & gestures in System settings.
Merge preferences into one page, and update test.

Bug: 34976047
Test: make RunSettingsRoboTests
Change-Id: I5f15192e42f6054c02d4c8ffa9f25db3075da409
2017-02-06 11:46:48 -08:00
Stephen Chen
ac9f4af5e2 Make picker icons scale larger.
Bug: 34775322
Test: manual inspection.
Change-Id: Iaaa859874ec25a50677cb00bd963fc869c5b9649
2017-02-03 15:40:56 -08:00
Bill Yi
10246513d7 Import translations. DO NOT MERGE
Change-Id: Ia85a96f8c54e8cf487af5a395ab222b7fe25db15
Auto-generated-cl: translation import
2017-02-02 23:43:15 -08:00
songchenxi
80d38d6735 Provide more context for "App-level permissions"
Test: Manual
bug: 34795904
Change-Id: I79d9895b4c719bbd742d1714b909b2766b279dff
2017-02-02 14:42:44 -08:00
TreeHugger Robot
00537955f2 Merge "Hide ConfigureWifiPreference tiles behind Advanced" 2017-02-02 18:08:47 +00:00
TreeHugger Robot
04354e1fda Merge "Fix string translation by providing context" 2017-02-02 17:41:21 +00:00