Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

fix strictMode typo #258

Merged
merged 1 commit into from
Feb 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
districtMode();
strictMode();
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

Expand All @@ -21,7 +21,7 @@ protected void onCreate(Bundle savedInstanceState) {
findViewById(R.id.native_capture).setOnClickListener(view -> NativeSample.message());
}

private void districtMode() {
private void strictMode() {
// https://developer.android.com/reference/android/os/StrictMode
// StrictMode is a developer tool which detects things you might be doing by accident and
// brings them to your attention so you can fix them.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class MyApplication extends Application {

@Override
public void onCreate() {
districtMode();
strictMode();
super.onCreate();

Timber.plant(new Timber.DebugTree());
Expand All @@ -28,7 +28,7 @@ public void onCreate() {
// });
}

private void districtMode() {
private void strictMode() {
// https://developer.android.com/reference/android/os/StrictMode
// StrictMode is a developer tool which detects things you might be doing by accident and
// brings them to your attention so you can fix them.
Expand Down