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
TYM Tsai
a1ca72224d
Fix Content Capture service starting after restriction
...
When a device owner and a profile owner restrict Content Capture,
there should be no toggle setting to turn on Content Capture.
Bug: 250573776
Test: Manual. Use setps on the comment#3,
make sure no toggle setting in the Privacy page.
Change-Id: Ia17f852b224c67b9c1cf5846ee9ad5592a485bab
2023-01-09 08:34:40 +00: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
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
Felipe Leme
0d3444a300
Added new toggle for Content Capture on Settings -> Privacy
...
Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest
Bug: 119264902
Change-Id: I2e29d7892892e6a0f90a97e35c48df231d67b0b6
2019-03-07 15:00:00 -08:00