Add location to security settings.
Bug: 32437756 Test: RunSettingsRoboTests Change-Id: I999669963801684eb2399f5e642159970727b3c4
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.android.settings.dashboard;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.support.v7.preference.Preference;
|
||||
|
||||
@@ -55,6 +56,16 @@ public interface DashboardFeatureProvider {
|
||||
*/
|
||||
String getDashboardKeyForTile(Tile tile);
|
||||
|
||||
/**
|
||||
* Binds preference to data provided by tile.
|
||||
*
|
||||
* @param activity If tile contains intent to launch, it will be launched from this activity
|
||||
* @param pref The preference to bind data
|
||||
* @param tile The binding data
|
||||
* @param key They key for preference. If null, we will generate one from tile data
|
||||
*/
|
||||
void bindPreferenceToTile(Activity activity, Preference pref, Tile tile, String key);
|
||||
|
||||
/**
|
||||
* Returns a {@link ProgressiveDisclosureMixin} for specified fragment.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user