Merge "Restrict IMM.notifyUserAction() with targetSdkVersion <= P" am: ec52757ecb

am: 81be3fdc66

Change-Id: Ied8670c7902c047ba523094e8374f9f8ad750621
This commit is contained in:
Yohei Yukawa
2018-09-12 15:28:06 -07:00
committed by android-build-merger

View File

@@ -30,6 +30,7 @@ import android.content.pm.PackageManager;
import android.graphics.Rect;
import android.inputmethodservice.InputMethodService;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
@@ -2249,7 +2250,7 @@ public final class InputMethodManager {
* Notify that a user took some action with this input method.
* @hide
*/
@UnsupportedAppUsage
@UnsupportedAppUsage(trackingBug = 114740982, maxTargetSdk = Build.VERSION_CODES.P)
public void notifyUserAction() {
synchronized (mH) {
if (mLastSentUserActionNotificationSequenceNumber ==