Commit Graph

47769 Commits

Author SHA1 Message Date
Fan Zhang
dd5828c054 Add PreferenceController for support tile in homepage.
Change-Id: I8fe93456a761382513c07ff85c858ded30f599fc
Fixes: 116875332
Test: robotests
2018-10-03 13:35:12 -07:00
TreeHugger Robot
031de928a5 Merge "Delete provider data before insert" 2018-10-03 17:01:23 +00:00
Neil Fuller
a6ba19618f [automerger skipped] Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()" am: a934366a8d am: 8caeafdf92
am: eae7538909  -s ours

Change-Id: Ibebf9810795cc9b87bcfdcc123d9f8b360260986
2018-10-03 00:36:19 -07:00
Neil Fuller
eae7538909 Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()" am: a934366a8d
am: 8caeafdf92

Change-Id: I9dcfcf4414837d32a42abc152a49fb4544ddac80
2018-10-03 00:32:10 -07:00
Neil Fuller
8caeafdf92 Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"
am: a934366a8d

Change-Id: If44a79fde1e2694dc24d09cbf889771facef751f
2018-10-03 00:26:56 -07:00
Neil Fuller
a934366a8d Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()" 2018-10-03 07:13:37 +00:00
Sunny Shao
10f519347a 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
2018-10-03 11:01:04 +08:00
TreeHugger Robot
5cb7e3c0ab Merge "Use the new loader to show app data usage summary." 2018-10-03 01:30:40 +00:00
Stanley Tng
477cd15221 [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
2018-10-02 18:05:04 -07:00
Stanley Tng
ef2ae4d7e3 [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
2018-10-02 17:35:11 -07:00
TreeHugger Robot
09b181c771 Merge "Set the layoutPreference not selectable" 2018-10-03 00:23:42 +00:00
TreeHugger Robot
ce939610ba Merge "Fix Connect State message in Device details for Hearing Aids" into pi-dev-plus-aosp 2018-10-03 00:04:45 +00:00
Stanley Tng
0eb58d6f55 [automerger skipped] Merge "Fix Connect State message in Device details for Hearing Aids" into pi-dev
am: 31703ca227  -s ours

Change-Id: Icaa20e177b9037291b4c9fc03466b692618e95e8
2018-10-02 16:46:58 -07:00
TreeHugger Robot
3f45adfeb1 Merge "Check instance before casting" 2018-10-02 23:41:35 +00:00
Doris Ling
b758e2b473 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
2018-10-02 16:21:14 -07:00
Fan Zhang
53bdd9961c Check instance before casting
Change-Id: I1917b2d8e045904145ea833abf35fa1d008fa224
Fixes: 116855783
Test: robotests
2018-10-02 15:15:38 -07:00
Stanley Tng
7b91f0dd3e 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
2018-10-02 15:10:43 -07:00
TreeHugger Robot
54e4100ac0 Merge "Add SettingsContextualCardProvider" 2018-10-02 21:18:46 +00:00
TreeHugger Robot
31703ca227 Merge "Fix Connect State message in Device details for Hearing Aids" into pi-dev 2018-10-02 20:30:17 +00:00
Hansong Zhang
407823251b Fix build
am: 78ab907aa6

Change-Id: Ia036fde5adb3a8f060f5d0977147297f5a2f1489
2018-10-02 12:44:14 -07:00
Neil Fuller
40902715a3 Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()" 2018-10-02 16:58:08 +00:00
Hansong Zhang
78ab907aa6 Fix build
Test: compile
Change-Id: I3d236ea1b1f5ee5b4b5b2aa118416383b5b4bb6d
2018-10-02 16:30:39 +00:00
Neil Fuller
5b88d6e6ba Merge "Use ICU APIs not impl types" am: 811d817368 am: 09dcb87982
am: ccef9d9dc2

Change-Id: I302247aa892e018e58b6742f55d30c971a4f77f3
2018-10-02 06:29:44 -07:00
Neil Fuller
ccef9d9dc2 Merge "Use ICU APIs not impl types" am: 811d817368
am: 09dcb87982

Change-Id: Ic2f3ab527774f4d2d4464e8d879cdd4408afcb44
2018-10-02 06:24:33 -07:00
Neil Fuller
09dcb87982 Merge "Use ICU APIs not impl types"
am: 811d817368

Change-Id: I38d6806255619fec3de23945a184455072f34ec0
2018-10-02 06:16:23 -07:00
TreeHugger Robot
b021f3285b Merge "Settings change for device-wide unknown sources block." 2018-10-02 13:07:24 +00:00
Neil Fuller
811d817368 Merge "Use ICU APIs not impl types" 2018-10-02 12:59:47 +00:00
Neil Fuller
28fe954075 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
2018-10-02 12:29:06 +00:00
Neil Fuller
b81181b9f3 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
2018-10-02 13:27:44 +01:00
Stanley Tng
aa8f8fb414 [automerger skipped] Merge changes from topic "hearing-aid" into pi-dev am: f9658e13bb
am: 8b05337e6a  -s ours

Change-Id: I87aff99bdb01b20cee9ff877edecbec3077aa5c4
2018-10-02 04:22:19 -07:00
timhypeng
8019f9089c [automerger skipped] To show hearing aids device in the available devices group am: 79d7fdc4f3
am: 6443247f8f  -s ours

Change-Id: If899bc3294def4a4128789938a8ff306f95257a3
2018-10-02 04:21:34 -07:00
Stanley Tng
8b05337e6a Merge changes from topic "hearing-aid" into pi-dev
am: f9658e13bb

Change-Id: Ibdf40cc0a1712292fd41c1e38bbf879cfe3c4a65
2018-10-02 03:54:35 -07:00
timhypeng
6443247f8f To show hearing aids device in the available devices group
am: 79d7fdc4f3

Change-Id: Ie4e4014c98701d69e20f0f9244e57b5293e07f15
2018-10-02 03:53:36 -07:00
Neil Fuller
11be3acfe0 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
2018-10-02 10:15:36 +01:00
Raff Tsai
3936e9f3d6 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
2018-10-02 15:04:58 +08:00
TreeHugger Robot
ab7dba0d97 Merge "Support phone number in Settings slices" 2018-10-02 02:43:17 +00:00
Kevin Chyn
71614a1023 Merge "Do PackageManager check before getting system service" 2018-10-02 02:08:56 +00:00
TreeHugger Robot
3e5a0a0fa9 Merge "Extend limitation of A2DP HW offload related string." 2018-10-02 02:05:41 +00:00
Stanley Tng
69e1bb1cf3 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
2018-10-02 00:55:19 +00:00
TreeHugger Robot
f9658e13bb 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
2018-10-02 00:53:40 +00:00
Kevin Chyn
d15bcdeb60 Do PackageManager check before getting system service
Fixes: 117074737

Test: Does not crash
Change-Id: I51b04f46f8d467c3a854c132415a2cad90b77203
2018-10-01 17:50:09 -07:00
TreeHugger Robot
bf9562b21b Merge "Do not resolve permission in settings." 2018-10-01 22:00:30 +00:00
Doris Ling
6548d21839 Merge "Add version 2 of AppDataUsagePreferenceController." 2018-10-01 21:46:08 +00:00
TreeHugger Robot
4da85f6af3 Merge "Use BidiFormatter in ZenDeleteRuleDialog" 2018-10-01 21:16:02 +00:00
TreeHugger Robot
1161052e70 Merge "Application accepts null intents causing a crash" 2018-10-01 21:11:56 +00:00
Philip P. Moltmann
cf809c34b7 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
2018-10-01 13:48:43 -07:00
Beverly
5fbdeaae7c Use BidiFormatter in ZenDeleteRuleDialog
Test: visual inspection
Change-Id: I99231ed5801f3286421f331554fc5c51c2a2d08c
Fixes: 35960612
2018-10-01 14:47:28 -04:00
Doris Ling
863c60ffcf 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
2018-10-01 11:47:21 -07:00
Raff Tsai
af9eb2d7a7 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"
2018-10-02 02:04:41 +08:00
Fan Zhang
3600c03392 Merge "Support some phone information in Settings slice" 2018-10-01 16:46:19 +00:00