blob: d91f5b62d8d44d073344be9845cfb38e35443c2a [file] [log] [blame]
Jared Duke2d1a8322024-08-23 22:17:09 +00001// This file is auto-generated. DO NOT MODIFY.
2// Args: com.android.systemfeatures.RwNoFeatures \
3// --readonly=false
4package com.android.systemfeatures;
5
Jared Duke568adec2024-09-20 21:11:17 +00006import android.annotation.NonNull;
Jared Duke2d1a8322024-08-23 22:17:09 +00007import android.annotation.Nullable;
8import android.content.Context;
Jared Duke568adec2024-09-20 21:11:17 +00009import android.content.pm.FeatureInfo;
10import java.util.HashMap;
11import java.util.Map;
Jared Duke2d1a8322024-08-23 22:17:09 +000012
13/**
14 * @hide
15 */
16public final class RwNoFeatures {
17 private static boolean hasFeatureFallback(Context context, String featureName) {
18 return context.getPackageManager().hasSystemFeature(featureName, 0);
19 }
20
21 /**
22 * @hide
23 */
24 @Nullable
25 public static Boolean maybeHasFeature(String featureName, int version) {
26 return null;
27 }
Jared Duke568adec2024-09-20 21:11:17 +000028
29 /**
30 * Gets features marked as available at compile-time, keyed by name.
31 *
32 * @hide
33 */
34 @NonNull
35 public static Map<String, FeatureInfo> getCompileTimeAvailableFeatures() {
36 Map<String, FeatureInfo> features = new HashMap<>(0);
37 return features;
38 }
Jared Duke2d1a8322024-08-23 22:17:09 +000039}