Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 536cef1b authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Require a more specific intent" into pi-dev

parents 681b2364 6dbda27f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -138,7 +138,8 @@ public class KeyguardSliceProvider extends SliceProvider implements
    protected void addPrimaryAction(ListBuilder builder) {
        // Add simple action because API requires it; Keyguard handles presenting
        // its own slices so this action + icon are actually never used.
        PendingIntent pi = PendingIntent.getActivity(getContext(), 0, new Intent(), 0);
        PendingIntent pi = PendingIntent.getActivity(getContext(), 0,
            new Intent(getContext(), KeyguardSliceProvider.class), 0);
        Icon icon = Icon.createWithResource(getContext(), R.drawable.ic_access_alarms_big);
        SliceAction action = new SliceAction(pi, icon, mLastText);