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

Commit 361d32a2 authored by Christian Mehlmauer's avatar Christian Mehlmauer Committed by Steve Kondik
Browse files

replaced deprecated getIntent with parseURI

Change-Id: Ice9e74fd8f729d7efad934d2de4c747d73be562e
parent 4322ec00
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4286,7 +4286,7 @@ public final class Settings {
                while (intent == null && c.moveToNext()) {
                    try {
                        String intentURI = c.getString(c.getColumnIndexOrThrow(INTENT));
                        intent = Intent.getIntent(intentURI);
                        intent = Intent.parseUri(intentURI, 0);
                    } catch (java.net.URISyntaxException e) {
                        // The stored URL is bad...  ignore it.
                    } catch (IllegalArgumentException e) {
@@ -4396,7 +4396,7 @@ public final class Settings {

            Intent intent;
            try {
                intent = Intent.getIntent(intentUri);
                intent = Intent.parseUri(intentUri, 0);
            } catch (URISyntaxException e) {
                return "";
            }