Commit Graph

33315 Commits

Author SHA1 Message Date
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
Bill Yi
fd1e070118 Import translations. DO NOT MERGE am: f9ef17c68e -s ours
am: 041604d96c  -s ours

Change-Id: I76874501b061b686216005345c77a2b9f2af54f3
2017-02-09 07:52:33 +00:00
Bill Yi
041604d96c Import translations. DO NOT MERGE
am: f9ef17c68e  -s ours

Change-Id: I513f51ecded981e02286080868d12e12e008c5d9
2017-02-09 07:50:02 +00:00
TreeHugger Robot
858c936be6 Merge "Import translations. DO NOT MERGE" 2017-02-09 07:43:04 +00:00
Bill Yi
f9ef17c68e Import translations. DO NOT MERGE
Change-Id: I48c8f3d9a4b34c83e0bc5737446c002584ef86a7
Auto-generated-cl: translation import
2017-02-08 18:55:40 -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
Fan Zhang
4be105e9f4 Checke radio on default app screen if there's 1 option only
Change-Id: Ib091eb033ce541dc6a6d97ef45a15a5eb957e405
Fix: 34746591
Test: make RunSettingsRoboTests -j40
2017-02-08 15:37:38 -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
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
Daniel Nishi
10ec524e61 Merge "Use the "fast track" storage calculation for all categories." 2017-02-08 21:23:02 +00:00
Lei Yu
a62b49611e Merge "Create Advanced battery page" 2017-02-08 20:33:35 +00:00
TreeHugger Robot
ad027914d8 Merge "Fix for null pointer when launching Connected devices." 2017-02-08 20:11:09 +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
Doris Ling
bbd80517f0 Merge "Update text for User & accounts page." 2017-02-08 18:12:01 +00:00
Christine Franks
17f16f6b98 Merge "Require password to FR in carrier demo mode" 2017-02-08 17:25:17 +00:00
Rubin Xu
d0de9e85d5 Merge "Deprecate old LockPatternUtils.clearLock()" 2017-02-08 16:04:29 +00:00
Christine Franks
d7713c9d95 Require password to FR in carrier demo mode
Bug: 34341567
Test: manual - password is not required for regular user factory
resets and is required in carrier demo mode.

Change-Id: Ic594ebafdac02fc467dc6b2e46dfbd520db3ce9f
2017-02-08 07:44:57 -08:00
Julia Reynolds
aa6e4b5b93 Merge "Api change." 2017-02-08 13:34:31 +00:00
TreeHugger Robot
b1934adfb7 Merge "Fix music crash regression: Part Deux." 2017-02-08 10:18:27 +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
Doris Ling
b2539e010f Fix for null pointer when launching Connected devices.
Check for null usb port before trying to loop through the list.

Change-Id: I37e44fac234fc6e774b8280509fb33e6165ce2dd
Fix: 35102512
Test: make RunSettingsRoboTests
2017-02-07 17:20:21 -08:00
TreeHugger Robot
b4645cf3de Merge "Add summary provider for Cast Setting (WifiDisplaySettings)" 2017-02-07 23:58:16 +00: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
Daniel Nishi
a4739b9f51 Fix music crash regression: Part Deux.
Bug: 34888282
Test: Manual as a result of 34768986
Change-Id: Icebcb49befed5cc39eef7707ca6d97c45ec958aa
2017-02-07 14:43:43 -08:00
TreeHugger Robot
14c2050330 Merge "Misc fix on network & internet screen for developer preview" 2017-02-07 21:34:17 +00:00
Junda Liu
249077a0cd Merge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev am: 18fce0a7cf
am: dd9d72df53

Change-Id: I67aaada84389e24b153b514c936c0f72f7bcf641
2017-02-07 20:43:19 +00:00
Junda Liu
bd051dcad5 Ignore orientation change to preserve ApnEditor. am: 76ad635ef7
am: d7a13ef2b6

Change-Id: I98c554d475ba3bdd24dfd3bcb6d4597f514b440c
2017-02-07 20:43:05 +00:00
Junda Liu
dd9d72df53 Merge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev
am: 18fce0a7cf

Change-Id: I0492b3bd442c381f2b7b75707719cc3631bda796
2017-02-07 20:40:12 +00:00
Junda Liu
d7a13ef2b6 Ignore orientation change to preserve ApnEditor.
am: 76ad635ef7

Change-Id: Ic32658c295821565d1c20245d0f8cb99942639e6
2017-02-07 20:40:11 +00:00
Junda Liu
18fce0a7cf Merge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev 2017-02-07 20:35:47 +00:00
TreeHugger Robot
89e1721115 Merge "Re-add the break statement that was accidentally removed." 2017-02-07 20:34:53 +00:00
Stephen Chen
aa0baffe32 Merge "Change number of showing tiles in ConfigureWifiSettings." 2017-02-07 20:23:01 +00:00
Stephen Chen
9f13c02e2d Change number of showing tiles in ConfigureWifiSettings.
Test: manual inspection.
Change-Id: Ieecbff4416c69e902b9f0c5b4e4fc91907420b17
2017-02-07 12:21:01 -08:00
TreeHugger Robot
b692056232 Merge "Add Adaptive brightness as an inline result in Search" 2017-02-07 20:12:37 +00:00
Fan Zhang
5561543a27 Add summary provider for Cast Setting (WifiDisplaySettings)
Change-Id: Ieaf413e3d698a9cbcb0560bfa65f380675677a74
Fix: 34976128
Test: make RunSettingsRoboTests
2017-02-07 12:05:29 -08:00
TreeHugger Robot
47124e30ec Merge "Installed App loader only matches on prefixes" 2017-02-07 19:13:59 +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
Daniel Nishi
3dfbc46c0e Re-add the break statement that was accidentally removed.
This fixes the problem where the game fragment starts at the same
time as external sources.

Bug: 35056002
Test: b/34768986
Change-Id: Ie35decc627dc6bec493a8c1f1976dc11d460f5fe
2017-02-07 09:40:54 -08:00