* changes:
Rename cancelRequest API to cancelStateRequest and remove the request parameter
Updates OverrideRequestController to allow for one override request at max
request parameter
With the change to only having one override request at a time,
we can simplify the cancelRequest API in DeviceStateManager
to not require a request object and have the current
override request canceled. This API is still gated
around having the CONTROL_DEVICE_STATE permission or being the
top level app.
Bug: 215400374
Test: DeviceStateManagerGlobalTest, DeviceStateManagerServiceTest &&
OverrideRequestControllerTest
Change-Id: I565b608372c21384d401db502b16553ed85b86ee
Exposing CursorWindowAllocationException to access it
from Bluetooth PBAP.
Tag: #feature
Bug: 211851706
Test: manual
Change-Id: I9a2c4217e5556f7b8ab10c3884a0d3e9b6a4fe36
The restriction is to limit the APIs a financed device owner can
call.
Bug: 215754643
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: Ic38b50d7388b277ad74d2c22182bc1e711a1aea4
CTS-Coverage-Bug: 210528288
Bug: 216507592
Test: RBE Built redfin-eng and tested on a physical device
Change-Id: Ic9505f659befa01938b413e1e1944c3aaa0e8a0c
* changes:
Add API to configure LPS maintenance mode behavior
Add TestApi to force Low Power Standby to be active
Add TestApi wakelock flag to have system acquire wakelock
Allowlist active voice interaction session from Low Power Standby
Introduce Low Power Standby API and wakelock restrictions
When "dumpsys activity" is called with special arguments (like
--list-dumpables), dump() should be handled by Activity itself,
not the subclasses, otherwise the end result would be spammed.
This CL fixes that behavior, but only for apps targeting T (so it
maintains backward compatibility for apps that are explicitly
checking for the special values).
Bug: 149254050
Test: m update-api
Test: manual verification with 'adb dumpsys activity ...'
Test: atest CtsAppTestCases:android.app.cts.ActivityDumpTest
Test: adb shell dumpsys platform_compat|grep DUMP_IGNORES_SPECIAL_ARGS||echo NOT_FOUND
Change-Id: I918c9a6649cb66f9e2b6509a643005fac110d152
* changes:
Add bottom sheet fill UI for Autofill
Implement actions on client and service for bottom sheet
Notify Autofill while activity started
Adds APIs for Autofill bottom sheet UI
Bluetooth is going mainline and need to have access to constant defined
in both settings.secure and settings.Global
Test: build
Bug: 211851706
Tag: #refactor
Change-Id: Id47da2e5606d29ccd2924d9105e8322a1b697ee1
Make TvInputManager#getClientPid() to System SDK API for MediaCodec
resource reclaiming on multi-window w/ multi TV apps.
Bug: 179813957
Test: run cts -m CtsTvTestCases -t
android.media.tv.cts.TvInputManagerTest
Change-Id: Ifd5193707979f7e5f3e2e9061a81d0f7286e7d64
Adds APIs for set up field presentations for bottom sheet. Also reduce
the APIs overloading for setting the presentations.
Bug: 210926084
Test: Manual
Change-Id: Iacb8d3352303650afbfa2072ce7c382d0baed702
Allow Low Power Standby to be active during doze maintenance modes.
Bug: 190822356
Test: atest LowPowerStandbyControllerTest
Change-Id: I6db6e1a37f48d63d618245f308ea1053c45fb64b
Since Low Power Standby depends on multiple factors to activate,
including the private device configuration for the delay after the
device becomes non-interactive, having this TestApi makes testing
faster and more reliable.
Bug: 190822356
Test: atest LowPowerStandbyTest
Change-Id: I5a16083f996bd7421197b08c6632655c8c3d8c29
Allows CTS tests to test power restrictions that disable wakelocks
without the system suspending (since system-wakelocks are exempt).
Bug: 190822356
Test: atest LowPowerStandbyTest
Change-Id: I91f44ae93480be992151d845175606fb66ecb127