Skip to content
Snippets Groups Projects
Commit ba07a416 authored by Mathew Inwood's avatar Mathew Inwood Committed by Android (Google) Code Review
Browse files

Merge "Add @UnsupportedAppUsage annotations"

parents e6e12287 29b2e91b
No related branches found
No related tags found
No related merge requests found
Landroid/accessibilityservice/AccessibilityService;->mInfo:Landroid/accessibilityservice/AccessibilityServiceInfo;
Landroid/accessibilityservice/AccessibilityService;->mWindowToken:Landroid/os/IBinder;
Landroid/accessibilityservice/AccessibilityServiceInfo;->setCapabilities(I)V
Landroid/accessibilityservice/IAccessibilityServiceConnection$Stub;-><init>()V
Landroid/accessibilityservice/IAccessibilityServiceConnection$Stub;->asInterface(Landroid/os/IBinder;)Landroid/accessibilityservice/IAccessibilityServiceConnection;
Landroid/accounts/Account;->accessId:Ljava/lang/String;
......
......@@ -21,6 +21,7 @@ import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.RequiresPermission;
import android.annotation.UnsupportedAppUsage;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
......@@ -442,8 +443,10 @@ public abstract class AccessibilityService extends Service {
private int mConnectionId = AccessibilityInteractionClient.NO_ID;
@UnsupportedAppUsage
private AccessibilityServiceInfo mInfo;
@UnsupportedAppUsage
private IBinder mWindowToken;
private WindowManager mWindowManager;
......
......@@ -19,6 +19,7 @@ package android.accessibilityservice;
import static android.content.pm.PackageManager.FEATURE_FINGERPRINT;
import android.annotation.IntDef;
import android.annotation.UnsupportedAppUsage;
import android.content.ComponentName;
import android.content.Context;
import android.content.pm.PackageManager;
......@@ -695,6 +696,7 @@ public class AccessibilityServiceInfo implements Parcelable {
*
* @hide
*/
@UnsupportedAppUsage
public void setCapabilities(int capabilities) {
mCapabilities = capabilities;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment