Loading src/com/android/settings/slices/SliceDeepLinkSpringBoard.java +9 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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); } } } Loading
src/com/android/settings/slices/SliceDeepLinkSpringBoard.java +9 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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); } } }