1c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov/*
2c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * Copyright (C) 2013 The Android Open Source Project
3c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov *
4c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * Licensed under the Apache License, Version 2.0 (the "License");
5c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * you may not use this file except in compliance with the License.
6c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * You may obtain a copy of the License at
7c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov *
8c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov *      http://www.apache.org/licenses/LICENSE-2.0
9c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov *
10c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * Unless required by applicable law or agreed to in writing, software
11c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * distributed under the License is distributed on an "AS IS" BASIS,
12c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * See the License for the specific language governing permissions and
14c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * limitations under the License.
15c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov */
16c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov
17c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganovpackage android.support.v4.accessibilityservice;
18c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov
19c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganovimport android.accessibilityservice.AccessibilityServiceInfo;
20c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganovimport android.content.pm.ResolveInfo;
21c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov
22c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov/**
23c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov * ICS implementation of the new APIs in AccessibilityServiceInfo.
24c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov */
25c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganovclass AccessibilityServiceInfoCompatJellyBeanMr2 {
26c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov
27c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov    public static int getCapabilities(AccessibilityServiceInfo info) {
28c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov        return info.getCapabilities();
29c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov    }
30c7cb4862dbdb52c07ef82bd4fb29ca9efe7756faSvetoslav Ganov}
31