commit | 43e42ff6ec685038921bc375bd660c245e4bc4e7 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Fri Sep 25 14:28:36 2020 -0700 |
committer | Ady Abraham <adyabr@google.com> | Thu Oct 01 20:12:38 2020 +0000 |
tree | 616d7625a3b06181139fa9830cec6f74ea49e9ba | |
parent | 224824b2dcb85bd4f7f8410e56209515f274acb6 [diff] |
composer: hold a sp<IComposer> from the service itself IComposerClient assumes that IComposer will outlive its life cycle and holds a simple pointer to HwcHal. This change is taking the same approach of newer composer versions (2.2, 2.3, and 2.4) to make sure that IComposer would outlive IComposerClient. Test: coral booting with this change Fixes: 155769496 Change-Id: I3962ede51ce823368c62c4e4e5fb30f7a5680bdf