Merge "Make method private to fix checkstyle error."
This commit is contained in:
committed by
Android (Google) Code Review
commit
92f6c4c539
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user