Merge "Use existing content resolver" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-06 21:08:06 +00:00
committed by Android (Google) Code Review

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