Loading packages/SystemUI/src/com/android/systemui/bubbles/BubbleOverflowActivity.java +4 −1 Original line number Diff line number Diff line Loading @@ -285,7 +285,10 @@ class BubbleOverflowAdapter extends RecyclerView.Adapter<BubbleOverflowAdapter.V } }); ShortcutInfo info = b.getEntry().getRanking().getShortcutInfo(); // If the bubble was persisted, the entry is null but it should have shortcut info ShortcutInfo info = b.getEntry() == null ? b.getShortcutInfo() : b.getEntry().getRanking().getShortcutInfo(); if (info == null) { Log.d(TAG, "ShortcutInfo required to bubble but none found for " + b); } else { Loading Loading
packages/SystemUI/src/com/android/systemui/bubbles/BubbleOverflowActivity.java +4 −1 Original line number Diff line number Diff line Loading @@ -285,7 +285,10 @@ class BubbleOverflowAdapter extends RecyclerView.Adapter<BubbleOverflowAdapter.V } }); ShortcutInfo info = b.getEntry().getRanking().getShortcutInfo(); // If the bubble was persisted, the entry is null but it should have shortcut info ShortcutInfo info = b.getEntry() == null ? b.getShortcutInfo() : b.getEntry().getRanking().getShortcutInfo(); if (info == null) { Log.d(TAG, "ShortcutInfo required to bubble but none found for " + b); } else { Loading