Suppress some search results
Fixes: 62137086 Test: reindex search Test: robotests Change-Id: I12e873edade80e4c0007d10352fb037b3230c643
This commit is contained in:
@@ -18,6 +18,8 @@ package com.android.settings.testutils.shadow;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.os.UserHandle;
|
||||
import android.os.UserManager;
|
||||
|
||||
import com.android.settings.Utils;
|
||||
import com.android.settings.password.IFingerprintManager;
|
||||
@@ -87,4 +89,9 @@ public class ShadowUtils {
|
||||
public static ComponentName getDeviceOwnerComponent(Context context) {
|
||||
return sDeviceOwnerComponentName;
|
||||
}
|
||||
|
||||
@Implementation
|
||||
public static int getManagedProfileId(UserManager um, int parentUserId) {
|
||||
return UserHandle.USER_NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user