Loading core/java/android/accessibilityservice/AccessibilityServiceInfo.java +2 −2 Original line number Diff line number Diff line Loading @@ -860,10 +860,10 @@ public class AccessibilityServiceInfo implements Parcelable { * <p> * <strong>Generated by the system.</strong> * </p> * @return The id. * @return The id (or {@code null} if the component is not set yet). */ public String getId() { return mComponentName.flattenToShortString(); return mComponentName == null ? null : mComponentName.flattenToShortString(); } /** Loading Loading
core/java/android/accessibilityservice/AccessibilityServiceInfo.java +2 −2 Original line number Diff line number Diff line Loading @@ -860,10 +860,10 @@ public class AccessibilityServiceInfo implements Parcelable { * <p> * <strong>Generated by the system.</strong> * </p> * @return The id. * @return The id (or {@code null} if the component is not set yet). */ public String getId() { return mComponentName.flattenToShortString(); return mComponentName == null ? null : mComponentName.flattenToShortString(); } /** Loading