OSDN Git Service

Follow prebuilt/API update
authorJason Monk <jmonk@google.com>
Thu, 22 Feb 2018 21:32:16 +0000 (16:32 -0500)
committerJason Monk <jmonk@google.com>
Thu, 22 Feb 2018 21:32:16 +0000 (16:32 -0500)
Test: make
Change-Id: Ie93a29118d1a767174c0364764de61558b274ef5

packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java

index 5d1bdab..deb975b 100644 (file)
@@ -160,8 +160,8 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe
             mRow.addView(button);
 
             PendingIntent pendingIntent = null;
-            if (rc.getContentIntent() != null) {
-                pendingIntent = rc.getContentIntent().getAction();
+            if (rc.getPrimaryAction() != null) {
+                pendingIntent = rc.getPrimaryAction().getAction();
             }
             mClickActions.put(button, pendingIntent);