commit | 3f7cf2a5e3096186ec4027256a5b9eae3ecabd1c | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Wed Mar 06 12:32:52 2019 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Wed Mar 06 14:09:48 2019 +0800 |
tree | 4de5cd935237801ec744073230e15a5f6541bee4 | |
parent | 1b042a7c6efaf7837f4f9ac5c80d6d257f19a26d [diff] |
Using SurfaceControl#remove() instead of release() According to the Java doc, the surface may still continue to exist on screen after calling release(), and it does in this case. Using remove() to release the surface of magnification overlay and also remove it from the screen. Bug: 127431967 Test: a11y CTS & unit tests Test: manual Change-Id: I17d9956fefe7d5b917b7596188041eef22ebd4bd