增加Flags Mask

streaming
Matthew 4 months ago
parent 5a74b57eb1
commit 2d90f18220

@ -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