fix(#AlwaysOnMagnifier): Set default Settings always on enabled to ON in AccessibilityManagerService
The default value for always on enabled in Settings app is ON. Therefore, set default to ON in AccessibilityManagerService to make consistency. Test: manually Change-Id: Ied813087dc246d82d934120bc8653d7eb6f6f7e1
This commit is contained in:
@@ -4622,7 +4622,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
|
||||
final boolean isSettingsAlwaysOnEnabled = Settings.Secure.getIntForUser(
|
||||
mContext.getContentResolver(),
|
||||
Settings.Secure.ACCESSIBILITY_MAGNIFICATION_ALWAYS_ON_ENABLED,
|
||||
0, userState.mUserId) == 1;
|
||||
1, userState.mUserId) == 1;
|
||||
final boolean isAlwaysOnFeatureFlagEnabled = mMagnificationController
|
||||
.isAlwaysOnMagnificationFeatureFlagEnabled();
|
||||
final boolean isAlwaysOnEnabled = isAlwaysOnFeatureFlagEnabled && isSettingsAlwaysOnEnabled;
|
||||
|
||||
Reference in New Issue
Block a user