mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 09:01:30 +01:00
Remove summary notification on tap
This commit is contained in:
@@ -778,10 +778,16 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
intent.setAction(null);
|
||||
setIntent(intent);
|
||||
|
||||
if ("unified".equals(action)) {
|
||||
if (action.startsWith("unified")) {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
getSupportFragmentManager().popBackStack("unified", 0);
|
||||
|
||||
if (action.contains(":")) {
|
||||
Intent clear = new Intent(this, ServiceUI.class)
|
||||
.setAction(action.replace("unified", "clear"));
|
||||
startService(clear);
|
||||
}
|
||||
|
||||
} else if ("why".equals(action)) {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
getSupportFragmentManager().popBackStack("unified", 0);
|
||||
|
||||
Reference in New Issue
Block a user