Hide battery saver warning and camera privacy lock on devices that do not support smart-auto-rotate
Bug: 191924078 Test: locally on crosshatch Change-Id: I8464860c3d1d59c5d4549e7c488457e92054dbba
This commit is contained in:
@@ -50,7 +50,7 @@ public class SmartAutoRotateBatterySaverController extends BasePreferenceControl
|
||||
if (mPreference == null) {
|
||||
return;
|
||||
}
|
||||
mPreference.setVisible(isPowerSaveMode());
|
||||
mPreference.setVisible(isAvailable());
|
||||
updateState(mPreference);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user