Merge "Fix Dreams making media turn to PIP screen." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
faeae28e8a
@@ -1294,7 +1294,7 @@ public class DreamService extends Service implements Window.Callback {
|
|||||||
if (!mWindowless) {
|
if (!mWindowless) {
|
||||||
Intent i = new Intent(this, DreamActivity.class);
|
Intent i = new Intent(this, DreamActivity.class);
|
||||||
i.setPackage(getApplicationContext().getPackageName());
|
i.setPackage(getApplicationContext().getPackageName());
|
||||||
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NO_USER_ACTION);
|
||||||
i.putExtra(DreamActivity.EXTRA_CALLBACK, new DreamActivityCallbacks(mDreamToken));
|
i.putExtra(DreamActivity.EXTRA_CALLBACK, new DreamActivityCallbacks(mDreamToken));
|
||||||
final ServiceInfo serviceInfo = fetchServiceInfo(this,
|
final ServiceInfo serviceInfo = fetchServiceInfo(this,
|
||||||
new ComponentName(this, getClass()));
|
new ComponentName(this, getClass()));
|
||||||
|
|||||||
Reference in New Issue
Block a user