Merge "Hide tap to wake on devices that don't support it" into mnc-dev
This commit is contained in:
@@ -490,6 +490,9 @@ public class DisplaySettings extends SettingsPreferenceFragment implements
|
||||
if (!RotationPolicy.isRotationLockToggleVisible(context)) {
|
||||
result.add(KEY_AUTO_ROTATE);
|
||||
}
|
||||
if (!isTapToWakeAvailable(context.getResources())) {
|
||||
result.add(KEY_TAP_TO_WAKE);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user