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
Loading
Please register or sign in to comment