Merge "Check for auto-rotation when initializing RecentsOrientedState" into tm-dev
This commit is contained in:
@@ -307,6 +307,7 @@ public class RecentsOrientedState implements
|
|||||||
private void initMultipleOrientationListeners() {
|
private void initMultipleOrientationListeners() {
|
||||||
mSharedPrefs.registerOnSharedPreferenceChangeListener(this);
|
mSharedPrefs.registerOnSharedPreferenceChangeListener(this);
|
||||||
mSettingsCache.register(ROTATION_SETTING_URI, mRotationChangeListener);
|
mSettingsCache.register(ROTATION_SETTING_URI, mRotationChangeListener);
|
||||||
|
updateAutoRotateSetting();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void destroyMultipleOrientationListeners() {
|
private void destroyMultipleOrientationListeners() {
|
||||||
|
|||||||
Reference in New Issue
Block a user