Merge "Use existing content resolver" into rvc-dev am: 97e7461981 am: 0f6aa361dd am: 3ea45f31e8 am: 1b83115e6b
Change-Id: I0fed1dc43b8eaa294201a1d960c964d1a695542f
This commit is contained in:
@@ -635,7 +635,7 @@ public class NavigationBarFragment extends LifecycleFragment implements Callback
|
||||
}
|
||||
|
||||
private void updatedFixedRotation() {
|
||||
mFixedRotationEnabled = Settings.Global.getInt(getContext().getContentResolver(),
|
||||
mFixedRotationEnabled = Settings.Global.getInt(mContentResolver,
|
||||
FIXED_ROTATION_TRANSFORM_SETTING_NAME, 0) != 0;
|
||||
if (!canShowSecondaryHandle()) {
|
||||
resetSecondaryHandle();
|
||||
|
||||
Reference in New Issue
Block a user