Loading libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipUtils.java +3 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,9 @@ public class PipUtils { public static boolean remoteActionsMatch(RemoteAction action1, RemoteAction action2) { if (action1 == action2) return true; if (action1 == null || action2 == null) return false; return Objects.equals(action1.getTitle(), action2.getTitle()) return action1.isEnabled() == action2.isEnabled() && action1.shouldShowIcon() == action2.shouldShowIcon() && Objects.equals(action1.getTitle(), action2.getTitle()) && Objects.equals(action1.getContentDescription(), action2.getContentDescription()) && Objects.equals(action1.getActionIntent(), action2.getActionIntent()); } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipUtils.java +3 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,9 @@ public class PipUtils { public static boolean remoteActionsMatch(RemoteAction action1, RemoteAction action2) { if (action1 == action2) return true; if (action1 == null || action2 == null) return false; return Objects.equals(action1.getTitle(), action2.getTitle()) return action1.isEnabled() == action2.isEnabled() && action1.shouldShowIcon() == action2.shouldShowIcon() && Objects.equals(action1.getTitle(), action2.getTitle()) && Objects.equals(action1.getContentDescription(), action2.getContentDescription()) && Objects.equals(action1.getActionIntent(), action2.getActionIntent()); } Loading