Merge "Don't allow HUNs during dozing fullscreen intents" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3b302a1fb5
@@ -336,6 +336,14 @@ public class NotificationInterruptStateProviderImpl implements NotificationInter
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (entry.hasJustLaunchedFullScreenIntent()) {
|
||||||
|
if (DEBUG_HEADS_UP) {
|
||||||
|
Log.d(TAG, "No alerting: recent fullscreen: " + sbn.getKey());
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -365,13 +373,6 @@ public class NotificationInterruptStateProviderImpl implements NotificationInter
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entry.hasJustLaunchedFullScreenIntent()) {
|
|
||||||
if (DEBUG_HEADS_UP) {
|
|
||||||
Log.d(TAG, "No alerting: recent fullscreen: " + sbn.getKey());
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user