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

Commit 3decab60 authored by Christopher Tate's avatar Christopher Tate
Browse files

Fix IntentFilter#getAutoVerify()

Also fix the verification result display in dumpsys.

Bug 21490494

Change-Id: I043bd9a7cc0dc6bf4490b5501682aef63cbe5c72
parent 686ec7a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ public class IntentFilter implements Parcelable {
     * @hide
     */
    public final boolean getAutoVerify() {
        return ((mVerifyState & STATE_VERIFY_AUTO) == 1);
        return ((mVerifyState & STATE_VERIFY_AUTO) == STATE_VERIFY_AUTO);
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ public final class IntentFilterVerificationInfo implements Parcelable {
    }

    public String getStatusString() {
        return getStatusStringFromValue(mMainStatus);
        return getStatusStringFromValue(((long)mMainStatus) << 32);
    }

    public static String getStatusStringFromValue(long val) {