OSDN Git Service
TreeHugger Robot [Tue, 9 Oct 2018 19:16:07 +0000 (19:16 +0000)]
Merge "Add entitlement check for usb tethering"
Fan Zhang [Tue, 9 Oct 2018 16:48:04 +0000 (16:48 +0000)]
Merge "Add a filter to take out unnecessary homepage data."
Fan Zhang [Tue, 9 Oct 2018 16:45:35 +0000 (16:45 +0000)]
Merge "Add storage slice in Contextual Settings Homepage"
TreeHugger Robot [Tue, 9 Oct 2018 16:25:22 +0000 (16:25 +0000)]
Merge "Allow DND events rule to choose custom calendars"
Emily Chuang [Mon, 1 Oct 2018 11:21:23 +0000 (19:21 +0800)]
Add a filter to take out unnecessary homepage data.
After getting the full list from CardContentProvider, at render side
(Settings side) we should perform final filtering to filter out those
data that are not applicable at that moment. Apart from that, we should
also perform slice URI check in this stage to take out invalid slices.
Bug:
116063073
Test: robotests
Change-Id: Idfa94ec6176a9d9cb3379543e0a23858941af742
Mill Chen [Mon, 1 Oct 2018 08:47:12 +0000 (16:47 +0800)]
Add storage slice in Contextual Settings Homepage
- Add storage card that implements CustomSliceable in Contextual
Settings Homepage.
- Add test case for storage slice.
Bug:
117074909,
115971399
Test: visual, robotest, SliceBrowser
Change-Id: Idc7d47ba934c2556c124220545ecc73fb2beb7e2
TreeHugger Robot [Tue, 9 Oct 2018 05:29:15 +0000 (05:29 +0000)]
Merge "Use custom drop-down filter widget"
Mill Chen [Tue, 9 Oct 2018 01:49:17 +0000 (01:49 +0000)]
Merge "Add device info slice in Contextual Settings Homepage"
Maurice Lam [Tue, 9 Oct 2018 01:02:25 +0000 (01:02 +0000)]
Merge "Ignore lock type in ChooseLockGeneric in non-FBE"
TreeHugger Robot [Mon, 8 Oct 2018 23:00:06 +0000 (23:00 +0000)]
Merge "Remove obsolete chart view widgets."
Lei Yu [Mon, 8 Oct 2018 22:12:26 +0000 (22:12 +0000)]
Merge changes I3008bf85,I43aebf2e,I4fda0708,I744d5376
* changes:
Remove AdvancedOptionsPreference
Add activity for mobile network page
Fix the complie error of network migration
Copy MobileNetworkSettings to settings app
TreeHugger Robot [Mon, 8 Oct 2018 22:11:24 +0000 (22:11 +0000)]
Merge "Remove DeviceIndex feature/service."
Doris Ling [Mon, 8 Oct 2018 21:18:50 +0000 (14:18 -0700)]
Remove obsolete chart view widgets.
ChartDataUsageView and ChartNetworkSeriesView are no longer being used.
Remove them to avoid the need to maintain obsolete codes.
Bug:
117433810
Test: rebuild and make RunSettingsRoboTests
Change-Id: I0c99725500926083bee693c102a323d563647c3a
TreeHugger Robot [Mon, 8 Oct 2018 20:51:27 +0000 (20:51 +0000)]
Merge "Add search keyword to lock screen notification setting."
Fan Zhang [Wed, 3 Oct 2018 21:27:53 +0000 (14:27 -0700)]
Remove DeviceIndex feature/service.
Change-Id: I8444101669aef013183842c2d13cf3960c756398
Fixes:
112587202
Test: rerun all tests
Fan Zhang [Mon, 8 Oct 2018 19:39:23 +0000 (12:39 -0700)]
Add search keyword to lock screen notification setting.
Bug:
115894261
Test: reindex
Change-Id: I0532c5dba8175beb2712cd907d132a360d312c04
Fan Zhang [Mon, 8 Oct 2018 19:16:30 +0000 (12:16 -0700)]
Log open search action in metrics.
Change-Id: I80ab40d0767a9e6e561690f31bd092b384095b6e
Fixes:
117341899
Test: robotests
jackqdyulei [Fri, 5 Oct 2018 22:49:52 +0000 (15:49 -0700)]
Remove AdvancedOptionsPreference
This is used to show "Advanced" preference in telephony package.
Remove it since we have better way to do it in settings.
Bug:
114749736
Test: Manual
Change-Id: I3008bf856b8f42ba10ab26cb81d35a9370601c58
jackqdyulei [Fri, 5 Oct 2018 17:04:19 +0000 (10:04 -0700)]
Add activity for mobile network page
1. Extract the Tabhost to activity level, not fragment level. So
each mobile fragment has a constant subscriptionId
2. Use BottomNavigationView instead of TabHost
Bug:
114749736
Test: RunSettingsRoboTests
Change-Id: I43aebf2ec01a945697c6b2302ab750e715e4bfef
jackqdyulei [Wed, 3 Oct 2018 23:34:57 +0000 (16:34 -0700)]
Fix the complie error of network migration
1. Fix the error in import part
2. Remove broken code and add TODO
Future CL will fix TODO and add tests
Bug:
114749736
Test: Build
Change-Id: I4fda0708959e299015ecb10ac17c9c2dadc6f852
Doris Ling [Mon, 8 Oct 2018 17:24:37 +0000 (17:24 +0000)]
Merge "Fix typo in getHistoriclUsageLevel()"
Mill Chen [Thu, 27 Sep 2018 15:57:21 +0000 (23:57 +0800)]
Add device info slice in Contextual Settings Homepage
- Add device info card that implements CustomSliceable in Contextual
Settings Homepage.
- Add test case for device info slice.
Bug:
114790594,
115971399
Test: robotests, manual, SliceBrowser
Change-Id: I627a5b442e6ee20b3fd2e0500b31921bfec7b1d3
tmfang [Thu, 4 Oct 2018 09:59:03 +0000 (17:59 +0800)]
Use custom drop-down filter widget
This CL is just a example how to use this SettingsSpinner.
Change-Id: Ie0d104ce5f3e4c6b852fe7c051253b1567c6c4cd
Fixes:
112706966
Test: robotests
Bill Yi [Sun, 7 Oct 2018 04:32:01 +0000 (21:32 -0700)]
Import translations. DO NOT MERGE
Change-Id: I97ae0a1863b5a8208b4784e10ee1422e010928c8
Auto-generated-cl: translation import
Sooraj Sasindran [Sat, 6 Oct 2018 03:41:26 +0000 (03:41 +0000)]
Merge "Use updated APIs for CBRS"
TreeHugger Robot [Fri, 5 Oct 2018 23:59:52 +0000 (23:59 +0000)]
Merge "Fix work profile fingerprint userId"
Doris Ling [Fri, 5 Oct 2018 21:22:07 +0000 (14:22 -0700)]
Fix typo in getHistoriclUsageLevel()
Bug:
111751694
Test: make RunSettingsRoboTests
Change-Id: I523e43f60948e49e78d518a4eeb3ed2bf885f7bd
Maurice Lam [Fri, 5 Oct 2018 02:49:08 +0000 (19:49 -0700)]
Ignore lock type in ChooseLockGeneric in non-FBE
We need to show the encryption opt-in in non-FBE cases.
Test: atest RunSettingsRoboTests
Bug:
115847373
Change-Id: I3a92b265c9c8ecf5d4af009943b5b9483e25a738
Beverly [Fri, 5 Oct 2018 14:26:11 +0000 (10:26 -0400)]
Allow DND events rule to choose custom calendars
For the System DND Events rule, users can now select
custom calendars they are contributors to that are
synced to their device.
Test: atest /extra/master/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ZenModeEventRuleSettingsTest.java
Bug:
113368047
Change-Id: I1b81c528655b8f68867d881cee8125aa2b027eaa
Kevin Chyn [Fri, 5 Oct 2018 18:09:46 +0000 (11:09 -0700)]
Fix work profile fingerprint userId
Fixes:
117303349
Test: Enabling work profile, FP settings shows independent sets again
(same as P behavior)
Change-Id: Ifddd41c8aaa4316a58c9b8d16905d6d05318f5fd
TreeHugger Robot [Thu, 4 Oct 2018 20:00:19 +0000 (20:00 +0000)]
Merge "Get ethernet data usage from NetworkStatsManager."
Doris Ling [Thu, 4 Oct 2018 00:17:52 +0000 (17:17 -0700)]
Get ethernet data usage from NetworkStatsManager.
- change to use NetworkStatsManager.querySummaryForUser() to check for
ethernet usage data instead of getting it from INetworkStatsSession.
Bug:
111751694
Test: make RunSettingsRoboTests
Change-Id: I60364b4a5f7879906beba194c50955154d56803a
Lei Yu [Thu, 4 Oct 2018 17:08:58 +0000 (17:08 +0000)]
Merge "Still check the visibility of view"
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
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
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
Treehugger Robot [Thu, 4 Oct 2018 02:28:42 +0000 (02:28 +0000)]
Merge "Don't set value when developer options disabled"
jackqdyulei [Wed, 3 Oct 2018 20:54:53 +0000 (13:54 -0700)]
Copy MobileNetworkSettings to settings app
This is a CL to copy most components from telephony to settings app with
following changes to pass the preupload check:
1. Add [CHAR LIMIT]/comments for strings that miss them
This CL cannot build and future CL will fix the broken part.
Bug:
114749736
Test: Build
Change-Id: I744d537610eeeb7f2fb801defdd0ce47ef6088b6
TreeHugger Robot [Wed, 3 Oct 2018 22:46:56 +0000 (22:46 +0000)]
Merge "Add 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
TreeHugger Robot [Wed, 3 Oct 2018 20:29:45 +0000 (20:29 +0000)]
Merge "Change reset page to be SUW style"
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
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
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
TreeHugger Robot [Wed, 3 Oct 2018 17:01:23 +0000 (17:01 +0000)]
Merge "Delete provider data before insert"
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
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
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
Neil Fuller [Wed, 3 Oct 2018 07:26:56 +0000 (00:26 -0700)]
Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"
am:
a934366a8d
Change-Id: If44a79fde1e2694dc24d09cbf889771facef751f
Neil Fuller [Wed, 3 Oct 2018 07:13:37 +0000 (07:13 +0000)]
Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"
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
TreeHugger Robot [Wed, 3 Oct 2018 01:30:40 +0000 (01:30 +0000)]
Merge "Use the new loader to show app data usage summary."
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
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
TreeHugger Robot [Wed, 3 Oct 2018 00:23:42 +0000 (00:23 +0000)]
Merge "Set the layoutPreference not selectable"
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
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
TreeHugger Robot [Tue, 2 Oct 2018 23:41:35 +0000 (23:41 +0000)]
Merge "Check instance before casting"
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
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
jackqdyulei [Tue, 2 Oct 2018 21:19:27 +0000 (14:19 -0700)]
Add entitlement check for usb tethering
Before this CL, usb tethering in detail page doesn't have entitlement
check. This CL fix it by using the correct API
Also polish it by updating the UI before entitlement check to align
hotspot page. So in UI it will first check "usb tethering". If
entitlement check fail, it will revoke and go back to previous selection.
Bug:
115707279
Test: RunSettingsRoboTests
Change-Id: I3d2ebad2879479a870bcdfe596bb88b83c424389
Fan Zhang [Tue, 2 Oct 2018 20:36:33 +0000 (13:36 -0700)]
Check instance before casting
Change-Id: I1917b2d8e045904145ea833abf35fa1d008fa224
Fixes:
116855783
Test: robotests
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
TreeHugger Robot [Tue, 2 Oct 2018 21:18:46 +0000 (21:18 +0000)]
Merge "Add SettingsContextualCardProvider"
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
Hansong Zhang [Tue, 2 Oct 2018 19:44:14 +0000 (12:44 -0700)]
Fix build
am:
78ab907aa6
Change-Id: Ia036fde5adb3a8f060f5d0977147297f5a2f1489
Sooraj Sasindran [Tue, 2 Oct 2018 18:04:27 +0000 (11:04 -0700)]
Use updated APIs for CBRS
Use updated APIs for CBRS
Bug:
117156243
Test: verified enable disable using UI
Change-Id: Ib6be6479c9f51b7c2dd80db5f7971a8c7e820954
Neil Fuller [Tue, 2 Oct 2018 16:58:08 +0000 (16:58 +0000)]
Merge "Avoid deprecated PrivateKeyInfo.getAlgorithmId()"
Hansong Zhang [Tue, 2 Oct 2018 16:28:11 +0000 (09:28 -0700)]
Fix build
Test: compile
Change-Id: I3d236ea1b1f5ee5b4b5b2aa118416383b5b4bb6d
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
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
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
TreeHugger Robot [Tue, 2 Oct 2018 13:07:24 +0000 (13:07 +0000)]
Merge "Settings change for device-wide unknown sources block."
Neil Fuller [Tue, 2 Oct 2018 12:59:47 +0000 (12:59 +0000)]
Merge "Use ICU APIs not impl types"
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
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
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
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
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
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
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
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
TreeHugger Robot [Tue, 2 Oct 2018 02:43:17 +0000 (02:43 +0000)]
Merge "Support phone number in Settings slices"
Kevin Chyn [Tue, 2 Oct 2018 02:08:56 +0000 (02:08 +0000)]
Merge "Do PackageManager check before getting system service"
TreeHugger Robot [Tue, 2 Oct 2018 02:05:41 +0000 (02:05 +0000)]
Merge "Extend limitation of A2DP HW offload related string."
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
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
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
TreeHugger Robot [Mon, 1 Oct 2018 22:00:30 +0000 (22:00 +0000)]
Merge "Do not resolve permission in settings."
Doris Ling [Mon, 1 Oct 2018 21:46:08 +0000 (21:46 +0000)]
Merge "Add version 2 of AppDataUsagePreferenceController."
TreeHugger Robot [Mon, 1 Oct 2018 21:16:02 +0000 (21:16 +0000)]
Merge "Use BidiFormatter in ZenDeleteRuleDialog"
TreeHugger Robot [Mon, 1 Oct 2018 21:11:56 +0000 (21:11 +0000)]
Merge "Application accepts null intents causing a crash"
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
Beverly [Mon, 1 Oct 2018 18:29:37 +0000 (14:29 -0400)]
Use BidiFormatter in ZenDeleteRuleDialog
Test: visual inspection
Change-Id: I99231ed5801f3286421f331554fc5c51c2a2d08c
Fixes:
35960612
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
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"
Fan Zhang [Mon, 1 Oct 2018 16:46:19 +0000 (16:46 +0000)]
Merge "Support some phone information in Settings slice"
Fan Zhang [Mon, 1 Oct 2018 16:45:19 +0000 (16:45 +0000)]
Merge "Remove FragmentUtilsTest class"
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
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