- Separate the logic of stopping and finishing from idle.
- Correct the condition of stop profiling from idle.
- Remove the resuming of focused stack if an activity is
removed while idle, because if idle is scheduled or reported,
the next focused activity should be ready to show, then the
resuming from background destruction is a no-op.
Bug: 130340090
Test: atest ActivityLifecycleTests
Change-Id: Iabccc26f40c8cbccb8e4a260d8aff84322193f2b
Bug: 144431410
Test: 1. atest BackupHandlerTest
2. Manual (with and without the fix):
1) Locally create a host-side CTS test that extends
BaseMultiUserBackupHostSideTest
2) Modify the test so that it creates a user, starts backup
init and removes the user
3) Add log in BackupHandler to indicate when an exception is
suppressed.
3) If the fix is applied, verify the crash doesn't happen and
the log message from 3) is present. If the fix isn't applied
verify that the crash happens.
After backup service for a user is stopped, leftover work on the
corresponding BackupHandler can throw exceptions. If uncaught, they
can crash the system process. Catch all uncaught BackupHandler
exceptions after the backup service has entered the stopping state, to
allow any leftover work to finish harmlessly.
Change-Id: I8c233ad0e117ec0ae65599a762d87f15f8a3cec2
Allow R targeting apps to have a legacy view when accessing sdcard via
raw file paths temporarily.
This will let us bring back a986bc6420
This will also let apps that target R and keep
the legacy flag to use raw paths continue to work until we enable FUSE
BUG: 137755945
BUG: 131432978
Test: atest CtsDeqpTestCases
Test: atest RestrictedPermissionsTest
Test: atest RestrictedStoragePermissionSharedUidTest
Change-Id: I0d49eca9d4e1769dcd3c0e2338db5b5e5a473032
1. Only print log when debug is on.
2. Callback be notified when input does not start.
3. Avoid using hard code tag in Log class.
4. onCreateInlineSuggestionsRequest() do nothing in NOP.
5. Add missing javadoc.
Bug: 146525448
Test: manual verification
Change-Id: I41e1de92ffcdb8020aef99acbfec274e0294bad3
The autofill would flag to use the augmented service only when try
to start the autofill service which was disabled. The behavior keeps
the same even if the autofill service is re-enabled.
To fix the issue, updates the invalid cached service to reflash while
the default service package has changed.
Fixes: 146392487
Test: atest CtsAutoFillServiceTestCases
Change-Id: I44383a25ea4fb83cb38e4166272beb1ac2ebfa59
The alignment status is reported from WLC-HAL level and runs
on another thread. It may cause CalledFromWrongThreadException,
if use that thread to update UI directly.
Bug: 146770234
Test: atest SystemUITests:KeyguardIndicationControllerTest
Change-Id: I89bf1c188d6ba094106e059f1590c9eaf3703bb8