Merge "Add @UnsupportedAppUsage annotations" am: 10c573ff85

am: f63b6157a1

Change-Id: I5b6a5b23442900ae87ed19bbcdf503845405d518
This commit is contained in:
Andrei-Valentin Onea
2019-03-08 06:18:00 -08:00
committed by android-build-merger
15 changed files with 25 additions and 24 deletions

View File

@@ -16,6 +16,7 @@
package android.database;
import android.annotation.UnsupportedAppUsage;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
@@ -138,6 +139,7 @@ public abstract class BulkCursorNative extends Binder implements IBulkCursor
final class BulkCursorProxy implements IBulkCursor {
@UnsupportedAppUsage
private IBinder mRemote;
private Bundle mExtras;

View File

@@ -30,6 +30,7 @@ import android.view.Surface;
/** @hide */
interface IDisplayManager {
@UnsupportedAppUsage
DisplayInfo getDisplayInfo(int displayId);
int[] getDisplayIds();

View File

@@ -46,6 +46,7 @@ interface IInputManager {
// Injects an input event into the system. To inject into windows owned by other
// applications, the caller must have the INJECT_EVENTS permission.
@UnsupportedAppUsage
boolean injectInputEvent(in InputEvent ev, int mode);
// Calibrate input device position

View File

@@ -32,5 +32,6 @@ oneway interface IActivityRecognitionHardwareClient {
* @param isSupported whether the platform has hardware support for the feature
* @param instance the available instance to provide access to the feature
*/
@UnsupportedAppUsage
void onAvailabilityChanged(in boolean isSupported, in IActivityRecognitionHardware instance);
}