Commit Graph

33929 Commits

Author SHA1 Message Date
Sooraj Sasindran
8cd6d07ef2 Provide calling package name in cell info APIs
Provide calling package name in cell info APIs

BUG=31041780

Merged-In: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
2017-02-09 22:01:56 +00:00
TreeHugger Robot
37c06e1fb3 Merge "Don't show multiple wipe warning dialogs" 2017-02-09 21:18:48 +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
Robin Lee
c1cb8a4c2d Don't show multiple wipe warning dialogs
Stacking them on top of each other like that does not count as defence
in depth and we should not do it.

Bug: 32934848
Test: make RunSettingsRoboTests # added one specifically for this
Change-Id: I9490652c05a630e7c3f9164a9144fadfc0f41ea1
2017-02-09 19:33:00 +00:00
Antony Sargent
3fca717d3b Merge "Infrastructure for showing instant app metadata in app header" 2017-02-09 18:02:38 +00:00
jackqdyulei
ef48c131c7 Distribute all the hidden items to apps
1. Add screen check in the shouldHideSipper()
2. remove all the battery usage for hiddenSipper from
percentage calculation, in this way we can distribute
hidden sippers to all the apps

Bug: 35153599
Test: RunSettingsRoboTests
Change-Id: I82673b282c14c92269d7f8bc71e07de90a37720c
2017-02-09 09:43:43 -08:00
Gustav Sennton
9ae1b8b046 Merge "Have WebView Implementation Dev Setting use DefaultAppPickerFragment." 2017-02-09 17:36:33 +00:00
Julia Reynolds
e971015fd9 Link back to app settings from channel page
Test: manual
Change-Id: Ieb1118bd662a662bd34027f2ef44b420d4c94183
2017-02-09 10:08:52 -05: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
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
Daniel Nishi
a412c30d90 Fix a race condition where the extra view may not update timely.
Previously, we queried for the extra view's stats during the rebuild.
The full rebuild can take an arduous amount of time. By moving the
background calculation outside of the rebuild code path, we can
load the stats in the background and update the view outside of the
app loading cycle.

Bug: 35144044
Test: Manual -- this was race condition-y, so I just tested several
times.

Change-Id: Id2f92e32c3b3f9c5d5cf4a7308cca38c2e52789c
2017-02-08 16:12:15 -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
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
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
Daniel Nishi
de9e642bff Don't show games and music apps in Other Apps.
Bug: 35143240
Test: SettingsLib Robotests
Change-Id: I0805de4f7e88206618cdbd4148752df8336204f6
2017-02-08 12:20:04 -08: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
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
Junda Liu
f414d58ddf Ignore orientation change to preserve ApnEditor.
Test: manually w/ Vzw and Tmo SIM on marlin. UI rotates while preserving
all values
Bug: b/34956985
Change-Id: I1db34893fd91f99e38913565e7b67ccbfdcb0c93
(cherry picked from commit 76ad635ef7)
2017-02-08 18:04:24 +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
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
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