OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Still check the visibility of view"
Lei Yu [Thu, 4 Oct 2018 17:08:58 +0000 (17:08 +0000)]
Merge "Still check the visibility of view"

5 years agoMerge "Don't set value when developer options disabled" am: 692f5368d0 am: 5ef8843845
Chienyuan [Thu, 4 Oct 2018 03:02:10 +0000 (20:02 -0700)]
Merge "Don't set value when developer options disabled" am: 692f5368d0 am: 5ef8843845
am: 4f7895f08b

Change-Id: I688e3dfee47ead666e93d8b5a42ad88a49259d65

5 years agoMerge "Don't set value when developer options disabled" am: 692f5368d0
Chienyuan [Thu, 4 Oct 2018 02:57:57 +0000 (19:57 -0700)]
Merge "Don't set value when developer options disabled" am: 692f5368d0
am: 5ef8843845

Change-Id: Idb3c130e31571111911b4e17d989b1199ff7619a

5 years agoMerge "Don't set value when developer options disabled"
Chienyuan [Thu, 4 Oct 2018 02:48:47 +0000 (19:48 -0700)]
Merge "Don't set value when developer options disabled"
am: 692f5368d0

Change-Id: Icddab4eb38cade9d111e39a0e2dfee24198aabc0

5 years agoMerge "Don't set value when developer options disabled"
Treehugger Robot [Thu, 4 Oct 2018 02:28:42 +0000 (02:28 +0000)]
Merge "Don't set value when developer options disabled"

5 years agoMerge "Add PreferenceController for support tile in homepage."
TreeHugger Robot [Wed, 3 Oct 2018 22:46:56 +0000 (22:46 +0000)]
Merge "Add PreferenceController for support tile in homepage."

5 years agoAdd PreferenceController for support tile in homepage.
Fan Zhang [Wed, 3 Oct 2018 19:58:51 +0000 (12:58 -0700)]
Add PreferenceController for support tile in homepage.

Change-Id: I8fe93456a761382513c07ff85c858ded30f599fc
Fixes: 116875332
Test: robotests

5 years agoMerge "Change reset page to be SUW style"
TreeHugger Robot [Wed, 3 Oct 2018 20:29:45 +0000 (20:29 +0000)]
Merge "Change reset page to be SUW style"

5 years agoUse the new loader to show app data usage details.
Doris Ling [Tue, 2 Oct 2018 21:54:21 +0000 (14:54 -0700)]
Use the new loader to show app data usage details.

- this is for showing the detail usage (total, background, and
foreground) for a specific app for each billing cycle.

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

5 years agoMerge changes I44039704,Iee0de8a2
Lei Yu [Wed, 3 Oct 2018 19:04:16 +0000 (19:04 +0000)]
Merge changes I44039704,Iee0de8a2

* changes:
  Use isConnected in CachedBluetoothDevice
  Update "Previous connected device" preference

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 "Delete provider data before insert"
TreeHugger Robot [Wed, 3 Oct 2018 17:01:23 +0000 (17:01 +0000)]
Merge "Delete provider data before insert"

5 years agoDon't set value when developer options disabled
Chienyuan [Wed, 3 Oct 2018 13:04:19 +0000 (21:04 +0800)]
Don't set value when developer options disabled

We shouldn't change property when developer options disabled.
Change A2DP HW offload property without reboot, A2DP will not work.

Bug: 109717129
Test: manual
Change-Id: I96103b04922b28995be198badbed324de40624f0

5 years ago[automerger skipped] Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()" am...
Neil Fuller [Wed, 3 Oct 2018 07:36:19 +0000 (00:36 -0700)]
[automerger skipped] Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()" am: a934366a8d am: 8caeafdf92
am: eae7538909  -s ours

Change-Id: Ibebf9810795cc9b87bcfdcc123d9f8b360260986

5 years agoMerge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()" am: a934366a8d
Neil Fuller [Wed, 3 Oct 2018 07:32:10 +0000 (00:32 -0700)]
Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()" am: a934366a8d
am: 8caeafdf92

Change-Id: I9dcfcf4414837d32a42abc152a49fb4544ddac80

5 years agoMerge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"
Neil Fuller [Wed, 3 Oct 2018 07:26:56 +0000 (00:26 -0700)]
Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"
am: a934366a8d

Change-Id: If44a79fde1e2694dc24d09cbf889771facef751f

5 years agoMerge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"
Neil Fuller [Wed, 3 Oct 2018 07:13:37 +0000 (07:13 +0000)]
Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"

5 years agoDelete provider data before insert
Sunny Shao [Wed, 3 Oct 2018 03:01:04 +0000 (11:01 +0800)]
Delete provider data before insert

- Updated CardContentProvider and deleted exist data first to avoid redundant insertion in bulkInsert

Bug: 115575311
Test: robotest
Change-Id: I58b7b26f18bfdb8a59ebc61d7abb478390c58e4c

5 years agoMerge "Use the new loader to show app data usage summary."
TreeHugger Robot [Wed, 3 Oct 2018 01:30:40 +0000 (01:30 +0000)]
Merge "Use the new loader to show app data usage summary."

5 years ago[automerger skipped] Merge "Fix Connect State message in Device details for Hearing...
Stanley Tng [Wed, 3 Oct 2018 01:05:04 +0000 (18:05 -0700)]
[automerger skipped] Merge "Fix Connect State message in Device details for Hearing Aids" into pi-dev-plus-aosp
am: ce939610ba  -s ours

Change-Id: Icb817e909ee7f66f8b8f53c8e3572354845167a9

5 years ago[automerger skipped] Merge "Fix Connect State message in Device details for Hearing...
Stanley Tng [Wed, 3 Oct 2018 00:35:11 +0000 (17:35 -0700)]
[automerger skipped] Merge "Fix Connect State message in Device details for Hearing Aids" into pi-dev am: 31703ca227  -s ours
am: 0eb58d6f55  -s ours

Change-Id: I8c89ec79c91605b43a073dbbe225b828bd2fdd35

5 years agoMerge "Set the layoutPreference not selectable"
TreeHugger Robot [Wed, 3 Oct 2018 00:23:42 +0000 (00:23 +0000)]
Merge "Set the layoutPreference not selectable"

5 years agoMerge "Fix Connect State message in Device details for Hearing Aids" into pi-dev...
TreeHugger Robot [Wed, 3 Oct 2018 00:04:45 +0000 (00:04 +0000)]
Merge "Fix Connect State message in Device details for Hearing Aids" into pi-dev-plus-aosp

5 years ago[automerger skipped] Merge "Fix Connect State message in Device details for Hearing...
Stanley Tng [Tue, 2 Oct 2018 23:46:58 +0000 (16:46 -0700)]
[automerger skipped] Merge "Fix Connect State message in Device details for Hearing Aids" into pi-dev
am: 31703ca227  -s ours

Change-Id: Icaa20e177b9037291b4c9fc03466b692618e95e8

5 years agoMerge "Check instance before casting"
TreeHugger Robot [Tue, 2 Oct 2018 23:41:35 +0000 (23:41 +0000)]
Merge "Check instance before casting"

5 years agoUse the new loader to show app data usage summary.
Doris Ling [Tue, 2 Oct 2018 00:23:22 +0000 (17:23 -0700)]
Use the new loader to show app data usage summary.

- this is for getting the summary text for Apps & notifications ->
(select an app) -> Mobile data & Wi-Fi

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

5 years agoUse isConnected in CachedBluetoothDevice
jackqdyulei [Tue, 25 Sep 2018 01:09:01 +0000 (18:09 -0700)]
Use isConnected in CachedBluetoothDevice

This method check whether it has connected profile, not physical
connection between devices.

It make more sense to use it in settings:
1. We only care about whether it has active profile(i.e. A2dp, hfp..)
2. Sometime when profile is disconnected, BluetoothDevice.isConnected()
still return true. This may make UI flaky.

Bug: 79947085
Test: RunSettingsRoboTests
Change-Id: I44039704508a742c7a8aef0a035afcf169b08939

5 years agoCheck instance before casting
Fan Zhang [Tue, 2 Oct 2018 20:36:33 +0000 (13:36 -0700)]
Check instance before casting

Change-Id: I1917b2d8e045904145ea833abf35fa1d008fa224
Fixes: 116855783
Test: robotests

5 years agoFix Connect State message in Device details for Hearing Aids
Stanley Tng [Mon, 1 Oct 2018 05:47:22 +0000 (22:47 -0700)]
Fix Connect State message in Device details for Hearing Aids

In the Device details of Settings App and when using two Hearing Aids
devices (left and right sides), this will fix the connect state messages
for these two devices. Also added Robo tests for the changes.

Bug: 116725094
Bug: 117074814
Test: Manual tests and also ran RunSettingsLibRoboTests and RunSettingsRoboTests.

Change-Id: I5c9af9ec6a2a17668597a537fd1f7b70368b7ed8
Merged-In: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
Merged-In: I169cda4a1658b0a67cc7c7367b38d57a021e6953

5 years agoMerge "Add SettingsContextualCardProvider"
TreeHugger Robot [Tue, 2 Oct 2018 21:18:46 +0000 (21:18 +0000)]
Merge "Add SettingsContextualCardProvider"

5 years agoMerge "Fix Connect State message in Device details for Hearing Aids" into pi-dev
TreeHugger Robot [Tue, 2 Oct 2018 20:30:17 +0000 (20:30 +0000)]
Merge "Fix Connect State message in Device details for Hearing Aids" into pi-dev

5 years agoFix build
Hansong Zhang [Tue, 2 Oct 2018 19:44:14 +0000 (12:44 -0700)]
Fix build
am: 78ab907aa6

Change-Id: Ia036fde5adb3a8f060f5d0977147297f5a2f1489

5 years agoMerge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"
Neil Fuller [Tue, 2 Oct 2018 16:58:08 +0000 (16:58 +0000)]
Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"

5 years agoFix build
Hansong Zhang [Tue, 2 Oct 2018 16:28:11 +0000 (09:28 -0700)]
Fix build

Test: compile
Change-Id: I3d236ea1b1f5ee5b4b5b2aa118416383b5b4bb6d

5 years agoMerge "Use ICU APIs not impl types" am: 811d817368 am: 09dcb87982
Neil Fuller [Tue, 2 Oct 2018 13:29:44 +0000 (06:29 -0700)]
Merge "Use ICU APIs not impl types" am: 811d817368 am: 09dcb87982
am: ccef9d9dc2

Change-Id: I302247aa892e018e58b6742f55d30c971a4f77f3

5 years agoMerge "Use ICU APIs not impl types" am: 811d817368
Neil Fuller [Tue, 2 Oct 2018 13:24:33 +0000 (06:24 -0700)]
Merge "Use ICU APIs not impl types" am: 811d817368
am: 09dcb87982

Change-Id: Ic2f3ab527774f4d2d4464e8d879cdd4408afcb44

5 years agoMerge "Use ICU APIs not impl types"
Neil Fuller [Tue, 2 Oct 2018 13:16:23 +0000 (06:16 -0700)]
Merge "Use ICU APIs not impl types"
am: 811d817368

Change-Id: I38d6806255619fec3de23945a184455072f34ec0

5 years agoMerge "Settings change for device-wide unknown sources block."
TreeHugger Robot [Tue, 2 Oct 2018 13:07:24 +0000 (13:07 +0000)]
Merge "Settings change for device-wide unknown sources block."

5 years agoMerge "Use ICU APIs not impl types"
Neil Fuller [Tue, 2 Oct 2018 12:59:47 +0000 (12:59 +0000)]
Merge "Use ICU APIs not impl types"

5 years agoAvoid deprecated PrivateKeyInfo.getAlgorithmId()
Neil Fuller [Tue, 2 Oct 2018 10:55:20 +0000 (11:55 +0100)]
Avoid deprecated PrivateKeyInfo.getAlgorithmId()

Switch from using the PrivateKeyInfo.getAlgorithmId() method to
using the functionally identical PrivateKeyInfo.getPrivateKeyAlgorithm()
method instead.

Bug: 113148576
Test: build only / inspection
Merged-In: Iab2d3b23ad969f683d716cb981e32fd554c67a81
Change-Id: I9ed5c96a20d6749bf75212c0fd820d71ca0a6053

5 years agoAvoid deprecated PrivateKeyInfo.getAlgorithmId()
Neil Fuller [Tue, 2 Oct 2018 12:27:44 +0000 (13:27 +0100)]
Avoid deprecated PrivateKeyInfo.getAlgorithmId()

Switch from using the PrivateKeyInfo.getAlgorithmId() method to
using the functionally identical PrivateKeyInfo.getPrivateKeyAlgorithm()
method instead.

Bug: 113148576
Test: build only / inspection
Change-Id: Iab2d3b23ad969f683d716cb981e32fd554c67a81

5 years ago[automerger skipped] Merge changes from topic "hearing-aid" into pi-dev am: f9658e13bb
Stanley Tng [Tue, 2 Oct 2018 11:22:19 +0000 (04:22 -0700)]
[automerger skipped] Merge changes from topic "hearing-aid" into pi-dev am: f9658e13bb
am: 8b05337e6a  -s ours

Change-Id: I87aff99bdb01b20cee9ff877edecbec3077aa5c4

5 years ago[automerger skipped] To show hearing aids device in the available devices group am...
timhypeng [Tue, 2 Oct 2018 11:21:34 +0000 (04:21 -0700)]
[automerger skipped] To show hearing aids device in the available devices group am: 79d7fdc4f3
am: 6443247f8f  -s ours

Change-Id: If899bc3294def4a4128789938a8ff306f95257a3

5 years agoMerge changes from topic "hearing-aid" into pi-dev
Stanley Tng [Tue, 2 Oct 2018 10:54:35 +0000 (03:54 -0700)]
Merge changes from topic "hearing-aid" into pi-dev
am: f9658e13bb

Change-Id: Ibdf40cc0a1712292fd41c1e38bbf879cfe3c4a65

5 years agoTo show hearing aids device in the available devices group
timhypeng [Tue, 2 Oct 2018 10:53:36 +0000 (03:53 -0700)]
To show hearing aids device in the available devices group
am: 79d7fdc4f3

Change-Id: Ie4e4014c98701d69e20f0f9244e57b5293e07f15

5 years agoUse ICU APIs not impl types
Neil Fuller [Tue, 2 Oct 2018 09:15:36 +0000 (10:15 +0100)]
Use ICU APIs not impl types

It's possible to use BasicTimeZone in place of OlsonTimeZone.
Although neither are currently public SDK APIs the BasicTimeZone
is preferable.

Bug: 113148576
Test: build
Change-Id: I745b17feee678ecd053fadc6c447107fa80918e8

5 years agoAdd SettingsContextualCardProvider
Raff Tsai [Fri, 28 Sep 2018 09:42:43 +0000 (17:42 +0800)]
Add SettingsContextualCardProvider

- provide contextual cards for SettingsIntelligence
- add contextualcards libs

Fixes: 116837093
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.homepage.contextualcards"

Change-Id: I873e77fa43e9a8f6056be1f583b1910002efbd2e

5 years agoMerge "Support phone number in Settings slices"
TreeHugger Robot [Tue, 2 Oct 2018 02:43:17 +0000 (02:43 +0000)]
Merge "Support phone number in Settings slices"

5 years agoMerge "Do PackageManager check before getting system service"
Kevin Chyn [Tue, 2 Oct 2018 02:08:56 +0000 (02:08 +0000)]
Merge "Do PackageManager check before getting system service"

5 years agoMerge "Extend limitation of A2DP HW offload related string."
TreeHugger Robot [Tue, 2 Oct 2018 02:05:41 +0000 (02:05 +0000)]
Merge "Extend limitation of A2DP HW offload related string."

5 years agoFix Connect State message in Device details for Hearing Aids
Stanley Tng [Mon, 1 Oct 2018 05:47:22 +0000 (22:47 -0700)]
Fix Connect State message in Device details for Hearing Aids

In the Device details of Settings App and when using two Hearing Aids
devices (left and right sides), this will fix the connect state messages
for these two devices. Also added Robo tests for the changes.

Bug: 116725094
Bug: 117074814
Test: Manual tests and also ran RunSettingsLibRoboTests and RunSettingsRoboTests.

Change-Id: I169cda4a1658b0a67cc7c7367b38d57a021e6953
Merged-In: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
Merged-In: I169cda4a1658b0a67cc7c7367b38d57a021e6953

5 years agoMerge changes from topic "hearing-aid" into pi-dev
TreeHugger Robot [Tue, 2 Oct 2018 00:53:40 +0000 (00:53 +0000)]
Merge changes from topic "hearing-aid" into pi-dev

* changes:
  Add Feature Flag for Hearing Aid Profile
  To show hearing aids device in the available devices group

5 years agoDo PackageManager check before getting system service
Kevin Chyn [Tue, 2 Oct 2018 00:47:35 +0000 (17:47 -0700)]
Do PackageManager check before getting system service

Fixes: 117074737

Test: Does not crash
Change-Id: I51b04f46f8d467c3a854c132415a2cad90b77203

5 years agoMerge "Do not resolve permission in settings."
TreeHugger Robot [Mon, 1 Oct 2018 22:00:30 +0000 (22:00 +0000)]
Merge "Do not resolve permission in settings."

5 years agoMerge "Add version 2 of AppDataUsagePreferenceController."
Doris Ling [Mon, 1 Oct 2018 21:46:08 +0000 (21:46 +0000)]
Merge "Add version 2 of AppDataUsagePreferenceController."

5 years agoMerge "Use BidiFormatter in ZenDeleteRuleDialog"
TreeHugger Robot [Mon, 1 Oct 2018 21:16:02 +0000 (21:16 +0000)]
Merge "Use BidiFormatter in ZenDeleteRuleDialog"

5 years agoMerge "Application accepts null intents causing a crash"
TreeHugger Robot [Mon, 1 Oct 2018 21:11:56 +0000 (21:11 +0000)]
Merge "Application accepts null intents causing a crash"

5 years agoDo not resolve permission in settings.
Philip P. Moltmann [Mon, 1 Oct 2018 20:48:43 +0000 (13:48 -0700)]
Do not resolve permission in settings.

Settings already uses the RuntimePermissionPresenter to resolve
permissions for an app. This code must be the previous implementation.

It can be removed without any issues.

Test: Built
Change-Id: Ie1375de1e23f4c9bb882a13ef7ade9adc543c82a

5 years agoUse BidiFormatter in ZenDeleteRuleDialog
Beverly [Mon, 1 Oct 2018 18:29:37 +0000 (14:29 -0400)]
Use BidiFormatter in ZenDeleteRuleDialog

Test: visual inspection
Change-Id: I99231ed5801f3286421f331554fc5c51c2a2d08c
Fixes: 35960612

5 years agoAdd version 2 of AppDataUsagePreferenceController.
Doris Ling [Mon, 1 Oct 2018 18:34:41 +0000 (11:34 -0700)]
Add version 2 of AppDataUsagePreferenceController.

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

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

5 years agoApplication accepts null intents causing a crash
Raff Tsai [Mon, 1 Oct 2018 10:34:22 +0000 (18:34 +0800)]
Application accepts null intents causing a crash

Change-Id: Ia7f98f43567f25ae7abc6e5ac7e07323e75d9047
Fixes: 116869239
Test: adb shell am start -n com.android.settings/com.android.settings.Settings\\\$ApnEditorActivity
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.network"

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 agoExtend limitation of A2DP HW offload related string.
Chienyuan [Thu, 31 May 2018 06:24:06 +0000 (14:24 +0800)]
Extend limitation of A2DP HW offload related string.

With current limitation, the UI of A2DP HW offload can't be
display in some language, e.g., Arabic (ar) and Hindi (hi).

Bug: 80149220
Bug: 80164750
Bug: 80149375
Test: build pass
Change-Id: I95f6b4b21201bb466260b71f238b9c6b700bc850

5 years agoSettings change for device-wide unknown sources block.
Irina Dumitrescu [Tue, 11 Sep 2018 14:19:38 +0000 (15:19 +0100)]
Settings change for device-wide unknown sources block.

Update the "Install unknown apps" preferences to display the option is
disabled if the global user restriction for unknown apps is turned on.

Test: Manual test, disallowing installs in TestDPC disables installing
unknown sources apps. Also:
atest packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ExternalSourcesDetailsTest.java
Bug: 111335021
Change-Id: I235e5fd110e296ed43aa89d7a5ec0d48470c4023

5 years agoSupport phone number in Settings slices
tmfang [Fri, 22 Jun 2018 08:56:37 +0000 (16:56 +0800)]
Support phone number in Settings slices

- Let controller of phoner number extends BasePreferenceController,
so it can be supported showing slice view by SettingsSliceProvider.

Test: make RunSettingsRoboTests
Bug: 74900516
Change-Id: Id98e6aac981025159a0530c6e0709ba0f2ebcd15

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 agoStill check the visibility of view
jackqdyulei [Thu, 27 Sep 2018 23:24:21 +0000 (16:24 -0700)]
Still check the visibility of view

Since EAP has many sub type, which controls differnet view. We still need to check the
visibility to determine which type it is.

Bug: 116767176
Test: RunSettingsRoboTests
Change-Id: Iee04a50140ae1afacdf77eedf7743a465bae1f58

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