diff options
| author | Charles Chen <charlesccchen@google.com> | 2020-09-02 14:10:07 +0800 |
|---|---|---|
| committer | Charles Chen <charlesccchen@google.com> | 2021-02-06 15:47:08 +0800 |
| commit | b80fdde45fdee435aa3e55c185b5b0b509bd6741 (patch) | |
| tree | 9e4767f1aa8da4a79d99ae3ab148a820fe02d9d3 /core/java/android/app/WindowTokenClient.java | |
| parent | c8c9f8741ebe475e6a6ef8ae9451b7a90f38103f (diff) | |
Remove addWindowTokenWithOptions
Since WindowContext won't add WindowToken from the client side,
addWindowTokenWithOption is no more needed. Also remove the logic
to invoke removeWindowToken from the client side.
Bug: 159767464
Bug: 153369119
Test: atest WindowManagerServiceTests WindowManagerPermissionTests
Change-Id: Ib0c948dca223cf8d056865ce3a0d4adaef07d247
Diffstat (limited to 'core/java/android/app/WindowTokenClient.java')
| -rw-r--r-- | core/java/android/app/WindowTokenClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/WindowTokenClient.java b/core/java/android/app/WindowTokenClient.java index 9092ef36deb6..29792ac47a36 100644 --- a/core/java/android/app/WindowTokenClient.java +++ b/core/java/android/app/WindowTokenClient.java @@ -44,8 +44,8 @@ public class WindowTokenClient extends IWindowToken.Stub { * Attaches {@code context} to this {@link WindowTokenClient}. Each {@link WindowTokenClient} * can only attach one {@link Context}. * <p>This method must be called before invoking - * {@link android.view.IWindowManager#addWindowTokenWithOptions(IBinder, int, int, Bundle, - * String)}.<p/> + * {@link android.view.IWindowManager#registerWindowContextListener(IBinder, int, int, + * Bundle, boolean)}.<p/> * * @param context context to be attached * @throws IllegalStateException if attached context has already existed. |
