OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoChange reset page to be SUW style
felkachang [Thu, 29 Mar 2018 04:08:20 +0000 (12:08 +0800)]
Change reset page to be SUW style

The factory reset page and the reset confirmation page is too old to
follow the style of Setup Wizard design. To change the layout and apply
the style for textviews and header.

Bug: 73738836
Test: make -j SettingsRoboTests RunSettingsRoboTests
Change-Id: I1ee3d09e1ef9cac8e25c60a566363d4f7d537eeb

5 years agoMerge "Support some phone information in Settings slice"
Fan Zhang [Mon, 1 Oct 2018 16:46:19 +0000 (16:46 +0000)]
Merge "Support some phone information in Settings slice"

5 years agoMerge "Remove FragmentUtilsTest class"
Fan Zhang [Mon, 1 Oct 2018 16:45:19 +0000 (16:45 +0000)]
Merge "Remove FragmentUtilsTest class"

5 years agoSupport some phone information in Settings slice
tmfang [Fri, 28 Sep 2018 07:05:07 +0000 (15:05 +0800)]
Support some phone information in Settings slice

- Android version
- Device model

Test: robo test, manual test
Change-Id: Ic047caaf4ab699082f6420ad8fa1d2f455abfcb0
Fixes: 74900516

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 0b7858e7d9 -s ours
Bill Yi [Sat, 29 Sep 2018 23:30:44 +0000 (16:30 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 0b7858e7d9  -s ours
am: 9369f59131  -s ours

Change-Id: Ibf293a087017e09941ccbf5967e3689a27ce44bc

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 29 Sep 2018 23:23:42 +0000 (16:23 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 0b7858e7d9  -s ours

Change-Id: Ia903bff0e22b013664c0086dc11fdd5e3d8d8b50

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 29 Sep 2018 21:32:19 +0000 (21:32 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Sep 2018 21:09:31 +0000 (14:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6d821fb3a3ccf99fa8f11e165773772ded38b608

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Sep 2018 20:00:15 +0000 (13:00 -0700)]
Import translations. DO NOT MERGE

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

5 years agoMerge "Wake screen gesture"
Lucas Dupin [Sat, 29 Sep 2018 17:32:30 +0000 (17:32 +0000)]
Merge "Wake screen gesture"

5 years agoMerge "Move search resources to settingslib-search"
TreeHugger Robot [Sat, 29 Sep 2018 02:46:36 +0000 (02:46 +0000)]
Merge "Move search resources to settingslib-search"

5 years agoMerge "Rename NetworkCycleData to NetworkCycleChartData."
TreeHugger Robot [Sat, 29 Sep 2018 01:14:24 +0000 (01:14 +0000)]
Merge "Rename NetworkCycleData to NetworkCycleChartData."

5 years agoRename NetworkCycleData to NetworkCycleChartData.
Doris Ling [Fri, 28 Sep 2018 00:41:15 +0000 (17:41 -0700)]
Rename NetworkCycleData to NetworkCycleChartData.

Bug: 111751694
Test: make RunSettingsRoboTests
Change-Id: I47c1bbe09f11f4d0bd0d41c1f9d4c3e5a3773f05

5 years agoMove search resources to settingslib-search
Fan Zhang [Fri, 28 Sep 2018 20:33:29 +0000 (13:33 -0700)]
Move search resources to settingslib-search

Bug: 113128828
Test: manual
Change-Id: I2c513dd22e84d5f86bd282e10d0b0df19f9ce407

5 years agoWake screen gesture
Lucas Dupin [Wed, 29 Aug 2018 00:26:38 +0000 (17:26 -0700)]
Wake screen gesture

Settings page for gesture that allows the display to wake up.
Can be configured via overlays using config_dozeWakeScreenSensorType

Bug: 111414690
Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WakeScreenGesturePreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WakeScreenGestureSettingsTest
Change-Id: Ic44f0ee9e781bda3b06cf4896217b324b9e3606c

5 years agoMerge changes from topic "angle_integration4"
TreeHugger Robot [Fri, 28 Sep 2018 23:12:30 +0000 (23:12 +0000)]
Merge changes from topic "angle_integration4"

* changes:
  Add ANGLE enable to Developer Options
  Allow AppPicker to filter only non-system apps

5 years agoMerge "Create the default static cards for Contextual Settings Homepage"
TreeHugger Robot [Fri, 28 Sep 2018 22:40:38 +0000 (22:40 +0000)]
Merge "Create the default static cards for Contextual Settings Homepage"

5 years agoMerge "Renaming gesture"
Lucas Dupin [Fri, 28 Sep 2018 22:00:56 +0000 (22:00 +0000)]
Merge "Renaming gesture"

5 years agoCreate the default static cards for Contextual Settings Homepage
Mill Chen [Tue, 18 Sep 2018 09:00:11 +0000 (17:00 +0800)]
Create the default static cards for Contextual Settings Homepage

Adding three default ContextualCard data to CardContentProvider, in case
of empty database or no SettingsIntelligence, to keep Contextual
Settings Homepage working well.

Bug: 113372471
Test: visual, atest SettingsHomepageActivityTest
Change-Id: Id7b26818e10f7945b2618100901310a005d8cc0d

5 years agoRenaming gesture
Lucas Dupin [Fri, 28 Sep 2018 16:30:51 +0000 (09:30 -0700)]
Renaming gesture

Bug: 111414690
Test: manual
Test: ReachGesturePreferenceControllerTest, ReachGestureSettingsTest
Change-Id: I34cd4aacabc912122c553bf9c955a8ca4494230b

5 years ago[automerger skipped] Merge "Refresh subscription info when subid changes" into pi...
Jordan Liu [Fri, 28 Sep 2018 19:25:48 +0000 (12:25 -0700)]
[automerger skipped] Merge "Refresh subscription info when subid changes" into pi-dev am: c07bb01f75
am: ff1e05840f  -s ours

Change-Id: I3ba9aad5f375c1b1c8c9e0ab37a687336ac2b6b2

5 years agoMerge "Refresh subscription info when subid changes" into pi-dev
Jordan Liu [Fri, 28 Sep 2018 19:17:49 +0000 (12:17 -0700)]
Merge "Refresh subscription info when subid changes" into pi-dev
am: c07bb01f75

Change-Id: I955728bbde5ea462ebce0dc2099ccfd965862727

5 years agoMerge "Refresh subscription info when subid changes" into pi-dev
TreeHugger Robot [Fri, 28 Sep 2018 19:00:35 +0000 (19:00 +0000)]
Merge "Refresh subscription info when subid changes" into pi-dev

5 years agoMerge "Add version 2 of AppDataUsage."
Doris Ling [Fri, 28 Sep 2018 17:33:07 +0000 (17:33 +0000)]
Merge "Add version 2 of AppDataUsage."

5 years agoMerge "Remove custom Robolectric util class."
TreeHugger Robot [Fri, 28 Sep 2018 16:18:28 +0000 (16:18 +0000)]
Merge "Remove custom Robolectric util class."

5 years agoMerge "Changed the app_version type"
TreeHugger Robot [Fri, 28 Sep 2018 03:33:22 +0000 (03:33 +0000)]
Merge "Changed the app_version type"

5 years agoRemove custom Robolectric util class.
tmfang [Thu, 27 Sep 2018 06:11:58 +0000 (14:11 +0800)]
Remove custom Robolectric util class.

We directly use Robolectric/ActivityController to
setup an FragmentActivity lifecycle.

So, I removed the custom Robolectric in robotests/testutils.

Change-Id: Ib93265f719e1eb9606c9ad6f05c1dd1957302e8b
Fixes: 111195450
Test: robotests

5 years agoMerge "A new attribute which can show the dynamic summary"
TreeHugger Robot [Fri, 28 Sep 2018 02:38:12 +0000 (02:38 +0000)]
Merge "A new attribute which can show the dynamic summary"

5 years agoMerge "Update FaceSettings to match mocks"
Kevin Chyn [Fri, 28 Sep 2018 02:12:55 +0000 (02:12 +0000)]
Merge "Update FaceSettings to match mocks"

5 years agoAdd version 2 of AppDataUsage.
Doris Ling [Thu, 27 Sep 2018 22:03:08 +0000 (15:03 -0700)]
Add version 2 of AppDataUsage.

- a simple copy of AppDataUsage to AppDataUsageV2, so that future
modification can be compared more easily.

Bug: 111751694
Test: make RunSettingsRoboTests
Change-Id: I4deb8fcd93ae1ea391fc5fca0ff28c6dc57bfef9

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 27 Sep 2018 19:36:26 +0000 (19:36 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Use the loader to get usage data for each billing cycle."
Doris Ling [Thu, 27 Sep 2018 17:15:58 +0000 (17:15 +0000)]
Merge "Use the loader to get usage data for each billing cycle."

5 years agoRemove FragmentUtilsTest class
tmfang [Thu, 27 Sep 2018 10:39:18 +0000 (18:39 +0800)]
Remove FragmentUtilsTest class

We directly use FragmentController to start fragment.

Change-Id: Iff78f321165d666f96d84f001ff054257a1aaede
Fixes: 111195449
Test: robotest

5 years agoChanged the app_version type
Sunny Shao [Thu, 27 Sep 2018 09:46:55 +0000 (17:46 +0800)]
Changed the app_version type

- Updated type from string to long and saved the PackageInfo.getLongVersionCode
- Modified CardDatabaseHelper, ContextualCard, CardContentProviderTest

Bug: 111820446
Test: robotest
Change-Id: Id2d39f15a1743b9f38044354a0c3b2584329bab9

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Sep 2018 02:37:25 +0000 (19:37 -0700)]
Import translations. DO NOT MERGE

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

5 years agoRemove custom robotest utils in favor of framework support.
Fan Zhang [Wed, 26 Sep 2018 23:47:57 +0000 (16:47 -0700)]
Remove custom robotest utils in favor of framework support.

Bug: 111195450
Fixes: 111195167
Test: robotests
Change-Id: I8bea43fd86f9ae5ce40eb16dabf733b0fbe89aae

5 years ago[automerger skipped] Clean up task affinity. am: ff3652e0a3
Fan Zhang [Wed, 26 Sep 2018 22:48:17 +0000 (15:48 -0700)]
[automerger skipped] Clean up task affinity. am: ff3652e0a3
am: eb43cc70c8  -s ours

Change-Id: I21db6e54e025668c68ed3ff1d62dd13925790f8f

5 years agoClean up task affinity.
Fan Zhang [Wed, 26 Sep 2018 22:23:11 +0000 (15:23 -0700)]
Clean up task affinity.
am: ff3652e0a3

Change-Id: I6727cae2ce9330860ad40104b20e00e8ecf58556

5 years agoUse the loader to get usage data for each billing cycle.
Doris Ling [Fri, 21 Sep 2018 00:10:55 +0000 (17:10 -0700)]
Use the loader to get usage data for each billing cycle.

Bug: 111751694
Test: make RunSettingsRoboTests
Change-Id: I4242687b404a290e81d43c505b9afbd2a07aafdb

5 years agoUpdate FaceSettings to match mocks
Kevin Chyn [Tue, 25 Sep 2018 19:08:21 +0000 (12:08 -0700)]
Update FaceSettings to match mocks

Settings page should not show if device credential is not confirmed

Bug: 111548037
Fixes: 116531896

Test: adb shell settings get secure face_unlock_app_enabled
Test: make -j56 RunSettingsRoboTests

Change-Id: I651ee88e9ee4017ee3dc52fa8a5d05cb8f092e1d

5 years agoClean up task affinity.
Fan Zhang [Fri, 27 Jul 2018 23:16:43 +0000 (16:16 -0700)]
Clean up task affinity.

If activity is launched through external intent, back button should just
go back to previous screen.

Change-Id: I5b2e57d2751f5ed7c17140d3eb8d54736b78053c
Merged-In: I5b2e57d2751f5ed7c17140d3eb8d54736b78053c
Bug: 112254258
Fixes: 111864355
Test: manual

5 years agoMerge "Add Data usage slice in Contextual Settings Homepage"
Mill Chen [Wed, 26 Sep 2018 14:55:31 +0000 (14:55 +0000)]
Merge "Add Data usage slice in Contextual Settings Homepage"

5 years agoMerge "Rename isConnectable()" am: ec65174f11 am: 09385137e3
Leon Liao [Wed, 26 Sep 2018 13:25:41 +0000 (06:25 -0700)]
Merge "Rename isConnectable()" am: ec65174f11 am: 09385137e3
am: af7aed6d79

Change-Id: I5b0a11396ccce092778b6cfda444f52cfd469525

5 years agoMerge "Rename isConnectable()" am: ec65174f11
Leon Liao [Wed, 26 Sep 2018 13:14:55 +0000 (06:14 -0700)]
Merge "Rename isConnectable()" am: ec65174f11
am: 09385137e3

Change-Id: Iffe650dd574633cacc6197c6f6f69316b528fb0a

5 years agoMerge "Rename isConnectable()"
Leon Liao [Wed, 26 Sep 2018 12:59:20 +0000 (05:59 -0700)]
Merge "Rename isConnectable()"
am: ec65174f11

Change-Id: Ibfc536ba78a118bc33890e52efa6650b21bff62e

5 years agoA new attribute which can show the dynamic summary
tmfang [Tue, 25 Sep 2018 08:34:40 +0000 (16:34 +0800)]
A new attribute which can show the dynamic summary

For now, slice view shows screen title by default,
but it isn't approprate for some simple cases.
ie, device model, phone number, android version etc.

So, We create a new attribue which let BasePreferenceController
be more flxible. User can choose what they want to show
in summary text.

Fixes: 74900516
Test: make RunSettingsRoboTests

Change-Id: I2788c6edfaf8e656170a507607f22513841a3e0a

5 years agoMerge "Remove check to limit suggestions to 2"
TreeHugger Robot [Tue, 25 Sep 2018 23:19:13 +0000 (23:19 +0000)]
Merge "Remove check to limit suggestions to 2"

5 years agoMerge "Redo the empty states in print settings"
TreeHugger Robot [Tue, 25 Sep 2018 23:10:02 +0000 (23:10 +0000)]
Merge "Redo the empty states in print settings"

5 years agoMerge "Rename isConnectable()"
Leon Liao [Tue, 25 Sep 2018 23:06:20 +0000 (23:06 +0000)]
Merge "Rename isConnectable()"

5 years agoMerge "Add 'notificaton blocked' filter to notifications"
TreeHugger Robot [Tue, 25 Sep 2018 22:34:37 +0000 (22:34 +0000)]
Merge "Add 'notificaton blocked' filter to notifications"

5 years agoMerge "Clean up: remove unused SuggestionFeature api."
TreeHugger Robot [Tue, 25 Sep 2018 22:01:53 +0000 (22:01 +0000)]
Merge "Clean up: remove unused SuggestionFeature api."

5 years agoMerge "Fix add icon"
Fan Zhang [Tue, 25 Sep 2018 20:56:30 +0000 (20:56 +0000)]
Merge "Fix add icon"

5 years agoRemove check to limit suggestions to 2
Fan Zhang [Tue, 25 Sep 2018 20:44:30 +0000 (13:44 -0700)]
Remove check to limit suggestions to 2

This is already enforced from SuggestionService side.

Test: rebuild/robotests
Change-Id: Icd5faa3b7114b369d96459b00b43d4e7eaeae5c5

5 years agoClean up: remove unused SuggestionFeature api.
Fan Zhang [Tue, 25 Sep 2018 20:16:59 +0000 (13:16 -0700)]
Clean up: remove unused SuggestionFeature api.

Test: robotests
Change-Id: I91d06d93834674ca6019a86f8b3891198d424d7a

5 years agoMerge "Move AppPreference to settingslib, and change imports."
Fan Zhang [Tue, 25 Sep 2018 19:15:19 +0000 (19:15 +0000)]
Merge "Move AppPreference to settingslib, and change imports."

5 years agoMerge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device"...
Youming Ye [Tue, 25 Sep 2018 17:31:48 +0000 (10:31 -0700)]
Merge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device" am: b7e3552b83 am: 31576aae7c
am: d976002dea

Change-Id: Iec53ef5f156b986a61a085a0a7c758574a78cee2

5 years agoMerge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device"...
Youming Ye [Tue, 25 Sep 2018 17:27:22 +0000 (10:27 -0700)]
Merge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device" am: b7e3552b83
am: 31576aae7c

Change-Id: Ib37954bccacb44b670ee6c1af6e7188fdd91a46a

5 years agoMerge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device"
Youming Ye [Tue, 25 Sep 2018 17:20:06 +0000 (10:20 -0700)]
Merge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device"
am: b7e3552b83

Change-Id: I14a7f51ace0637a6248fe13f9a4dc46ee4b9c0a1

5 years agoFix add icon
Fan Zhang [Tue, 25 Sep 2018 17:02:55 +0000 (10:02 -0700)]
Fix add icon

Change-Id: I3ffe5a71081aa03885fa8fada9ae6dff70db6171
Fixes: 116542229
Test: visual

5 years agoMerge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device"
Youming Ye [Tue, 25 Sep 2018 17:04:10 +0000 (17:04 +0000)]
Merge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device"

5 years agoMove AppPreference to settingslib, and change imports.
Fan Zhang [Mon, 24 Sep 2018 19:29:57 +0000 (12:29 -0700)]
Move AppPreference to settingslib, and change imports.

Bug: 116364655
Test: robotests
Change-Id: I313272737dc7c068c47abf8ea021de7d2bea0a25

5 years agoAdd 'notificaton blocked' filter to notifications
Julia Reynolds [Mon, 24 Sep 2018 13:19:46 +0000 (09:19 -0400)]
Add 'notificaton blocked' filter to notifications

Test: robotests
Change-Id: I5c0cd9a2f73b6a22d66df7669e944bbe1473539c
Fixes: 112576746

5 years agoAdd Data usage slice in Contextual Settings Homepage
Mill Chen [Fri, 14 Sep 2018 15:55:35 +0000 (23:55 +0800)]
Add Data usage slice in Contextual Settings Homepage

- Add Data usage card that implements CustomSliceable in Contextual Settings
Homepage.
- Add test case for Data usage slice.

Bug: 114796538
Test: robotests, manual, SliceViewer
Change-Id: I66a046e8f589a477007ea73e1b22420d3efdebde

5 years agoFix the logic error on PBAP permission assignment
timhypeng [Wed, 19 Sep 2018 07:54:13 +0000 (15:54 +0800)]
Fix the logic error on PBAP permission assignment

-add test case

Bug: 114808220
Test: make -j42 RunSettingsRoboTests
Change-Id: Id77ade12c28e31a21c1c7a5dcb28906112d3465b

5 years agoMerge "Settings icon pack refresh"
TreeHugger Robot [Tue, 25 Sep 2018 00:29:23 +0000 (00:29 +0000)]
Merge "Settings icon pack refresh"

5 years agoSettings icon pack refresh
Fan Zhang [Mon, 24 Sep 2018 21:01:17 +0000 (14:01 -0700)]
Settings icon pack refresh

* ic_add_24dp
* ic_airplane
* ic_arrow_down_24dp
* ic_cellular_off
* ic_data_saver
* ic_device_others
* ic_info_outline_24dp
* ic_search
* ic_night_display
* ic_lock_open
* ic_wifi
* ic_sync
* ic_wallpaper
* ic_phone

Bug: 116360411
Test: visual
Change-Id: I626cbb88043c36d32ab34b90fc83170bca0be12a

5 years agoMerge "ApnEditor: Consider subId when reading carrier config" am: f6f7079709 am:...
Torbjorn Eklund [Mon, 24 Sep 2018 18:08:59 +0000 (11:08 -0700)]
Merge "ApnEditor: Consider subId when reading carrier config" am: f6f7079709 am: db353e2c4a
am: bfe80e39f2

Change-Id: I848fd4084f43b2aeb69cb5175c1c10de3355c21f

5 years agoMerge "ApnEditor: Consider subId when reading carrier config" am: f6f7079709
Torbjorn Eklund [Mon, 24 Sep 2018 17:57:37 +0000 (10:57 -0700)]
Merge "ApnEditor: Consider subId when reading carrier config" am: f6f7079709
am: db353e2c4a

Change-Id: Ie2ad2655b5fc399610acdcfd8327e99c60b7e2a8

5 years agoMerge "ApnEditor: Consider subId when reading carrier config"
Torbjorn Eklund [Mon, 24 Sep 2018 17:48:00 +0000 (10:48 -0700)]
Merge "ApnEditor: Consider subId when reading carrier config"
am: f6f7079709

Change-Id: I8d49e7f38528da4f5fc0cd18eecfd59854b7505f

5 years agoMerge "ApnEditor: Consider subId when reading carrier config"
Treehugger Robot [Mon, 24 Sep 2018 17:24:03 +0000 (17:24 +0000)]
Merge "ApnEditor: Consider subId when reading carrier config"

5 years agoMerge "Fix account deletion not updating account display"
TreeHugger Robot [Mon, 24 Sep 2018 17:16:42 +0000 (17:16 +0000)]
Merge "Fix account deletion not updating account display"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 23 Sep 2018 00:53:28 +0000 (00:53 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 5a4269d21e -s ours
Bill Yi [Sat, 22 Sep 2018 23:08:33 +0000 (16:08 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 5a4269d21e  -s ours
am: a553a09700  -s ours

Change-Id: I22b8a5fd5b6b1f4c9a1c03ae3161f6993721e74c

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 22 Sep 2018 23:02:30 +0000 (16:02 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 5a4269d21e  -s ours

Change-Id: I311f91cf73c826e657061f3fdbafd6e6c9ac5fa9

5 years agoMerge "Format regression test files"
TreeHugger Robot [Sat, 22 Sep 2018 22:50:13 +0000 (22:50 +0000)]
Merge "Format regression test files"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Sep 2018 18:38:37 +0000 (11:38 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4317549e4010bb2cf75b07ade3cb8d54ba6dc708

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Sep 2018 18:28:52 +0000 (11:28 -0700)]
Import translations. DO NOT MERGE

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

5 years agoMerge "Disable recently used apps in battery saver mode."
TreeHugger Robot [Sat, 22 Sep 2018 00:06:00 +0000 (00:06 +0000)]
Merge "Disable recently used apps in battery saver mode."

5 years agoMerge "Add intent filter to launch usage access for app."
TreeHugger Robot [Fri, 21 Sep 2018 21:31:38 +0000 (21:31 +0000)]
Merge "Add intent filter to launch usage access for app."

5 years agoDisable recently used apps in battery saver mode.
Fan Zhang [Fri, 21 Sep 2018 21:14:16 +0000 (14:14 -0700)]
Disable recently used apps in battery saver mode.

UsageStats query is too slow.

Change-Id: I53fa13924514e71221d3a6407139ff00ae5eb378
Fixes: 114788699
Test: robotests

5 years ago[automerger skipped] Merge "Fix incorrect API invoke for BT profiles" am: 625c1eeaa9...
Lei Yu [Fri, 21 Sep 2018 20:24:27 +0000 (13:24 -0700)]
[automerger skipped] Merge "Fix incorrect API invoke for BT profiles" am: 625c1eeaa9 am: dbc26b576c
am: 6ef05a6c23  -s ours

Change-Id: I89d838f7456503f987b6ac8ba706a3457694a16a

5 years agoMerge "Fix incorrect API invoke for BT profiles" am: 625c1eeaa9
Lei Yu [Fri, 21 Sep 2018 20:20:16 +0000 (13:20 -0700)]
Merge "Fix incorrect API invoke for BT profiles" am: 625c1eeaa9
am: dbc26b576c

Change-Id: Ic6b7a4b7541310b3a635b94a799e3476cf5cc684

5 years agoMerge "Fix incorrect API invoke for BT profiles"
Lei Yu [Fri, 21 Sep 2018 20:13:39 +0000 (13:13 -0700)]
Merge "Fix incorrect API invoke for BT profiles"
am: 625c1eeaa9

Change-Id: I1a7f98b25cae2695d8f5895c8f6e03072ef4600f

5 years agoFix account deletion not updating account display
Antony Sargent [Thu, 20 Sep 2018 23:35:06 +0000 (16:35 -0700)]
Fix account deletion not updating account display

The visible symptom of this problem is that when deleting an account, if
a screen lock is set, after confirming the removal and entering the
credentials, you end up back on the account details for the page and it
looks like the deletion failed (even though it didn't).

There were two problems here:

-We were expecting the AccountDetailDashboardFragment to be in a resumed
state at the end of the confirmation dialog, but it wasn't if we had
launched the activity to have the user enter their screen lock
credentials. In the past trying to finish an activity that wasn't in
resumed state seemed to have generated a crash (b/6494527), but that
isn't the case anymore from some tests I ran.

-The AccountDetailDashboardFragment doesn't check in onResume that the
 account still exists.

This CL fixes the bug in 2 ways - we'll always try to finish the
AccountDetailDashboardFragment if the account removal succeeded, and
when AccountDetailDashboardFragment's onResume is called we'll always
check for the account existence. Either approach would be sufficient on
its own.

Change-Id: Iaa65e97fca5dfc8b1251968142e47315e3b590c2
Fixes: 112845988
Test: make RunSettingsRoboTests

5 years agoMerge "Fix incorrect API invoke for BT profiles"
Lei Yu [Fri, 21 Sep 2018 19:50:45 +0000 (19:50 +0000)]
Merge "Fix incorrect API invoke for BT profiles"

5 years agoAdd ANGLE enable to Developer Options
Cody Northrop [Tue, 19 Jun 2018 15:18:04 +0000 (09:18 -0600)]
Add ANGLE enable to Developer Options

Allows selecting a single app to use ANGLE instead
of native drivers via Developer Options. Only non-system
apps will be listed via this interface.

Bug: 80239516
Test: make ROBOTEST_FILTER=AngleEnabledAppPreferenceControllerTest RunSettingsRoboTests
Change-Id: Iddf800cdc1a2607757ee165c456357e041c47ce5
(cherry picked from commit a3ed8214bf5903e4dea8df5f3516a95d81d8c485)

5 years agoMerge "Fix null pointer crash in BT renaming dialog"
Lei Yu [Fri, 21 Sep 2018 02:25:34 +0000 (02:25 +0000)]
Merge "Fix null pointer crash in BT renaming dialog"

5 years agoMerge changes from topic "mobile_select_migration"
TreeHugger Robot [Fri, 21 Sep 2018 01:40:29 +0000 (01:40 +0000)]
Merge changes from topic "mobile_select_migration"

* changes:
  Fix compile error in NetwotkSelectSettings
  Copy NetworkSelectSettings to settings app

5 years agoRedo the empty states in print settings
Philip P. Moltmann [Fri, 21 Sep 2018 00:03:23 +0000 (17:03 -0700)]
Redo the empty states in print settings

In the end the UI does not change but the new states:

- Are similar to the "empty" states we use in the print spooler
- Use the system print icon
- Use a translucent background icon which works correctly with dark mode

Test: Looked at all changed Settings pages
Fixes: 115830412
Change-Id: I1f5b005674e7072e989355f01ebd3fdaf56c9355

5 years agoAdd intent filter to launch usage access for app.
Fan Zhang [Thu, 20 Sep 2018 23:21:53 +0000 (16:21 -0700)]
Add intent filter to launch usage access for app.

Change-Id: Ide8aa590f9b4218d0f4affe65a7daec384480798
Fixes: 110200770
Test: adb shell am start -a android.settings.USAGE_ACCESS_SETTINGS -d package:com.android.settings

5 years agoFormat regression test files
Fan Zhang [Thu, 20 Sep 2018 21:31:47 +0000 (14:31 -0700)]
Format regression test files

Test: retest
Change-Id: I7c44bd39bc80768f455b95b5f314fbe65bf94b96

5 years agoFix incorrect API invoke for BT profiles
jackqdyulei [Tue, 18 Sep 2018 22:07:49 +0000 (15:07 -0700)]
Fix incorrect API invoke for BT profiles

When hearing aid device has been set active, we shouldn't invoke
1. a2dpProfile.setActiveDevice()
2. hfpProfile.setActiveDevice()

Change-Id: Ie13dea041dd98d0cb9d913e1f28574b300095db9
Merged-In: Ie13dea041dd98d0cb9d913e1f28574b300095db9
Fixes: 113625278
Test: RunSettingsRoboTests

5 years agoMerge "Make the volume slider height 48dp"
Julia Reynolds [Thu, 20 Sep 2018 19:11:45 +0000 (19:11 +0000)]
Merge "Make the volume slider height 48dp"

5 years agoMerge "Set MODE_LARGE to sliceView in the homepage."
Fan Zhang [Thu, 20 Sep 2018 18:58:47 +0000 (18:58 +0000)]
Merge "Set MODE_LARGE to sliceView in the homepage."

5 years agoFix compile error in NetwotkSelectSettings
jackqdyulei [Wed, 19 Sep 2018 01:22:22 +0000 (18:22 -0700)]
Fix compile error in NetwotkSelectSettings

1. Remove all the internal dependencies and add TODO
2. Use the API in SettingsFragment for progressbar

Bug: 114749736
Test: Build
Change-Id: If2f57dd24528ae1aac6a1fe84d4a40db237ae7da

5 years agoCopy NetworkSelectSettings to settings app
jackqdyulei [Wed, 19 Sep 2018 00:50:55 +0000 (17:50 -0700)]
Copy NetworkSelectSettings to settings app

This is a clean copy except:
1. Fix issues in strings.xml to make it pass pre-upload check
   a) add "CHAR_LIMIT"
   b) Update special character

Future CL will remove compile error and make it compatible with
settings.

Bug: 114749736
Test: Build
Change-Id: I8fe28ff1358f94334ff9663a4404628ae0eff9af

5 years agoMerge "Don't persist device index job across reboot"
TreeHugger Robot [Thu, 20 Sep 2018 16:50:13 +0000 (16:50 +0000)]
Merge "Don't persist device index job across reboot"

5 years agoMerge "Do not show restricted icon by default"
TreeHugger Robot [Thu, 20 Sep 2018 16:48:21 +0000 (16:48 +0000)]
Merge "Do not show restricted icon by default"

5 years agoAllow AppPicker to filter only non-system apps
Cody Northrop [Tue, 19 Jun 2018 15:17:27 +0000 (09:17 -0600)]
Allow AppPicker to filter only non-system apps

Bug: 80239516
Test: Manual

Change-Id: Iacd98d1aad6341dd229f0f648430bd2c16269e2e
(cherry picked from commit 85db17e40cccd34329be9370d99458f28af36c25)

5 years agoMerge "Developer option to enable CBRS"
TreeHugger Robot [Thu, 20 Sep 2018 15:29:06 +0000 (15:29 +0000)]
Merge "Developer option to enable CBRS"