Handle When received intent extra in System settings need show dialog
Bug: 128853573 Test: visual, robotest Change-Id: I92337e26f51c3f7ef4033d424ddcf07c6da6805d
This commit is contained in:
@@ -18,10 +18,15 @@ package com.android.settings.aware;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
public interface AwareFeatureProvider {
|
||||
/** Returns true if the aware sensor is supported. */
|
||||
boolean isSupported(Context context);
|
||||
|
||||
/** Returns true if the aware feature is enabled. */
|
||||
boolean isEnabled(Context context);
|
||||
|
||||
/** Show information dialog. */
|
||||
void showRestrictionDialog(Fragment parent);
|
||||
}
|
||||
|
Reference in New Issue
Block a user