Merge "Use existing content resolver" into rvc-dev am: 97e7461981

Change-Id: I7be2026172ceefb9820d765728b5d4ee49a4e086
This commit is contained in:
TreeHugger Robot
2020-04-06 21:26:04 +00:00
committed by Automerger Merge Worker

View File

@@ -635,7 +635,7 @@ public class NavigationBarFragment extends LifecycleFragment implements Callback
} }
private void updatedFixedRotation() { private void updatedFixedRotation() {
mFixedRotationEnabled = Settings.Global.getInt(getContext().getContentResolver(), mFixedRotationEnabled = Settings.Global.getInt(mContentResolver,
FIXED_ROTATION_TRANSFORM_SETTING_NAME, 0) != 0; FIXED_ROTATION_TRANSFORM_SETTING_NAME, 0) != 0;
if (!canShowSecondaryHandle()) { if (!canShowSecondaryHandle()) {
resetSecondaryHandle(); resetSecondaryHandle();