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

Commit e966714a authored by Sunny Shao's avatar Sunny Shao
Browse files

Fixed the roboletric test failed

Fixes: 145730755
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
Change-Id: Ie60985cdf6802e8723c68e5e1f2104965f0d440b
parent 131287c6
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -22,13 +22,16 @@ import android.os.SystemProperties;
import com.android.internal.annotations.VisibleForTesting;
import com.android.settings.core.BasePreferenceController;

class InstallAppSourceCertificatePreferenceController extends
/**
 *  This controller decides the verification result of the installed app.
 */
public class InstallAppSourceCertificatePreferenceController extends
        BasePreferenceController {

    private static final String APK_VERITY_PROPERTY = "ro.apk_verity.mode";
    private static final int APK_VERITY_MODE_ENABLED = 2;

    InstallAppSourceCertificatePreferenceController(Context context, String key) {
    public InstallAppSourceCertificatePreferenceController(Context context, String key) {
        super(context, key);
    }