Remove intent-filters from SettingsSliceProvider
And remove unused methods from SliceDeepLinkSpringBoard. This is part 1 of b/110156445 Bug: 110156445 Test: atest Change-Id: Iab36a97332fd847ed911a9e34b505fd4a64522d3
This commit is contained in:
@@ -21,8 +21,6 @@ import android.os.Bundle;
|
||||
import android.provider.Settings;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.Keep;
|
||||
|
||||
import com.android.settings.bluetooth.BluetoothSliceBuilder;
|
||||
import com.android.settings.notification.ZenModeSliceBuilder;
|
||||
import com.android.settings.overlay.FeatureFactory;
|
||||
@@ -89,14 +87,6 @@ public class SliceDeepLinkSpringBoard extends Activity {
|
||||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
public static Uri createDeepLink(String s) {
|
||||
return new Uri.Builder().scheme(SETTINGS)
|
||||
.authority(SettingsSliceProvider.SLICE_AUTHORITY)
|
||||
.appendQueryParameter(INTENT, s)
|
||||
.build();
|
||||
}
|
||||
|
||||
public static Intent parse(Uri uri, String pkg) throws URISyntaxException {
|
||||
Intent intent = Intent.parseUri(uri.getQueryParameter(INTENT),
|
||||
Intent.URI_ANDROID_APP_SCHEME);
|
||||
|
Reference in New Issue
Block a user