mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
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
|
||||
public void onClick(View view) {
|
||||
if (intent == null) {
|
||||
return;
|
||||
}
|
||||
final Launcher launcher = Launcher.getLauncher(view.getContext());
|
||||
Bundle activityOptions = ActivityOptions.makeClipRevealAnimation(
|
||||
view, 0, 0, view.getWidth(), view.getHeight()).toBundle();
|
||||
|
||||
Reference in New Issue
Block a user