Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c8204c5 authored by Wa Gao's avatar Wa Gao Committed by Android (Google) Code Review
Browse files

Merge "Fix the NullPointerException in...

Merge "Fix the NullPointerException in ContentProtectionTogglePreferenceController. Bug: 310658123" into main
parents 64bfe882 cd9c661b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -62,7 +62,6 @@ public class ContentProtectionTogglePreferenceController extends TogglePreferenc

    @Override
    public boolean setChecked(boolean isChecked) {
        mSwitchBar.setChecked(isChecked);
        Settings.Global.putInt(
                mContentResolver, KEY_CONTENT_PROTECTION_PREFERENCE, isChecked ? 1 : -1);
        return true;