Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

Commit 413fbdf

Browse files
author
Lyla
committed
Revert "4.1 Lifecycle Events quiz -- add log statements to MainActivity lifecycle handlers"
This reverts commit 67ef37e9eb94b389831726678e6e42e1d14f30f2.
1 parent 35bbc96 commit 413fbdf

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

app/src/main/java/com/example/android/sunshine/app/MainActivity.java

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public class MainActivity extends ActionBarActivity {
3131

3232
@Override
3333
protected void onCreate(Bundle savedInstanceState) {
34-
Log.v(LOG_TAG, "in onCreate");
3534
super.onCreate(savedInstanceState);
3635
setContentView(R.layout.activity_main);
3736
if (savedInstanceState == null) {
@@ -91,39 +90,4 @@ private void openPreferredLocationInMap() {
9190
Log.d(LOG_TAG, "Couldn't call " + location + ", no receiving apps installed!");
9291
}
9392
}
94-
95-
@Override
96-
protected void onStart() {
97-
Log.v(LOG_TAG, "in onStart");
98-
super.onStart();
99-
// The activity is about to become visible.
100-
}
101-
102-
@Override
103-
protected void onResume() {
104-
Log.v(LOG_TAG, "in onResume");
105-
super.onResume();
106-
// The activity has become visible (it is now "resumed").
107-
}
108-
109-
@Override
110-
protected void onPause() {
111-
Log.v(LOG_TAG, "in onPause");
112-
super.onPause();
113-
// Another activity is taking focus (this activity is about to be "paused").
114-
}
115-
116-
@Override
117-
protected void onStop() {
118-
Log.v(LOG_TAG, "in onStop");
119-
super.onStop();
120-
// The activity is no longer visible (it is now "stopped")
121-
}
122-
123-
@Override
124-
protected void onDestroy() {
125-
Log.v(LOG_TAG, "in onDestroy");
126-
super.onDestroy();
127-
// The activity is about to be destroyed.
128-
}
12993
}

0 commit comments

Comments
 (0)