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

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

Merge "Fixing wrong target check"

parents 8c7d70b9 08738184
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ public final class AppTarget implements Parcelable {
         */
        @NonNull
        public Builder setTarget(@NonNull String packageName, @NonNull UserHandle user) {
            if (mPackageName == null) {
            if (mPackageName != null) {
                throw new IllegalArgumentException("Target is already set");
            }
            mPackageName = Preconditions.checkNotNull(packageName);