commit | 8814d968844eb8d32cc38c8d72ab240185767de6 | [log] [tgz] |
---|---|---|
author | Abel Tesfaye <tesfaye@google.com> | Wed Apr 20 00:14:13 2022 +0000 |
committer | Abel Tesfaye <tesfaye@google.com> | Thu Apr 21 21:31:03 2022 +0000 |
tree | dd03d12a4b852b784c9854406d5fb0ab341c285e | |
parent | 3adc967449b8d39be95a5a5128f7bb1356e6e6e0 [diff] |
Fix issue where SmartAutoRotateController tries to unregister an unregistered receiver Controllers are automatically bound to a lifecycle if registered in the xml file. Manually binding a lifecycle can cause multiple receivers to be unregistered/registered. Removing the manual binding will prevent this case from causing a potential exception. Bug: 227762968 Test: none Change-Id: I9c8ddc6f82b19cd4a9c8a4aec3c9c744935cd542