test
This commit is contained in:
parent
58e3ba8f18
commit
c4cc20ad9c
1 changed files with 5 additions and 1 deletions
|
@ -129,7 +129,11 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
|||
protected void onCreate(Bundle savedInstanceState) {
|
||||
Log.i("a", "1"); // STATIC
|
||||
super.onCreate(savedInstanceState);
|
||||
try {
|
||||
unregisterReceiver(notificationReceiver);
|
||||
}
|
||||
catch (Exception ignored) {}
|
||||
|
||||
notificationReceiver = new NotificationReceiver();
|
||||
|
||||
setContentView(R.layout.activity_main);
|
||||
|
|
Loading…
Add table
Reference in a new issue