Commit Graph

6440 Commits

Author SHA1 Message Date
Jordan Liu
a871525019 Merge "Make backport_s_notif_rules readable" 2021-03-19 16:23:28 +00:00
TreeHugger Robot
55de27b3b7 Merge "Add the intent to navigate to MANAGE_MEDIA permission page" into sc-dev am: b50b960b35
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13824706

Change-Id: I2ec5997485ddbde14a42db6ab616659f71d34b0a
2021-03-19 01:47:24 +00:00
TreeHugger Robot
b50b960b35 Merge "Add the intent to navigate to MANAGE_MEDIA permission page" into sc-dev 2021-03-19 01:00:40 +00:00
TreeHugger Robot
ab17781de5 Merge "[Settings] add @Readable back for block_untrusted_touches, maximum_obscuring_opacity_for_touch" into sc-dev am: 1c3fef7596
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13920705

Change-Id: Ida7de6fb7fddb8cd4f3fef5af981b678caa948c6
2021-03-18 22:07:25 +00:00
Jordan Liu
a5792f7402 Make backport_s_notif_rules readable
Bug: 182313963
Test: atest
Change-Id: I4a0ba25a8a5f0674696a83e931ce2aa914c7e7ea
2021-03-18 11:30:36 -07:00
Songchun Fan
e6383a6d3d [Settings] add @Readable back for block_untrusted_touches, maximum_obscuring_opacity_for_touch
These settings are marked @hide to encourage the usage of wrapper APIs.
They should still be readable for any app via the public APIs in
InputManager.

BUG: 183067125
Test: atest android.server.wm.WindowUntrustedTouchTest
Change-Id: I2a3aff0e3bb2ecfba439323fc09b353bd0f2106f
2021-03-18 18:16:06 +00:00
Lucy Chang
e5757df425 Merge "Prompt notifications for non-accessibility services" into sc-dev am: 6d65ee195a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13451719

Change-Id: Iaa9aa227d15870c904e35a796ead5e61d053af35
2021-03-18 05:46:06 +00:00
lucychang
b98a658c27 Prompt notifications for non-accessibility services
Prompts a notification for the non-accessibility category service after
24 hours enabled to alert users the service has powerful permissions to
view and control the device. And the notification won't be resend to
the same service by saving the dismiss record to Settings.

Bug: 176965357
Test: atest AccessibilitySecurityPolicyTest
      atest PolicyWarningUIControllerTest
      and manually test

Change-Id: Id5daf7b14dc88cf3f71a53f46fa9a8f1dee91822
2021-03-18 03:01:10 +00:00
Songchun Fan
ac9cf8515c Merge "[settings] Remove @Readable for hidden fields added in S" into sc-dev am: cd9ae13846
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13764747

Change-Id: I91c3abbf693a9347e5abea931b96c769d56995c2
2021-03-18 01:18:47 +00:00
Songchun Fan
cd9ae13846 Merge "[settings] Remove @Readable for hidden fields added in S" into sc-dev 2021-03-18 00:55:44 +00:00
Songchun Fan
2a9a33830d [settings] Remove @Readable for hidden fields added in S
This protects newly added fields from being accessed outside
system_server or system/privileged apps.

BUG: 175024829
Test: atest android.appsecurity.cts.ReadableSettingsFieldsTest
Change-Id: I40fda59c164a5982e811d51a69dc9aa8365b04d1
2021-03-17 18:51:07 +00:00
Ivan Chiang
e82705b52e Add the intent to navigate to MANAGE_MEDIA permission page
Test: m -j
Test: atest AvailableIntentsTest
Bug: 181112025
Change-Id: I08ca853c96bf83fe51e6e09f47e1ee052d2a7453
2021-03-17 14:02:02 +08:00
Oli Lan
8b73f249e0 Merge "Add a setting to control whether clipboard access notifications are shown." into sc-dev am: 242c7c5f2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13828879

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I75b1b57d80abe307d4f5e97a9e66980ea7113e10
2021-03-15 14:18:11 +00:00
Oli Lan
242c7c5f2c Merge "Add a setting to control whether clipboard access notifications are shown." into sc-dev 2021-03-15 14:09:48 +00:00
Grace Jia
b53cb66e5f Add D2D sharing level setting APIs.
Test: unit test, cts test
Bug: 163085177
Change-Id: I86f88d68c8629a0329dcde7b2d17928cacec37e7
Merged-In: I86f88d68c8629a0329dcde7b2d17928cacec37e7
2021-03-11 22:20:16 +00:00
Oli Lan
dfeb99ae1a Add a setting to control whether clipboard access notifications are shown.
This adds a setting to turn on/off the toast notifications shown when
an app accesses clipboard.

Bug: 182349993
Test: atest SettingsProviderTest
Change-Id: I6922ed5a74fae17602a2ac20a199a7d6c03014b9
2021-03-11 18:11:41 +00:00
Beverly Tai
29bcf95db4 Merge "Add quickpickup gesture" into sc-dev am: 384db6dd05
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676306

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I96f3a49414f9d881dd480f12570cda4177584b6f
2021-03-11 14:04:58 +00:00
Beverly Tai
384db6dd05 Merge "Add quickpickup gesture" into sc-dev 2021-03-11 13:35:56 +00:00
Beverly
c0ddb20d17 Add quickpickup gesture
Only registered when:
- udfps enrolled
- AOD is not enabled
- quickpick enabled:
    adb shell settings put secure doze_quick_pickup_gesture 1
Currently by default, quickpickup is not enabled

On gesture trigger, AOD screen will show for 5 seconds

Test: manual
Bug: 176550666
Change-Id: I804a2590c1d95acad62fbfbc85228ecfc8bfa3ed
2021-03-10 19:00:24 +00:00
Alex Salo
25120f025e Merge "Fix long press auto rotate implementation bug" into sc-dev am: 20e43f73b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13777287

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7e4e99d23c7d239ceb84e7810276bae7e82c48bf
2021-03-09 00:38:53 +00:00
Abel Tesfaye
a643342375 Fix long press auto rotate implementation bug
Test: locally with flame

Bug: 181741815
Change-Id: Ie0a69ab7f8320ac688ee4182113d8396d541bf4c
2021-03-05 18:21:06 +00:00
Tej Singh
e6a05a0c28 Merge "Java flag support for statsd" into sc-dev am: 0c7463b8d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13705296

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I102001d2d327b141f697db73bad7bf3dc54c5772
2021-03-04 03:23:07 +00:00
Tej Singh
0c7463b8d7 Merge "Java flag support for statsd" into sc-dev 2021-03-04 03:11:12 +00:00
Jayachandran Chinnakkannu
2cdad9f0a2 Add new provisioning flag for VOIMS opt-in
Bug: 177009570
Test: By Manual
1. Call setProvisioningIntValue() and getProvisioningIntValue()

2. Enable/disable the value and dial a VoLTE call
2-1. Set value to 1
2-2. Dial a call
2-3. From ImsPhoneCallTracker and GsmCdmaPhone's log, VoLTE is
 registered and device is trying IMS PS call
2-4. Set value to 0
2-5. Dial a call
2-6. From ImsPhoneCallTracker and GsmCdmaPhone's log, VoLTE is
unregistered and device is trying (non-IMS) CS call

3. atest

Change-Id: I0b8af8fe6c9a34a56f9e2275df0a03ba093f439e
Merged-In: I0b8af8fe6c9a34a56f9e2275df0a03ba093f439e
2021-03-02 23:26:40 +00:00
TreeHugger Robot
b68cbac9c6 Merge "Add new provisioning flag for VOIMS opt-in" 2021-03-02 19:25:02 +00:00
Paul Hu
0032a99c1c Merge "Implement Settings#checkAndNoteChangeNetworkStateOperation on CS" into sc-dev am: f95beb7a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13483027

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iab5acbb42c7f00b87ed96b483fdf3b53b9ca4541
2021-03-02 14:09:30 +00:00
Paul Hu
f95beb7a91 Merge "Implement Settings#checkAndNoteChangeNetworkStateOperation on CS" into sc-dev 2021-03-02 13:03:13 +00:00
Jayachandran Chinnakkannu
7afe5e9cce Add new provisioning flag for VOIMS opt-in
Bug: 177009570
Test: By Manual
1. Call setProvisioningIntValue() and getProvisioningIntValue()

2. Enable/disable the value and dial a VoLTE call
2-1. Set value to 1
2-2. Dial a call
2-3. From ImsPhoneCallTracker and GsmCdmaPhone's log, VoLTE is
 registered and device is trying IMS PS call
2-4. Set value to 0
2-5. Dial a call
2-6. From ImsPhoneCallTracker and GsmCdmaPhone's log, VoLTE is
unregistered and device is trying (non-IMS) CS call

3. atest

Change-Id: I0b8af8fe6c9a34a56f9e2275df0a03ba093f439e
2021-03-02 04:05:29 +00:00
Chris Li
e96dc69904 Merge "Allow non-resizable apps in split-screen (5/n)" into sc-dev am: 330f99f69b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13430927

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id765d09e33cd034cbcb51a2040ebe17ea0ec6b8c
2021-03-01 22:59:30 +00:00
Chris Li
df4a15b512 Allow non-resizable apps in split-screen (5/n)
Replace usages of DEVELOPMENT_ENABLE_SIZECOMPAT_FREEFORM with
DEVELOPMENT_ENABLE_NON_RESIZABLE_MULTI_WINDOW so that we can use one
setting to control all multi window mode

Bug: 176061101
Test: pass existing
Change-Id: I873b4902f3995815721401b30236919ffdbc6a82
2021-02-26 20:29:00 -08:00
Oli Lan
aa3eebd47c Merge "Add DeviceConfig namespace for clipboard." into sc-dev am: 7a1ebc3492
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13699866

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I28154eb373681bc4294698d1767d2b2a6c52bfd3
2021-02-26 10:01:54 +00:00
Oli Lan
7a1ebc3492 Merge "Add DeviceConfig namespace for clipboard." into sc-dev 2021-02-26 09:49:01 +00:00
Tej Singh
d5dbfcb09a Java flag support for statsd
Declare statsd_java and statsd_java_boot as statsd flag namespaces for
java features.

Bug: 180992603
Test: used adb shell cmd device_config put to insert properties and
manually verified that statsd java code in system server could read.

Change-Id: I9e1ad337800f503b2f0df1c5e5eec9d752a9cbd5
2021-02-25 21:17:27 -08:00
Grace Jia
26527105c3 Merge "Add D2D sharing level setting APIs." 2021-02-25 20:24:03 +00:00
Oli Lan
3bb63f2c45 Add DeviceConfig namespace for clipboard.
Adds a new namespace to DeviceConfig for features
relating to clipboard.

Bug: 179667029
Test: builds
Change-Id: I28e94fc93622f0ce7899f1ca6e23e57cdd661d08
2021-02-25 15:08:57 +00:00
Jamie Garside
31e95794f0 Android config updates for one handed bouncer. am: 072bedcef8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13688768

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2089c121d679005d415b3a29ec79279a8e00605e
2021-02-25 14:43:22 +00:00
Jamie Garside
072bedcef8 Android config updates for one handed bouncer.
This is the changes in Settings (to store the current screen side) for
the one-handed keyguard. This also checks in symbols.xml to expose the
platform config to SysUI (the lines in symbols.xml are currently in
config.xml; I'm assuming that a previous revert didn't remove them).

Bug: 170858298
Test: included.
Change-Id: I9d91a9360c821562634e83295f5e2e340f6de1d5
2021-02-25 11:54:39 +00:00
Suprabh Shukla
6287ed97e2 Merge "Adding Intent API to navigate to alarm permission page" into sc-dev am: 6f8a22f4be
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13638546

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I82963503d0f2fa0788bd5007532cb887c0eac0a1
2021-02-24 21:18:16 +00:00
Grace Jia
4baf0dab1a Add D2D sharing level setting APIs.
Test: unit test, cts test
Bug: 163085177
Change-Id: I86f88d68c8629a0329dcde7b2d17928cacec37e7
2021-02-24 20:07:09 +00:00
Suprabh Shukla
6f8a22f4be Merge "Adding Intent API to navigate to alarm permission page" into sc-dev 2021-02-24 20:06:56 +00:00
Jamie Garside
688850a823 Merge "Revert "Update the bouncer to be able to move to either side of a wide screen."" into sc-dev am: 5f630223cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676711

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I45d29d69cae821d2228590cdb1cae3b32c34b3f5
2021-02-24 13:45:52 +00:00
Jamie Garside
5f630223cc Merge "Revert "Update the bouncer to be able to move to either side of a wide screen."" into sc-dev 2021-02-24 13:32:25 +00:00
Suprabh Shukla
08db23236c Adding Intent API to navigate to alarm permission page
This is needed to provide apps a way to request the user to grant them
SCHEDULE_EXACT_ALARM permission

Test: atest CtsAlarmManagerTestCases
Also, manually:
adb shell am start -n android.settings.REQUEST_SCHEDULE_EXACT_ALARM
adb shell am start -n android.settings.REQUEST_SCHEDULE_EXACT_ALARM \
-d package:com.android.deskclock

Bug: 171306433
Change-Id: I0517e05fe7b9decb29fcc16719d7a534f7e0c0fe
2021-02-23 22:32:23 -08:00
Marcus Hagerott
3d33d3e894 Merge "Add more detail to javadocs for SimPhonebookContract" am: 57a0af04c5 am: dc54e7afdf am: c0b2128dd2 am: a5aea04314
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I00ff408d8e9d07a8f4c0278f7b8630bdc7998c0e
2021-02-24 02:43:41 +00:00
Marcus Hagerott
a5aea04314 Merge "Add more detail to javadocs for SimPhonebookContract" am: 57a0af04c5 am: dc54e7afdf am: c0b2128dd2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iab3d8a09ea809c9d4c5495991f838c917292465b
2021-02-24 02:17:30 +00:00
Marcus Hagerott
c0b2128dd2 Merge "Add more detail to javadocs for SimPhonebookContract" am: 57a0af04c5 am: dc54e7afdf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I37d21d22c504e16787e1bcc962fd233ff14a60a9
2021-02-24 01:26:15 +00:00
Marcus Hagerott
dc54e7afdf Merge "Add more detail to javadocs for SimPhonebookContract" am: 57a0af04c5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id968da9f8ec6ada50d674def708662383bf6b382
2021-02-24 01:22:51 +00:00
Gavin Corkery
c982da352b Merge "Add DeviceConfig namespace for reboot readiness detection" into sc-dev am: 4e56d1569a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13454848

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6cba4dcca4b0020b936c43e05b8ef128c20ad7c2
2021-02-23 21:52:41 +00:00
Gavin Corkery
4e56d1569a Merge "Add DeviceConfig namespace for reboot readiness detection" into sc-dev 2021-02-23 21:16:53 +00:00
Jamie Garside
0f53fd20d5 Revert "Update the bouncer to be able to move to either side of a wide screen."
This reverts commit 868e770b82.

Reason for revert: Breaks password entry - b/180993584

Change-Id: I9a1771b795c90b1cfe6c2457d390ac53235c6c94
2021-02-23 19:24:29 +00:00