blob: d91f5b62d8d44d073344be9845cfb38e35443c2a [file] [log] [blame]
// This file is auto-generated. DO NOT MODIFY.
// Args: com.android.systemfeatures.RwNoFeatures \
// --readonly=false
package com.android.systemfeatures;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.content.Context;
import android.content.pm.FeatureInfo;
import java.util.HashMap;
import java.util.Map;
/**
* @hide
*/
public final class RwNoFeatures {
private static boolean hasFeatureFallback(Context context, String featureName) {
return context.getPackageManager().hasSystemFeature(featureName, 0);
}
/**
* @hide
*/
@Nullable
public static Boolean maybeHasFeature(String featureName, int version) {
return null;
}
/**
* Gets features marked as available at compile-time, keyed by name.
*
* @hide
*/
@NonNull
public static Map<String, FeatureInfo> getCompileTimeAvailableFeatures() {
Map<String, FeatureInfo> features = new HashMap<>(0);
return features;
}
}