Loading packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/BcSmartspaceDataPlugin.java +3 −3 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ public interface BcSmartspaceDataPlugin extends Plugin { if (action.getIntent() != null) { startIntent(v, action.getIntent(), showOnLockscreen); } else if (action.getPendingIntent() != null) { startPendingIntent(action.getPendingIntent(), showOnLockscreen); startPendingIntent(v, action.getPendingIntent(), showOnLockscreen); } } catch (ActivityNotFoundException e) { Log.w(TAG, "Could not launch intent for action: " + action, e); Loading @@ -199,7 +199,7 @@ public interface BcSmartspaceDataPlugin extends Plugin { if (action.getIntent() != null) { startIntent(v, action.getIntent(), showOnLockscreen); } else if (action.getPendingIntent() != null) { startPendingIntent(action.getPendingIntent(), showOnLockscreen); startPendingIntent(v, action.getPendingIntent(), showOnLockscreen); } } catch (ActivityNotFoundException e) { Log.w(TAG, "Could not launch intent for action: " + action, e); Loading @@ -210,6 +210,6 @@ public interface BcSmartspaceDataPlugin extends Plugin { void startIntent(View v, Intent i, boolean showOnLockscreen); /** Start the PendingIntent */ void startPendingIntent(PendingIntent pi, boolean showOnLockscreen); void startPendingIntent(View v, PendingIntent pi, boolean showOnLockscreen); } } packages/SystemUI/src/com/android/systemui/smartspace/dagger/SmartspaceViewComponent.kt +5 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,11 @@ interface SmartspaceViewComponent { ) } override fun startPendingIntent(pi: PendingIntent, showOnLockscreen: Boolean) { override fun startPendingIntent( view: View, pi: PendingIntent, showOnLockscreen: Boolean ) { if (showOnLockscreen) { pi.send() } else { Loading packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/LockscreenSmartspaceController.kt +5 −1 Original line number Diff line number Diff line Loading @@ -353,7 +353,11 @@ constructor( } } override fun startPendingIntent(pi: PendingIntent, showOnLockscreen: Boolean) { override fun startPendingIntent( view: View, pi: PendingIntent, showOnLockscreen: Boolean ) { if (showOnLockscreen) { pi.send() } else { Loading Loading
packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/BcSmartspaceDataPlugin.java +3 −3 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ public interface BcSmartspaceDataPlugin extends Plugin { if (action.getIntent() != null) { startIntent(v, action.getIntent(), showOnLockscreen); } else if (action.getPendingIntent() != null) { startPendingIntent(action.getPendingIntent(), showOnLockscreen); startPendingIntent(v, action.getPendingIntent(), showOnLockscreen); } } catch (ActivityNotFoundException e) { Log.w(TAG, "Could not launch intent for action: " + action, e); Loading @@ -199,7 +199,7 @@ public interface BcSmartspaceDataPlugin extends Plugin { if (action.getIntent() != null) { startIntent(v, action.getIntent(), showOnLockscreen); } else if (action.getPendingIntent() != null) { startPendingIntent(action.getPendingIntent(), showOnLockscreen); startPendingIntent(v, action.getPendingIntent(), showOnLockscreen); } } catch (ActivityNotFoundException e) { Log.w(TAG, "Could not launch intent for action: " + action, e); Loading @@ -210,6 +210,6 @@ public interface BcSmartspaceDataPlugin extends Plugin { void startIntent(View v, Intent i, boolean showOnLockscreen); /** Start the PendingIntent */ void startPendingIntent(PendingIntent pi, boolean showOnLockscreen); void startPendingIntent(View v, PendingIntent pi, boolean showOnLockscreen); } }
packages/SystemUI/src/com/android/systemui/smartspace/dagger/SmartspaceViewComponent.kt +5 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,11 @@ interface SmartspaceViewComponent { ) } override fun startPendingIntent(pi: PendingIntent, showOnLockscreen: Boolean) { override fun startPendingIntent( view: View, pi: PendingIntent, showOnLockscreen: Boolean ) { if (showOnLockscreen) { pi.send() } else { Loading
packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/LockscreenSmartspaceController.kt +5 −1 Original line number Diff line number Diff line Loading @@ -353,7 +353,11 @@ constructor( } } override fun startPendingIntent(pi: PendingIntent, showOnLockscreen: Boolean) { override fun startPendingIntent( view: View, pi: PendingIntent, showOnLockscreen: Boolean ) { if (showOnLockscreen) { pi.send() } else { Loading