commit | 8724653a77f855b7e062541d6e08f3ea659cef7c | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Mon Feb 04 15:20:26 2019 -0800 |
committer | Robert Carr <racarr@google.com> | Tue Feb 05 09:14:14 2019 -0800 |
tree | 36e9f4220b02f69c6f2c352d79900062b753233c | |
parent | 0e87539913e3fe631730b40c1f2c0be2fcee66d8 [diff] |
SurfaceControl life-cycle refactoring. We provide a method called "release" which allows the client to drop its references without reparenting the SurfaceControl to null as the destructor would. The Java and NDK API's already have this method but it's not perfectly functional at the moment. Additionally we remove the strange pass-through of clear to destroy and expose destroy directly. Test: Builds Bug: 123587983 Change-Id: Ia89ada1476daef97e6f30d50a57065c3636a6489