diff options
| author | 2024-01-04 07:59:04 -0800 | |
|---|---|---|
| committer | 2024-01-04 10:35:32 -0800 | |
| commit | 89d105d130954a099214c1d1e33515dc4c8bab4f (patch) | |
| tree | 1a90bb772fe363ba045f0b8d290b9437a9fd3806 /libs/androidfw/StringPool.cpp | |
| parent | ab4ae770082532d5d3f247a279caf072df69d05b (diff) | |
Address AnrTimer review comments
This CL address three review comments from an earlier commit:
1. The call to register_android_server_utils_AnrTimer() is now
sorted, per the style guide.
2. An iterator error is fixed in AnrTimerService::Ticker::remove().
3. NativeAllocationRegistry is used in lieu of finalizers in
AnrTimer.
Ran AnrTimerTest.testGarbageCollection manually, in addition to the
automated tests.
Test: atest
* FrameworksServicesTests:com.android.server.am
* FrameworksMockingServicesTests:com.android.server.am
* CtsAppTestCases
* FrameworksServicesTests:AnrTimerTest
Bug: 282428924
Change-Id: I8cbbec2e74cd101685028958e450130678e4fdef
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions