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

Commit 22e80e4a authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6206628 from f8396c5c to qt-qpr3-release

Change-Id: I7511316c90b2c126b9d4d4557e4fb16c76f8f1db
parents 9492e827 f8396c5c
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -19,6 +19,8 @@ import android.content.Intent;
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;
@@ -71,6 +73,12 @@ public class SliceDeepLinkSpringBoard extends Activity {
    }

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