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

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

Merge "Add a SaftyNet for security vulnerability"

parents 00596b03 8c4aacd3
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.net.Uri;
import android.os.Bundle;
import android.provider.Settings;
import android.text.TextUtils;
import android.util.EventLog;
import android.util.Log;

import com.android.settings.bluetooth.BluetoothSliceBuilder;
@@ -73,6 +74,11 @@ public class SliceDeepLinkSpringBoard extends Activity {

    private static Uri parse(Uri uri) {
        final String sliceParameter = uri.getQueryParameter(EXTRA_SLICE);
        return TextUtils.isEmpty(sliceParameter) ? null : Uri.parse(sliceParameter);
        if (TextUtils.isEmpty(sliceParameter)) {
            EventLog.writeEvent(0x534e4554, "122836081", -1, "");
            return null;
        } else {
            return Uri.parse(sliceParameter);
        }
    }
}