增加Flags Mask

nx2024
Matthew 4 months ago
parent eff16e7438
commit f60d0d463e

@ -437,7 +437,7 @@ public class MicroPhotoContext {
if (!TextUtils.isEmpty(reason)) { if (!TextUtils.isEmpty(reason)) {
intent.putExtra("reason", reason); intent.putExtra("reason", reason);
} }
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(intent); context.startActivity(intent);
} }
} catch (Exception e) { } catch (Exception e) {

Loading…
Cancel
Save