From 1f0211714c3623c611194dab62d28bd0d54fbed8 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Tue, 7 Jun 2022 16:12:02 -0700 Subject: [PATCH] Remove IInputMethodClient from hiddenapi-unsupported.txt There has somehow been the following AIDL-generaged method IInputMethodSession IInputMethodSession.Stub#asInterface(IBinder) in hiddenapi-unsupported. This is strange because A) there is no way for IME client apps to obtain an IBinder object of IInputMethodSession and B) even if IME client apps somehow get a raw IBinder object of IInputMethodSession its IPC methods are not accessible due to restrictions on non-SDK interfaces. Therefore, the risk of accidentally breaking apps by removing this entry is supposed to be very low. To make future refactoring possible, let's remove this entry from hiddenapi-unsupported.txt. Fix: 235267988 Test: presubmit Change-Id: If3b0737854038e39c2bfe4f7811c5d7d7bdc18a7 --- boot/hiddenapi/hiddenapi-unsupported.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/boot/hiddenapi/hiddenapi-unsupported.txt b/boot/hiddenapi/hiddenapi-unsupported.txt index 6b71e24a1d357..26dc7003a828f 100644 --- a/boot/hiddenapi/hiddenapi-unsupported.txt +++ b/boot/hiddenapi/hiddenapi-unsupported.txt @@ -261,5 +261,4 @@ Lcom/android/internal/telephony/IWapPushManager$Stub;->asInterface(Landroid/os/I Lcom/android/internal/textservice/ITextServicesManager$Stub$Proxy;->(Landroid/os/IBinder;)V Lcom/android/internal/view/IInputMethodManager$Stub$Proxy;->(Landroid/os/IBinder;)V Lcom/android/internal/view/IInputMethodManager$Stub;->asInterface(Landroid/os/IBinder;)Lcom/android/internal/view/IInputMethodManager; -Lcom/android/internal/view/IInputMethodSession$Stub;->asInterface(Landroid/os/IBinder;)Lcom/android/internal/view/IInputMethodSession; Lcom/android/internal/widget/ILockSettings$Stub;->asInterface(Landroid/os/IBinder;)Lcom/android/internal/widget/ILockSettings;