Merge "Update the API version checks." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
11fd02f63a
@@ -1024,10 +1024,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
|
|||||||
mIsDefault = (info.flags & DEFAULT) != 0;
|
mIsDefault = (info.flags & DEFAULT) != 0;
|
||||||
|
|
||||||
if (mIsAutomation || info.getResolveInfo().serviceInfo.applicationInfo.targetSdkVersion
|
if (mIsAutomation || info.getResolveInfo().serviceInfo.applicationInfo.targetSdkVersion
|
||||||
// TODO: Uncomment this line and remove the line below when JellyBean
|
>= Build.VERSION_CODES.JELLY_BEAN) {
|
||||||
// SDK version is finalized.
|
|
||||||
// >= Build.VERSION_CODES.JELLY_BEAN) {
|
|
||||||
> Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {
|
|
||||||
mIncludeNotImportantViews =
|
mIncludeNotImportantViews =
|
||||||
(info.flags & FLAG_INCLUDE_NOT_IMPORTANT_VIEWS) != 0;
|
(info.flags & FLAG_INCLUDE_NOT_IMPORTANT_VIEWS) != 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user