Remove unnecessary OS condition check

As it will be always running on the latest platform

Bug: 202130031
Test: Able to boot without error
Change-Id: If5c5f93e6dfd86d12a817f6baa9b4d2cafdf4bf8
This commit is contained in:
Ricky Wai
2022-02-09 15:24:12 +00:00
parent 143db55921
commit ab37645623

View File

@@ -138,8 +138,6 @@ public class RestrictedPreferenceHelper {
return true;
}
if (mDisabledByAppOps) {
Preconditions.checkState(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU,
"Build SDK version needs >= T");
RestrictedLockUtilsInternal.sendShowRestrictedSettingDialogIntent(mContext, packageName,
uid);
return true;