Chaohui Wang
464c14649a
Use getEnabledProfiles for ProfileSelectDialog
...
In EnableContentCaptureWithServiceSettingsPreferenceController.
Which follows current examples OnDeviceRecognitionPreferenceController
and ZenModePrioritySendersPreferenceController.
Fix: 368646940
Flag: EXEMPT bug fix
Test: manual - on "More security & privacy" page
Change-Id: I82cc9ba89ff8ef5e21e0ea7539681726b3c69e90
2024-10-10 16:51:09 +08:00
Sunny Shao
076ed573eb
Revert^2 "Nullability Annotations replacement"
...
This reverts commit 19d1d3d15d
.
Reason for revert: revert it because this is not the root cause.
bug: 316867690
Change-Id: I0f168dbb64044aa720202af7b1040afd4f028c9c
2024-01-10 07:34:01 +00:00
Sunny Shao
19d1d3d15d
Revert "Nullability Annotations replacement"
...
This reverts commit cf0501e4d7
.
Reason for revert: b/317462033, it seems a flaky but revert it first.
Change-Id: Ie1d5e279cca6477fc17d8c27c1ecda8d7a6b2553
2023-12-29 02:28:24 +00:00
sunnyshao
cf0501e4d7
Nullability Annotations replacement
...
-- Replace the android.annotation.Nullable / android.annotation.NonNull
with androidx.annotation.Nullable / androidx.annotation.NonNull
Bug: 316867690
Test: build pass
Change-Id: I0c1da55dfb09ece855151c47e0492d6f46538621
2023-12-20 08:50:09 +08:00
Chaohui Wang
f250493787
Update Personal / work selection UI.
...
Implement the new-look by using AlertDialog's
custom title and custom view.
Using the RecyclerView so we can display profile
horizontally.
Bug: 174626616
Test: manual & robolectric
Change-Id: I9f5a7685d9217fc62e01799ad73f9b9a3ddbf19a
2022-04-25 19:12:38 +08:00
Jason Chiu
2989c50a23
Add highlight menu keys for all toggle pref controllers and custom slices
...
Bug: 204695404
Test: manual, robotest build pass, unit
Change-Id: Iad2e28ada8ddb766ffa7eff2c8dc581250cbd6f8
2021-11-01 15:00:18 +08:00
Adam He
83f0d24f67
Profile select only shows with multiple profiles present.
...
Bug: 133328247
Change-Id: Id5d03a1aa74f1789c41af37562848603a90db84f
Test: manual verification
2019-05-29 14:22:22 -07:00
Adam He
e840691e52
Display profile picker for content capture settings.
...
Fixes: 131748579
Test: manual verification
Change-Id: Iccce8aab8eb3596cb195d64d5711e9407a844541
2019-05-07 11:31:57 -07:00
Felipe Leme
fcf98251f2
Updated privacy settings to launch custom content capture settings when available.
...
Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest \
CtsContentTestCases:android.content.cts.AvailableIntentsTest#testRequestEnableContentCaptureIntent
Test: adb shell am start-activity -a android.settings.REQUEST_ENABLE_CONTENT_CAPTURE
Fixes: 119264902
Change-Id: I2a030c31d966d40feb6ba449e4bbc9ef8cf0565b
2019-03-22 08:10:48 -07:00