15bee2d83dc37fc4197de64d3ff46cf8320611f2
This manually cherry picks ag/8713360 into master. I had to do a manual cherry pick as the cherry pick from gerrit fails with: "Could not perform action: Cannot create new patch set of change 8677635 because it is abandoned" Currently we call .quit() on the underlying thread which will cause all messages to stop being processed. This has the side effect that, because the backup system is a state machine where the state transitions are messages, the message to transition into a state where the WakeLock is released may not occur when a user is torn down. This change adds a stop method we can call instead of .quit() on the thread which drops any remaining messages and then releases the WakeLock. We also wrap the wakelock acquire/release calls to prevent any acquire/release on the underlying wakelock after a quit. For the acquire, this avoids a non-released wakelock and for the release, this avoids a runtime exception which can happen when we release a released wakelock Test: atest CtsBackupTestCases CtsBackupHostTestCases Test: m RunBackupFrameworksServicesRoboTests && atest RunBackupFrameworksServicesRoboTests Bug: 136264323 Change-Id: Ic8742bf01a0ff71bd57dd73b01a423d3432bf7b2
Merge "Add helpers to check whether the BluetoothCodecConfig instance is selectable" am:
8052fac1b1 am: af3615e586 am: 8cdf1fb47f am: 9b1e5c4614
…
…
…
…
…
Merge "Convert more of frameworks/base/packages to Android.bp" into stage-aosp-master am:
ba9073a6a8 am: 97c07ce018 am: 7d089ac5ae
Merge "WifiMetrics: add per-band Tx and Rx speed histogram" into qt-r1-dev am:
6564df6264 am: e6fb43cff3
…
…
Merge "Add APIs for ImsService RCS UCE implementation" am:
01f0935054 am: 3d36c75a4c am: 6e3a861e5f am: 1238a90d1c
Merge "Change coverage dump to specify the output file instead of directory." am:
f0723588de am: a1e96c644e am: 59fc33981d am: 6fb7075196
Merge "Add the defination of Intent - WIFI_NETWORK_SETTINGS_RESET_ACTION" into qt-r1-dev am:
82aec2e913 am: b76e805a27
Merge "Remove the dependencies to ext and framework from the stubs build" am:
9b0e7670f8 am: 58cfae5d38 am: fd91098d77 am: ce7226df53
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%