Fix IntentFilter#getAutoVerify()
Also fix the verification result display in dumpsys. Bug 21490494 Change-Id: I043bd9a7cc0dc6bf4490b5501682aef63cbe5c72
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user