OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoresolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
Philip P. Moltmann [Tue, 14 Feb 2017 18:27:10 +0000 (18:27 +0000)]
resolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
am: afe6320d70

Change-Id: I514cc08bef8ef2b76d90628ae3b21833d3bda206

7 years agoresolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
Philip P. Moltmann [Tue, 14 Feb 2017 17:45:51 +0000 (09:45 -0800)]
resolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp

Test: built
Change-Id: I156db22c13da98bce0077b2acb8d9f1a3d2ce406

7 years agoMerge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into...
Philip P. Moltmann [Tue, 14 Feb 2017 16:03:27 +0000 (16:03 +0000)]
Merge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into nyc-mr2-dev

7 years agoMerge "Change "Long pressing work mode in quick settings" to managed profile settings"
Ricky Wai [Tue, 14 Feb 2017 11:14:08 +0000 (11:14 +0000)]
Merge "Change "Long pressing work mode in quick settings" to managed profile settings"

7 years agoMerge "CredentialFragment anti-pocket dialing measures."
TreeHugger Robot [Tue, 14 Feb 2017 11:13:59 +0000 (11:13 +0000)]
Merge "CredentialFragment anti-pocket dialing measures."

7 years agoChange "Long pressing work mode in quick settings" to managed profile settings
Ricky Wai [Wed, 1 Feb 2017 15:26:29 +0000 (15:26 +0000)]
Change "Long pressing work mode in quick settings" to managed profile settings

Test: Long pressing work mode can go to managed profile settings now.

Bug: 34189626
Change-Id: I84820b1ce0a5693f36236c1bb512c99db3c6e9df

7 years agoMerge "Add logging for settings"
TreeHugger Robot [Tue, 14 Feb 2017 03:01:29 +0000 (03:01 +0000)]
Merge "Add logging for settings"

7 years agoMerge "Update char_limit for new string"
TreeHugger Robot [Tue, 14 Feb 2017 02:21:20 +0000 (02:21 +0000)]
Merge "Update char_limit for new string"

7 years agoMerge "Deprecate SettingsDrawerActivity.openTile."
TreeHugger Robot [Tue, 14 Feb 2017 01:55:49 +0000 (01:55 +0000)]
Merge "Deprecate SettingsDrawerActivity.openTile."

7 years agoMerge "Add permission check to Intents used by Authenticator Settings."
Dmitry Dementyev [Tue, 14 Feb 2017 01:27:45 +0000 (01:27 +0000)]
Merge "Add permission check to Intents used by Authenticator Settings."

7 years agoAdd logging for settings
Fan Zhang [Mon, 13 Feb 2017 23:28:21 +0000 (15:28 -0800)]
Add logging for settings

- Log when navigating from Settings to injected tiles.
- Log when user creates a new widget shortcut

Fix: 33209678
Fix: 30137094
Test: RunSettingsRoboTests
Change-Id: I1e0f4e00709c392cde2550fafe53890836387c99

7 years agoUpdate char_limit for new string
Fan Zhang [Tue, 14 Feb 2017 00:44:18 +0000 (16:44 -0800)]
Update char_limit for new string

Change-Id: I49fc0522a5522bf5dae16d1a2d12e2819eee7a2a
Fix: 35187169
Test: build

7 years ago[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."
Philip P. Moltmann [Mon, 13 Feb 2017 20:58:46 +0000 (20:58 +0000)]
[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."

This reverts commit 81758edffae751c31fb1795febe470c171f7fb1b.

Bug: 30662828
Change-Id: I5c877a3a888f075afcfb9f49ec92cf3ad43f6304

7 years agoAdd permission check to Intents used by Authenticator Settings.
Dmitry Dementyev [Sat, 11 Feb 2017 00:51:51 +0000 (16:51 -0800)]
Add permission check to Intents used by Authenticator Settings.

Setting shares system uid and can be used to bypass different security
checks.
We add proper handling for intents which resolve toexported=true activities with permission filed.
Added nested preferences filtering.

Change-Id: If68343d155364654fa7db55ace3fb3c4db508c7e
Test: manual tests
Bug: 14408627

7 years agoFix a bug where SYNC_SETTINGS intent opens a blank page.
Fan Zhang [Mon, 13 Feb 2017 20:28:43 +0000 (12:28 -0800)]
Fix a bug where SYNC_SETTINGS intent opens a blank page.

Point to the intent to new IA fragment (User & Account)

Change-Id: I3880518f36f875091175432c5e91cfcd7edb42cd
Fix: 34395427
Test: run settings integ test

7 years agoDeprecate SettingsDrawerActivity.openTile.
Fan Zhang [Mon, 13 Feb 2017 22:24:36 +0000 (14:24 -0800)]
Deprecate SettingsDrawerActivity.openTile.

Use DashboardFeatureProvider to open tile instead. This makes logic more
centralized in one place, and makes logging easier in the future.

Bug: 30137094
Test: RunSettingsRoboTests
Change-Id: I8a028bb7cac8f70f6c237f253be8668cc3ef257e

7 years agoMerge changes from topic 'hotspot_summary'
TreeHugger Robot [Mon, 13 Feb 2017 21:51:07 +0000 (21:51 +0000)]
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

7 years agoDisplay current vpn for Vpn preference summary text
Fan Zhang [Sat, 11 Feb 2017 21:43:05 +0000 (13:43 -0800)]
Display current vpn for Vpn preference summary text

Change-Id: Id9917a07e519d16e2000b4fa9888f783171e55f8
Fix: 34974598
Test: RunSettingsRoboTests

7 years agoDisplay carrier network name as celluar setting summary.
Fan Zhang [Sat, 11 Feb 2017 18:43:52 +0000 (10:43 -0800)]
Display carrier network name as celluar setting summary.

Bug: 34974598
Test: make RunSettingsRoboTests
Change-Id: I99436337919440e0dd21653f9ea63d6f3a694df0

7 years agoAdd hotspot summary text
Fan Zhang [Fri, 10 Feb 2017 02:04:00 +0000 (18:04 -0800)]
Add hotspot summary text

Bug: 34974598
Test: RunSettingsLibRoboTests

Change-Id: If5d17bf458f980b4f3a8fdeb4718bbf5d2993a21

7 years agoMerge "Add BatteryMeterView in Settings"
TreeHugger Robot [Mon, 13 Feb 2017 20:45:17 +0000 (20:45 +0000)]
Merge "Add BatteryMeterView in Settings"

7 years agoAdd BatteryMeterView in Settings
jackqdyulei [Thu, 2 Feb 2017 19:25:15 +0000 (11:25 -0800)]
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

7 years agoMerge "Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET."
TreeHugger Robot [Mon, 13 Feb 2017 17:46:23 +0000 (17:46 +0000)]
Merge "Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET."

7 years agoImport translations. DO NOT MERGE am: da8a98fb26 -s ours
Bill Yi [Mon, 13 Feb 2017 17:34:16 +0000 (17:34 +0000)]
Import translations. DO NOT MERGE am: da8a98fb26  -s ours
am: daa2d5a23a  -s ours

Change-Id: I08237170e91f978d9f8718fff3df30c6f6be59f3

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 17:31:14 +0000 (17:31 +0000)]
Import translations. DO NOT MERGE
am: da8a98fb26  -s ours

Change-Id: I111397e147e83c3cc0e8d83d365627792035b238

7 years agoReplace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET.
Lenka Trochtova [Mon, 13 Feb 2017 14:05:27 +0000 (15:05 +0100)]
Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET.

Both do the same, ACTION_FACTORY_RESET is the new name.

Test: manual - reset the device
BUG: 33656232

Change-Id: I30cedea600bfcbeffa5d1094a6e0e83326f7ccfc

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 07:02:41 +0000 (23:02 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia85aa9d355617a44a438932f30332cfcbb70842a
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 06:56:48 +0000 (22:56 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ic5485e66425141363f2c338fa41dc94816916eec
Auto-generated-cl: translation import

7 years agoMerge "Fix a memory leak caused by dashboard freature provider."
Fan Zhang [Sun, 12 Feb 2017 20:52:06 +0000 (20:52 +0000)]
Merge "Fix a memory leak caused by dashboard freature provider."

7 years agoDO NOT MERGE Fix "3 dot" icon size so it displays fully am: fa190d437b
Fan Zhang [Sun, 12 Feb 2017 01:44:03 +0000 (01:44 +0000)]
DO NOT MERGE Fix "3 dot" icon size so it displays fully am: fa190d437b
am: 6583bc3479  -s ours

Change-Id: I3f2e6b5aa6d3d86f2cc11fadff1f2d25c29b3612

7 years agoDO NOT MERGE Fix "3 dot" icon size so it displays fully
Fan Zhang [Sun, 12 Feb 2017 01:42:03 +0000 (01:42 +0000)]
DO NOT MERGE Fix "3 dot" icon size so it displays fully
am: fa190d437b

Change-Id: I7deb37ac62ff85f37d945d453bd6285a809779f1

7 years agoMerge "Sync search result loaders"
TreeHugger Robot [Sun, 12 Feb 2017 01:19:15 +0000 (01:19 +0000)]
Merge "Sync search result loaders"

7 years agoFix a memory leak caused by dashboard freature provider.
Fan Zhang [Sun, 12 Feb 2017 00:47:29 +0000 (16:47 -0800)]
Fix a memory leak caused by dashboard freature provider.

In constructor, use app context instead of fragment context

Change-Id: I24fbc457037c1d6854ecf0cb270110d73effb662
Fix: 35292764
Test: RunSettingsRoboTests

7 years agoDO NOT MERGE Fix "3 dot" icon size so it displays fully
Fan Zhang [Sat, 11 Feb 2017 18:50:13 +0000 (10:50 -0800)]
DO NOT MERGE Fix "3 dot" icon size so it displays fully

Viewport size was set wrong due to bad merge, causing the last dot got
truncated slightly.

Change-Id: I5d5bbd703e780b21957613d88a2250bc3ba69bb8
Fix: 28194068
Test: visual

7 years agoCredentialFragment anti-pocket dialing measures.
Robin Lee [Fri, 10 Feb 2017 16:12:20 +0000 (16:12 +0000)]
CredentialFragment anti-pocket dialing measures.

Now it is necessary to actually press the exact "OK" or Back button to
get the dialog to dismiss. This makes pocket wiping that little bit less
likely.

Bug: 32934848
Test: manual, enter the password too many times. The dialog should appear. Attempt to dismiss it by tapping outside the dialog. This should not happen.
Test: correctness of .setCanceledOnTouchOutside is outside scope.
Change-Id: Icff8bd9068f636c0a75decb787b8a5c9161a8cbd

7 years agoMerge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580...
Pavlin Radoslavov [Sat, 11 Feb 2017 01:34:12 +0000 (01:34 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c am: bd3f96703c am: fae23e1e00
am: 73aa2c6b3f

Change-Id: Iac81cb29671c198414a53c517deb6db962294d0a

7 years agoMerge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580...
Pavlin Radoslavov [Sat, 11 Feb 2017 01:31:52 +0000 (01:31 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c am: bd3f96703c
am: fae23e1e00

Change-Id: I55f901bee2b1a7368cf28cf0b2c6a89e8af27342

7 years agoMerge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c
Pavlin Radoslavov [Sat, 11 Feb 2017 01:28:22 +0000 (01:28 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c
am: bd3f96703c

Change-Id: I04f7187c23a0f17c5ef2d37f75d892e4da54111e

7 years agoMerge "Add null pointer checks when updating A2DP configuration values"
Pavlin Radoslavov [Sat, 11 Feb 2017 01:25:50 +0000 (01:25 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values"
am: 6f7437580c

Change-Id: I567042ca38e74e2ce228e4bb03c73095c8cf6513

7 years agoMerge "Add null pointer checks when updating A2DP configuration values"
Treehugger Robot [Sat, 11 Feb 2017 01:21:25 +0000 (01:21 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values"

7 years agoMerge "Update storage setting summary text format."
Fan Zhang [Fri, 10 Feb 2017 21:58:33 +0000 (21:58 +0000)]
Merge "Update storage setting summary text format."

7 years agoAdd null pointer checks when updating A2DP configuration values
Pavlin Radoslavov [Fri, 10 Feb 2017 20:52:04 +0000 (12:52 -0800)]
Add null pointer checks when updating A2DP configuration values

Under expected circumstances, those null pointer checks are not
needed: onCreate() is always called before onCreateView(),
and the former creates the objects: mBluetoothSelectA2dpCodec,
mBluetoothSelectA2dpSampleRate, mBluetoothSelectA2dpBitsPerSample,
mBluetoothSelectA2dpChannelMode, mBluetoothSelectA2dpLdacPlaybackQuality .

For some unknown reason, somehow the following chain of calls is executed
before onCreate() :
  onCreateView() ->
  getActivity().registerReceiver(mBluetoothA2dpReceiver, ...) ->
  mBluetoothA2dpReceiver.onReceive(...) ->
  updateBluetoothA2dpConfigurationValues()

Adding the null pointer checks until the issue is understood.

Test: Code compilation
Bug: 35204511
Change-Id: I7c1d81015e66b26544b7b26f36cbc75f11713496

7 years agoMerge "Distribute all the hidden items to apps"
TreeHugger Robot [Fri, 10 Feb 2017 20:10:38 +0000 (20:10 +0000)]
Merge "Distribute all the hidden items to apps"

7 years agoMerge "Remove Bluetooth autoconnect on dock" am: b65c7fc810 am: e7d5b13f53 am: deb32c220b
Marie Janssen [Fri, 10 Feb 2017 18:23:00 +0000 (18:23 +0000)]
Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810 am: e7d5b13f53 am: deb32c220b
am: 76405153d1

Change-Id: I5d4283ec0aa65b8faf6a97693dcdb40df353c48a

7 years agoMerge "Remove Bluetooth autoconnect on dock" am: b65c7fc810 am: e7d5b13f53
Marie Janssen [Fri, 10 Feb 2017 18:20:28 +0000 (18:20 +0000)]
Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810 am: e7d5b13f53
am: deb32c220b

Change-Id: I9742b1388b6b8702df0459e77414e3eb273115a8

7 years agoMerge "Remove Bluetooth autoconnect on dock" am: b65c7fc810
Marie Janssen [Fri, 10 Feb 2017 18:18:00 +0000 (18:18 +0000)]
Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810
am: e7d5b13f53

Change-Id: I696af3c6b2c3a2538e93356041c16f9c7149265c

7 years agoMerge "Remove Bluetooth autoconnect on dock"
Marie Janssen [Fri, 10 Feb 2017 18:15:28 +0000 (18:15 +0000)]
Merge "Remove Bluetooth autoconnect on dock"
am: b65c7fc810

Change-Id: Id3cf62ca55ff39867041b495aa832e220fbf70ee

7 years agoMerge "Remove Bluetooth autoconnect on dock"
Treehugger Robot [Fri, 10 Feb 2017 18:12:00 +0000 (18:12 +0000)]
Merge "Remove Bluetooth autoconnect on dock"

7 years agoMerge "Prompt credentials for installing/deleting sounds"
TreeHugger Robot [Fri, 10 Feb 2017 18:11:56 +0000 (18:11 +0000)]
Merge "Prompt credentials for installing/deleting sounds"

7 years agoSync search result loaders
Matthew Fritze [Thu, 2 Feb 2017 22:55:49 +0000 (14:55 -0800)]
Sync search result loaders

The loaders should be syncronized so the results can be
properly ranked without sudden insertions.

This means InstalledAppsLoader needs to finish faster,
which is accomplished by delaying icon loading to bind time
rather than as the apps are queried.

Bug: 34772522
Test: make RunSettingsRoboTests
Change-Id: I7f5244c574d37c6cfd8bbd0d3d40488f38211be3

7 years agoMerge "Link back to app settings from channel page"
Julia Reynolds [Fri, 10 Feb 2017 16:05:07 +0000 (16:05 +0000)]
Merge "Link back to app settings from channel page"

7 years agoPrompt credentials for installing/deleting sounds
Robin Lee [Fri, 10 Feb 2017 15:32:49 +0000 (15:32 +0000)]
Prompt credentials for installing/deleting sounds

Actually we probably want to confirm credentials in all locked cases
not just when starting the user -- fewer corners to special case.

Fix: 34734809
Test: manual. set a work profile lock, screen off/on, open sound settings, try to set a work ringtone. first attempt should prompt for credentials, second attempt should not until next screen-off.
Change-Id: I1fea94f3b0d1b768b22741b887d9891f5e318549

7 years agoMerge "Provide calling package name in cell info APIs" am: 5c365f9b54 am: f040f78303...
Sooraj Sasindran [Fri, 10 Feb 2017 06:02:08 +0000 (06:02 +0000)]
Merge "Provide calling package name in cell info APIs" am: 5c365f9b54 am: f040f78303  -s ours am: 56741e2f41  -s ours
am: 8bf0c2bce9  -s ours

Change-Id: Iccade74b97d0c1869a7c986422970ad6db3df19f

7 years agoMerge "Provide calling package name in cell info APIs" am: 5c365f9b54 am: f040f78303...
Sooraj Sasindran [Fri, 10 Feb 2017 05:57:31 +0000 (05:57 +0000)]
Merge "Provide calling package name in cell info APIs" am: 5c365f9b54 am: f040f78303  -s ours
am: 56741e2f41  -s ours

Change-Id: Icdde072f471c1c5823235cb6608bcfc87b629325

7 years agoMerge "Provide calling package name in cell info APIs" am: 5c365f9b54
Sooraj Sasindran [Fri, 10 Feb 2017 05:50:27 +0000 (05:50 +0000)]
Merge "Provide calling package name in cell info APIs" am: 5c365f9b54
am: f040f78303  -s ours

Change-Id: Ia62560a2bd59edee436ee71338495e45d50b68be

7 years agoMerge "Provide calling package name in cell info APIs"
Sooraj Sasindran [Fri, 10 Feb 2017 05:45:18 +0000 (05:45 +0000)]
Merge "Provide calling package name in cell info APIs"
am: 5c365f9b54

Change-Id: I342921d22c83aadd77b75078f5d5e9191c8b683f

7 years agoMerge "Provide calling package name in cell info APIs"
Sooraj Sasindran [Fri, 10 Feb 2017 05:38:40 +0000 (05:38 +0000)]
Merge "Provide calling package name in cell info APIs"

7 years agoRemove Bluetooth autoconnect on dock
Marie Janssen [Fri, 10 Feb 2017 04:02:52 +0000 (20:02 -0800)]
Remove Bluetooth autoconnect on dock

Test: compiles
Change-Id: I31305c70269c685893132f14975c32a051280afc
Fix: 35219649

7 years agoMerge "Don't truncate the GB used string."
TreeHugger Robot [Fri, 10 Feb 2017 03:13:50 +0000 (03:13 +0000)]
Merge "Don't truncate the GB used string."

7 years agoProvide calling package name in cell info APIs am: 63d90ed55d
Sooraj Sasindran [Fri, 10 Feb 2017 03:10:32 +0000 (03:10 +0000)]
Provide calling package name in cell info APIs am: 63d90ed55d
am: 0ed4162914  -s ours

Change-Id: Idb3b6e4e5ef7636696d9278dcd78a6178d1674c0

7 years agoProvide calling package name in cell info APIs
Sooraj Sasindran [Fri, 10 Feb 2017 03:04:08 +0000 (03:04 +0000)]
Provide calling package name in cell info APIs
am: 63d90ed55d

Change-Id: Ia2a1d01f2bb8fb257f756f7df6dfbedb755e87b1

7 years agoMerge "Update top level menu items summary text."
Fan Zhang [Fri, 10 Feb 2017 01:27:01 +0000 (01:27 +0000)]
Merge "Update top level menu items summary text."

7 years agoMerge "Removing one all-purpose developer tile and replacing it with 4 separate tiles...
TreeHugger Robot [Fri, 10 Feb 2017 01:11:28 +0000 (01:11 +0000)]
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."

7 years agoUpdate storage setting summary text format.
Fan Zhang [Fri, 10 Feb 2017 00:33:48 +0000 (16:33 -0800)]
Update storage setting summary text format.

New format: 38% used - 19.80 GB free

Bug: 34975053
Test: make RunSettingRoboTests
Change-Id: I7c8f5f0fe825eade8167764622c940e8234be6a9

7 years agoProvide calling package name in cell info APIs
Sooraj Sasindran [Thu, 18 Aug 2016 22:49:49 +0000 (15:49 -0700)]
Provide calling package name in cell info APIs

Provide calling package name in cell info APIs

BUG=31041780

Merged-In: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712

7 years agoMerge "Increasing char limit for string"
TreeHugger Robot [Thu, 9 Feb 2017 23:57:33 +0000 (23:57 +0000)]
Merge "Increasing char limit for string"

7 years agoUpdate top level menu items summary text.
Fan Zhang [Thu, 9 Feb 2017 21:06:58 +0000 (13:06 -0800)]
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

7 years agoMerge "Convert auto-fill default selector to full screen pattern."
Fan Zhang [Thu, 9 Feb 2017 22:36:57 +0000 (22:36 +0000)]
Merge "Convert auto-fill default selector to full screen pattern."

7 years agoMerge "Remove Downloads backup options."
TreeHugger Robot [Thu, 9 Feb 2017 22:33:48 +0000 (22:33 +0000)]
Merge "Remove Downloads backup options."

7 years agoProvide calling package name in cell info APIs
Sooraj Sasindran [Thu, 18 Aug 2016 22:49:49 +0000 (15:49 -0700)]
Provide calling package name in cell info APIs

Provide calling package name in cell info APIs

BUG=31041780

Merged-In: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712

7 years agoMerge "Don't show multiple wipe warning dialogs"
TreeHugger Robot [Thu, 9 Feb 2017 21:18:47 +0000 (21:18 +0000)]
Merge "Don't show multiple wipe warning dialogs"

7 years agoConvert auto-fill default selector to full screen pattern.
Fan Zhang [Thu, 9 Feb 2017 00:16:14 +0000 (16:16 -0800)]
Convert auto-fill default selector to full screen pattern.

Bug: 34280137
Test: RunSettingsRoboTests
Change-Id: Icde3bcaf11615010d481f39d8b32d28dfc120018

7 years agoCode clean up
Fan Zhang [Thu, 9 Feb 2017 19:34:48 +0000 (11:34 -0800)]
Code clean up

- Remove unused DashboardTilePreference class
- Use FooterPreference in ManageAssist fragment
- reformat manage_assist xml file

Bug: 35203386
Test: visual
Change-Id: If3dbbd0fb1977d6f3c7dbf4544d71f5e6e801327

7 years agoDon't show multiple wipe warning dialogs
Robin Lee [Mon, 6 Feb 2017 18:19:40 +0000 (18:19 +0000)]
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

7 years agoMerge "Infrastructure for showing instant app metadata in app header"
Antony Sargent [Thu, 9 Feb 2017 18:02:37 +0000 (18:02 +0000)]
Merge "Infrastructure for showing instant app metadata in app header"

7 years agoDistribute all the hidden items to apps
jackqdyulei [Thu, 9 Feb 2017 00:01:13 +0000 (16:01 -0800)]
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

7 years agoMerge "Have WebView Implementation Dev Setting use DefaultAppPickerFragment."
Gustav Sennton [Thu, 9 Feb 2017 17:36:32 +0000 (17:36 +0000)]
Merge "Have WebView Implementation Dev Setting use DefaultAppPickerFragment."

7 years agoLink back to app settings from channel page
Julia Reynolds [Thu, 9 Feb 2017 15:06:34 +0000 (10:06 -0500)]
Link back to app settings from channel page

Test: manual
Change-Id: Ieb1118bd662a662bd34027f2ef44b420d4c94183

7 years agoHave WebView Implementation Dev Setting use DefaultAppPickerFragment.
Gustav Sennton [Fri, 3 Feb 2017 16:19:02 +0000 (16:19 +0000)]
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

7 years agoImport translations. DO NOT MERGE am: f9ef17c68e -s ours
Bill Yi [Thu, 9 Feb 2017 07:52:33 +0000 (07:52 +0000)]
Import translations. DO NOT MERGE am: f9ef17c68e  -s ours
am: 041604d96c  -s ours

Change-Id: I76874501b061b686216005345c77a2b9f2af54f3

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Feb 2017 07:50:02 +0000 (07:50 +0000)]
Import translations. DO NOT MERGE
am: f9ef17c68e  -s ours

Change-Id: I513f51ecded981e02286080868d12e12e008c5d9

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 9 Feb 2017 07:43:03 +0000 (07:43 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Feb 2017 02:55:40 +0000 (18:55 -0800)]
Import translations. DO NOT MERGE

Change-Id: I48c8f3d9a4b34c83e0bc5737446c002584ef86a7
Auto-generated-cl: translation import

7 years agoIncreasing char limit for string
Suprabh Shukla [Tue, 7 Feb 2017 01:15:15 +0000 (17:15 -0800)]
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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Feb 2017 02:50:10 +0000 (18:50 -0800)]
Import translations. DO NOT MERGE

Change-Id: I9af5e9aadd1a56c25e96c7e476f266a4e5e27e2d
Auto-generated-cl: translation import

7 years agoMove GearPreference to widget package.
Fan Zhang [Thu, 9 Feb 2017 00:00:56 +0000 (16:00 -0800)]
Move GearPreference to widget package.

- This is step1 of making gear preference more flexible to use.

Bug: 33579296
Test: builds
Change-Id: I30ac6c75f7ad16ec5c732fbb93170e5fab0eacb7

7 years agoInfrastructure for showing instant app metadata in app header
Antony Sargent [Tue, 7 Feb 2017 19:28:58 +0000 (11:28 -0800)]
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

7 years agoChecke radio on default app screen if there's 1 option only
Fan Zhang [Wed, 8 Feb 2017 20:52:48 +0000 (12:52 -0800)]
Checke radio on default app screen if there's 1 option only

Change-Id: Ib091eb033ce541dc6a6d97ef45a15a5eb957e405
Fix: 34746591
Test: make RunSettingsRoboTests -j40

7 years agoMerge "Hide "Use network recommendations" in Settings."
TreeHugger Robot [Wed, 8 Feb 2017 23:12:54 +0000 (23:12 +0000)]
Merge "Hide "Use network recommendations" in Settings."

7 years agoMerge "Change PreferenceCategory margins."
TreeHugger Robot [Wed, 8 Feb 2017 22:58:52 +0000 (22:58 +0000)]
Merge "Change PreferenceCategory margins."

7 years agoDon't truncate the GB used string.
Daniel Nishi [Wed, 8 Feb 2017 22:45:17 +0000 (14:45 -0800)]
Don't truncate the GB used string.

Bug: 34690731
Test: Settings robotest
Change-Id: I2d809c0f80dad48a3bfecf6a6f2240129d54370e

7 years agoMerge "Fix wrong pref text on default apps"
TreeHugger Robot [Wed, 8 Feb 2017 21:55:08 +0000 (21:55 +0000)]
Merge "Fix wrong pref text on default apps"

7 years agoHide "Use network recommendations" in Settings.
Stephen Chen [Wed, 8 Feb 2017 20:41:12 +0000 (12:41 -0800)]
Hide "Use network recommendations" in Settings.

Bug: 35141347
Test: make -j40 RunSettingsRoboTests, manual inspection
Change-Id: I7661ef141aeb95d5ec707b8a066818892c3fa870

7 years agoMerge "Notification app screen updates"
TreeHugger Robot [Wed, 8 Feb 2017 21:32:14 +0000 (21:32 +0000)]
Merge "Notification app screen updates"

7 years agoMerge "Use the "fast track" storage calculation for all categories."
Daniel Nishi [Wed, 8 Feb 2017 21:23:01 +0000 (21:23 +0000)]
Merge "Use the "fast track" storage calculation for all categories."

7 years agoMerge "Create Advanced battery page"
Lei Yu [Wed, 8 Feb 2017 20:33:35 +0000 (20:33 +0000)]
Merge "Create Advanced battery page"

7 years agoMerge "Fix for null pointer when launching Connected devices."
TreeHugger Robot [Wed, 8 Feb 2017 20:11:08 +0000 (20:11 +0000)]
Merge "Fix for null pointer when launching Connected devices."

7 years agoFix wrong pref text on default apps
Fan Zhang [Wed, 8 Feb 2017 20:11:06 +0000 (12:11 -0800)]
Fix wrong pref text on default apps

Test: visual
Change-Id: I3f3e923ed0cebcffc5fc737353a781ecad21bf09

7 years agoMerge "Update App Info page layout."
TreeHugger Robot [Wed, 8 Feb 2017 19:58:12 +0000 (19:58 +0000)]
Merge "Update App Info page layout."

7 years agoNotification app screen updates
Julia Reynolds [Wed, 8 Feb 2017 19:49:01 +0000 (14:49 -0500)]
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