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

Commit 92f6c4c5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make method private to fix checkstyle error."

parents 4a4ba615 4b800334
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ public class CrashingMainActivity extends Activity {
        throw new RuntimeException("Intended force crash");
    }

    public void incrementCountAndBroadcast() {
    private void incrementCountAndBroadcast() {
        SharedPreferences preferences = getSharedPreferences("prefs", Context.MODE_PRIVATE);
        SharedPreferences.Editor editor = preferences.edit();
        int count = preferences.getInt("crash_count", 0);