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

Commit 3a03b11c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add isEnabled method to AwareFeatureProvider"

parents 24b96bff 44449272
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,4 +21,7 @@ import android.content.Context;
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);
}
+5 −0
Original line number Diff line number Diff line
@@ -23,4 +23,9 @@ public class AwareFeatureProviderImpl implements AwareFeatureProvider {
    public boolean isSupported(Context context) {
        return false;
    }

    @Override
    public boolean isEnabled(Context context) {
        return false;
    }
}