diff options
author | Charles Chen <charlesccchen@google.com> | 2020-12-04 16:04:33 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2021-01-21 17:47:01 +0800 |
commit | 8cb667570cc07aadb2ac110c9157adce18c2c0ca (patch) | |
tree | 20a8d02cc4ced2a345a400490dd6d89a4becaf56 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 3c3b134e7d42c65146346eedc90e9ea3e7866ba0 (diff) |
Creates WindowToken for WindowContext
... until it adds the first view
In R, we create WindowToken for every WindowContext creation.
In S, we only create WindowToken for the WindowContext which adding
a view.
This CL also provide the ability to attach an existing WindowToken
by overriding WindowManager.LayoutParams.mToken, and remove the
WindowContext created WindowToken after WindowContext destruction.
Bug: 159767464
Bug: 153369119
Test: atest WindowTokenTests WindowContextListenerControllerTests
Change-Id: Iefe0315461b452a84cecbff2d08ee04c1f34051d
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions