-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:
John Zhen Mo 2017-11-14 10:13:36 -08:00
parent 77678b8f31
commit 979bd09b29
4 changed files with 19 additions and 6 deletions

View file

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