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

Commit d7731148 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed AccessibilityServiceInfo.getId()" into udc-dev

parents cb05df15 895c8e56
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
    }

    /**