Files
frameworks_base/native/android
Robert Carr 86b378b810 ANativeWindow_fromSurface: Use acquire not incStrong
When we call incStrong like this, it won't work if the
caller of ANativeWindow_fromSurface later calls
ANativeWindow_release and so we leak the reference indefinitely.
We change to call acquire so that the caller can call release.

Bug: 186190571
Test: Existing tests pass
Change-Id: I647a856923c891da2d305471f5ff84103d1f9ed5
2021-05-05 15:51:35 -07:00
..
2021-03-23 11:21:21 +00:00
2021-04-02 14:43:36 -04:00