The ProcessRecord field of a ServiceRecord could be null.
Bug: 190634592
Test: atest CtsAppTestCases:ServiceTest
Change-Id: I63abf5be600991a94e6ad4eb26786450cea1e242
logFGSStateChangeLocked().
Otherwise logFGSStateChangeLocked() picks up the wrong fields value from
ServiceRecord.
Bug: 190231954
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: I9ccfcb695da803350657836975ce03e05f26b4a4
ApiLint tries to only lint "new" APIs, i.e. those introduced since the
last frozen API. Using android-non-updatable's last frozen txt does not
work well for this, as it is incomplete API surface on its own, so
metalava cannot see all APIs that were present in the previous API
(such as methods inherited from ART), and so makes the wrong decisions
for which APIs are new.
Bug: 171506470
Test: m checkapi
Change-Id: I00d25f2ae0ba8f0ee6fa8564d86642efd74e0d44
Ensure that, if present, null, "null", and "" attribution tags are not
considered valid source tags
Test: build
Bug: 189484870
Change-Id: I65601c9bb79399bf0f63fbb540090ed3ed6f8337
It'll result in unexpected behavior during sorting.
Also updated the test case to capture this case.
Bug: 186132521
Bug: 189975360
Test: atest ApplicationExitInfoTest
Test: atest CtsAppExitTestCases:ActivityManagerAppExitInfoTest
Change-Id: I7542f73b1acf4ddee16f712d0d97223e151935f7
Whenever an app makes a Text toast, this gets routed through systemUI
starting from R. Two A11yManagerClients are registered with
A11yManagerService for every toast. Since clients aren't removed until
the process is killed, there are a bunch of clients from systemui
hanging around and potentially cause the system to crash.
We add a way here to explicitly unregister a client
Test: build and flash,
atest android.view.accessibility.AccessibilityManagerTest
Bug: 189010828
Change-Id: I3f71bac475b4539c7be5b328adeb0be35a0b5543
Bug: Bug: 188447813
Convert WatchedSparseBooleanMatrix to use one bit per boolean, to
further reduce the storage required for large arrays.
Further unit-tests are developed to test the Watchable and Snappable
behaviors of the matrix class.
Test: atest
* CtsContentTestCases:IntentFilterTest
* CtsDynamicMimeHostTestCases
* CtsRoleTestCases
* FrameworksServicesTests:UserSystemPackageInstallerTest
* FrameworksServicesTests:PackageManagerSettingsTests
* FrameworksServicesTests:PackageManagerServiceTest
* FrameworksServicesTests:AppsFilterTest
* FrameworksServicesTests:PackageInstallerSessionTest
* FrameworksServicesTests:ScanTests
* UserLifecycleTests#startUser
* UserLifecycleTests#stopUser
* UserLifecycleTests#switchUser
* FrameworksServicesTests:WatcherTest
* android.appsecurity.cts.EphemeralTest
* android.appsecurity.cts.InstantAppUserTest
Change-Id: I5e9ada0ad3057efeafa4cf4fcf4b371850ea344a
This reverts commit 3ce118c58c.
Reason for revert: The culprit candicate CL of b/190128793. Not that this revert is just to verify if it is the real culprit of b/190128793. Doesn't mean it must be reverted
Bug: b/190128793
Change-Id: Ibd580df35590ecf0c75f6004db900b9d4aafb03a
changed.
Keep a SmartspaceMediaData copy in MediaPlayerData for the recreation.
Fixes: 189500920
Test: Local builds
Change-Id: If0b88e28a3a2b5a062a1cef15a3166dda30aada9
The old layout has issues with spacing and the new large clock, and is
in the process of being removed.
Fixes: 189909942
Test: manual
Change-Id: I2c2da5184330c0fa4e2f5ea81f7d93518f172b2d
The tests have been stable since last weeks when the underlying bugs were closed.
Bug: 185401242
Bug: 185400889
Test: atest FlickerTests:com.android.server.wm.flicker.rotation
Change-Id: I4aa13016f214f99bcff5adcd98e71096eacada2d
The tests have been stable since last weeks when the underlying bugs were closed.
Bug: 185401242
Bug: 185400889
Test: atest FlickerTests:com.android.server.wm.flicker
Change-Id: I6c99e84f0da01c122d8ff6a28eebbdb9bcc6582a