Merge "Automatically add FEATURE_IPSEC_TUNNELS for Q+ devices." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
242087ad3e
@@ -1197,6 +1197,10 @@ public class SystemConfig {
|
|||||||
addFeature(PackageManager.FEATURE_APP_ENUMERATION, 0);
|
addFeature(PackageManager.FEATURE_APP_ENUMERATION, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Build.VERSION.FIRST_SDK_INT >= Build.VERSION_CODES.Q) {
|
||||||
|
addFeature(PackageManager.FEATURE_IPSEC_TUNNELS, 0);
|
||||||
|
}
|
||||||
|
|
||||||
for (String featureName : mUnavailableFeatures) {
|
for (String featureName : mUnavailableFeatures) {
|
||||||
removeFeature(featureName);
|
removeFeature(featureName);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user