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

Unverified Commit 671f17ed authored by Marc K's avatar Marc K Committed by Michael Bestas
Browse files

Turn on Power Notification Controls by default (1/2)



Google has done quite a complete job for controlling
notifications. It's a shame that it was hidden so deeply.

Change-Id: I69a4caaff19c85592104849d43f3d2ff8d3940a1
Signed-off-by: default avatarMarc K <morckx@gmail.com>
parent a7111932
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public class PowerNotificationControlsFragment extends Fragment {
    }

    private boolean isEnabled() {
        int setting = Settings.Secure.getInt(getContext().getContentResolver(), KEY_SHOW_PNC, 0);
        int setting = Settings.Secure.getInt(getContext().getContentResolver(), KEY_SHOW_PNC, 1);
        return setting == 1;
    }