Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a1c3f601 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove unnecessary invocation of updateRotation

mMultiuserReceiver#onReceive will call mSettingsObserver.onChange.
But both mSettingsObserver#updateSettings and
mDefaultDisplayRotation.onUserSwitch() in
mMultiuserReceiver#onReceive already check if there is something
needs to update rotation. So it is unnecessary to call
updateRotation again in mSettingsObserver.onChange.

Bug: 197745994
Test: Switch user
Change-Id: Ic201f319739e910bfb7bf4c9c55a9d687b35cb78
parent a45422d0
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