Skip to content
Merged
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 @@ -139,8 +139,6 @@ public enum UiState { advanced, basic, ready, error, upgrade};

boolean partialMode = false;

BroadcastReceiver mBroadcastReceiver;

CommCareApp ccApp;

//Whether this needs to be interactive (if it's automatic, we want to skip a lot of the UI stuff
Expand Down Expand Up @@ -355,6 +353,7 @@ public void onGlobalLayout() {

@Override
public void onDestroy() {
super.onDestroy();
if (purgeNotificationReceiver != null) {
unregisterReceiver(purgeNotificationReceiver);
}
Expand Down Expand Up @@ -644,12 +643,6 @@ protected void deliverError(CommCareSetupActivity receiver, Exception e) {
Log.i("commcare-install", "Blocked a resource install press since a task was already running");
}
}

@Override
public void onDestroy() {
super.onDestroy();
unregisterReceiver(this.mBroadcastReceiver);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
Expand Down