Compare commits
No commits in common. "58e3ba8f1884d0fcc0c1019ba371ff1b3dfa944f" and "ea492ac379e7081063effdb961943b16c98ba218" have entirely different histories.
58e3ba8f18
...
ea492ac379
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,6 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
Log.i("a", "1"); // STATIC
|
Log.i("a", "1"); // STATIC
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
unregisterReceiver(notificationReceiver);
|
|
||||||
notificationReceiver = new NotificationReceiver();
|
notificationReceiver = new NotificationReceiver();
|
||||||
|
|
||||||
setContentView(R.layout.activity_main);
|
setContentView(R.layout.activity_main);
|
||||||
|
@ -613,6 +612,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
Log.i("a", "onDestroy"); // STATIC
|
Log.i("a", "onDestroy"); // STATIC
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
try {
|
try {
|
||||||
|
unregisterReceiver(notificationReceiver);
|
||||||
unregisterReceiver(smsReceiver);
|
unregisterReceiver(smsReceiver);
|
||||||
} catch(IllegalArgumentException e) {
|
} catch(IllegalArgumentException e) {
|
||||||
Log.i("ppp", Arrays.toString(e.getStackTrace()));
|
Log.i("ppp", Arrays.toString(e.getStackTrace()));
|
||||||
|
|
Loading…
Add table
Reference in a new issue