diff options
| author | 2023-03-31 09:27:14 -0700 | |
|---|---|---|
| committer | 2023-03-31 09:35:37 -0700 | |
| commit | 5ed888c94181c288b55cadb74042e41cac18bc4a (patch) | |
| tree | 7dd19a933919bab9d905784f6d5547fa01cc66c8 /libs/androidfw/ObbFile.cpp | |
| parent | 22aca7d7b7932bb83179f91ac047b6a15ce81cd2 (diff) | |
Capture IllegalArgumentException when unregistering dock receiver.
RotationButtonController uses a broadcast receiver to track the current
dock state. The controller is used in multiple spots, including
Launcher. The usage paths in Launcher are open to a race condition where
multiple threads might unregister the receiver, side stepping measures
to pair unregister with register.
This changelist catches the exception, which is consistent with other
broadcast receiver unregistration in Launcher.
Test: manual
Fixes: 275476588
Change-Id: I809dc66ae20675312c538498bbade0c0c8f4b828
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions