Merge "Use existing content resolver" into rvc-dev am: 97e7461981 am: 0f6aa361dd am: 3ea45f31e8

Change-Id: I9d59f59f9afbb745ea2f8f8d1c85faac7f3548ad
This commit is contained in:
TreeHugger Robot
2020-04-06 22:02:32 +00:00
committed by Automerger Merge Worker

View File

@@ -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();