Ignore clicks on notifications that don't have intents.
Bug: 64479852 Change-Id: I3bfff96a12169d0d191a36a8c7e90d4810e9f176
This commit is contained in:
@@ -94,6 +94,9 @@ public class NotificationInfo implements View.OnClickListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
|
if (intent == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
final Launcher launcher = Launcher.getLauncher(view.getContext());
|
final Launcher launcher = Launcher.getLauncher(view.getContext());
|
||||||
Bundle activityOptions = ActivityOptions.makeClipRevealAnimation(
|
Bundle activityOptions = ActivityOptions.makeClipRevealAnimation(
|
||||||
view, 0, 0, view.getWidth(), view.getHeight()).toBundle();
|
view, 0, 0, view.getWidth(), view.getHeight()).toBundle();
|
||||||
|
|||||||
Reference in New Issue
Block a user