Skip to content
Commit 5ed888c9 authored by Bryce Lee's avatar Bryce Lee
Browse files

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
parent 22aca7d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment