Merge "Check for auto-rotation when initializing RecentsOrientedState" into tm-dev

This commit is contained in:
Vinit Nayak
2022-04-20 20:58:30 +00:00
committed by Android (Google) Code Review
@@ -307,6 +307,7 @@ public class RecentsOrientedState implements
private void initMultipleOrientationListeners() {
mSharedPrefs.registerOnSharedPreferenceChangeListener(this);
mSettingsCache.register(ROTATION_SETTING_URI, mRotationChangeListener);
updateAutoRotateSetting();
}
private void destroyMultipleOrientationListeners() {