diff options
author | Indranil <ichakrab@codeaurora.org> | 2019-10-24 11:42:46 +0530 |
---|---|---|
committer | Indranil <ichakrab@codeaurora.org> | 2019-11-19 14:56:12 +0530 |
commit | 49668ef541c1682e1f36f6937c400c2719007599 (patch) | |
tree | 845b3e72b8d15330aced827aac8b94acdc90342f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2ae46282f7c61c6cc2b52cdb95ff78447bb32252 (diff) |
wm::DisplayRotation: Limit WFD UIBC rotation to primary displays
The primary display lifecycle is attached to the device uptime and
WFD UIBC rotation should only be applicable to the primary display.
Registering Virtual displays for the rotation intent had the
inadvertent ramification of leaking Broadcast receivers once they
are destroyed, since there's no dispose API for DisplayRotation.
This could also potentially lead to system server reboot in case
the count of accumulated orphaned Broadcast Receivers led to the
ActivityManager service throwing a Fatal Exception.
CRs-Fixed: 2569143
Change-Id: Ieeff0e16aa4e0ce20f962aa228786244ca30741f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions