-Fixed popup player not in foreground when opened by external intent.
-Fixed popup overlay permission causing exception when opened externally.
This commit is contained in:
parent
77678b8f31
commit
979bd09b29
4 changed files with 19 additions and 6 deletions
|
|
@ -21,6 +21,7 @@ public class RouterPopupActivity extends RouterActivity {
|
|||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
|
||||
&& !PermissionHelper.checkSystemAlertWindowPermission(this)) {
|
||||
Toast.makeText(this, R.string.msg_popup_permission, Toast.LENGTH_LONG).show();
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
StreamingService service;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue