Add Slices for Enhanced 4G LTE Enhanced 4G LTE Slice Provider: Create slice to display appropriate message with further instructions Enhanced 4G LTE Slice Broadcast Reciver: 1. Change the setting via ImsManager 2. Ask to requery the slice in one second to display updated settings if 1 is valid or display appropriate message Bug: 79270171 Test: Robotests Test: Use support-slices-demos-debug.apk to test on device Change-Id: I48d412de94d5d9f1ad42a299691ec5cf8001c6a1
42 lines
1.1 KiB
Java
42 lines
1.1 KiB
Java
package com.android.settings.slices;
|
|
|
|
import android.content.Context;
|
|
|
|
import com.android.settings.mobilenetwork.Enhanced4gLteSliceHelper;
|
|
import com.android.settings.wifi.calling.WifiCallingSliceHelper;
|
|
|
|
/**
|
|
* Manages Slices in Settings.
|
|
*/
|
|
public interface SlicesFeatureProvider {
|
|
|
|
boolean DEBUG = false;
|
|
|
|
SlicesIndexer getSliceIndexer(Context context);
|
|
|
|
SliceDataConverter getSliceDataConverter(Context context);
|
|
|
|
/**
|
|
* Asynchronous call to index the data used to build Slices.
|
|
* If the data is already indexed, the data will not change.
|
|
*/
|
|
void indexSliceDataAsync(Context context);
|
|
|
|
/**
|
|
* Indexes the data used to build Slices.
|
|
* If the data is already indexed, the data will not change.
|
|
*/
|
|
void indexSliceData(Context context);
|
|
|
|
/**
|
|
* Gets new WifiCallingSliceHelper object
|
|
*/
|
|
WifiCallingSliceHelper getNewWifiCallingSliceHelper(Context context);
|
|
|
|
/**
|
|
* Gets new Enhanced4gLteSliceHelper object
|
|
*/
|
|
Enhanced4gLteSliceHelper getNewEnhanced4gLteSliceHelper(Context context);
|
|
}
|
|
|