Skip to content

Commit 95016eb

Browse files
committed
Revert "change intent for setVolume addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);"
This reverts commit 277f3e1.
1 parent c210368 commit 95016eb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

android/src/main/java/com/ninty/system/setting/SystemSetting.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ public void setVolume(float val, ReadableMap config) {
303303
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
304304
&& !notificationManager.isNotificationPolicyAccessGranted()) {
305305
Intent intent = new Intent(android.provider.Settings.ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS);
306-
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
307306
mContext.startActivity(intent);
308307
}
309308
}

0 commit comments

Comments
 (0)