Skip to content

Commit 5a48f97

Browse files
committed
Update the API version checks.
1. Since the API version has been finalized this change updates the SDk version checks to use the JellyBean verson number. bug:5947249 Change-Id: Ie22fa7e18a7ea7b0c7077d80246a26c17f327ceb
1 parent 8d8176d commit 5a48f97

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

services/java/com/android/server/accessibility/AccessibilityManagerService.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,10 +1268,7 @@ public void setDynamicallyConfigurableProperties(AccessibilityServiceInfo info)
12681268
mIsDefault = (info.flags & DEFAULT) != 0;
12691269

12701270
if (mIsAutomation || info.getResolveInfo().serviceInfo.applicationInfo.targetSdkVersion
1271-
// TODO: Uncomment this line and remove the line below when JellyBean
1272-
// SDK version is finalized.
1273-
// >= Build.VERSION_CODES.JELLY_BEAN) {
1274-
> Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {
1271+
>= Build.VERSION_CODES.JELLY_BEAN) {
12751272
mIncludeNotImportantViews =
12761273
(info.flags & FLAG_INCLUDE_NOT_IMPORTANT_VIEWS) != 0;
12771274
}

0 commit comments

Comments
 (0)