Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cb02c57b authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Reuse death recipient of window session for its windows

The process of WindowState is impossible to be different from
the Session. Since Session has registered death recipient, it
is unnecessary to register for the windows belonging to the
same process.

This simplifies the code structure and reduces overhead to binder.

Additional note:
 WMS#addWindow has checked valid display at the beginning.

Bug: 163976519
Test: WindowManagerServiceTests

Change-Id: Id249c9b4d3f347383939ee70e0b0deb54be7172a
parent c7f210a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment