Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a48f975 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

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
parent 8d8176d4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1268,10 +1268,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
            mIsDefault = (info.flags & DEFAULT) != 0;

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