use of com.farmerbb.taskbar.util.FreeformHackHelper in project Taskbar by farmerbb.
the class InvisibleActivityFreeform method onDestroy.
@Override
protected void onDestroy() {
super.onDestroy();
if (proceedWithOnCreate) {
LocalBroadcastManager.getInstance(this).unregisterReceiver(appearingReceiver);
LocalBroadcastManager.getInstance(this).unregisterReceiver(disappearingReceiver);
LocalBroadcastManager.getInstance(this).unregisterReceiver(finishReceiver);
if (!finish) {
FreeformHackHelper helper = FreeformHackHelper.getInstance();
helper.setFreeformHackActive(false);
helper.setInFreeformWorkspace(false);
finish = true;
}
}
}
use of com.farmerbb.taskbar.util.FreeformHackHelper in project Taskbar by farmerbb.
the class InvisibleActivityFreeform method reallyFinish.
private void reallyFinish() {
super.finish();
overridePendingTransition(0, 0);
if (!finish) {
FreeformHackHelper helper = FreeformHackHelper.getInstance();
helper.setFreeformHackActive(false);
helper.setInFreeformWorkspace(false);
finish = true;
}
}
Aggregations