diff options
author | Filip Gruszczynski <gruszczy@google.com> | 2015-09-08 13:00:49 -0700 |
---|---|---|
committer | Filip Gruszczynski <gruszczy@google.com> | 2015-09-08 13:06:10 -0700 |
commit | d6a1692ef340608101c376fa2fd87d7c189bb906 (patch) | |
tree | a867f6b3e6880fab685a9b5464b9ca608e319383 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e60cdec46ed0bbd8954e939fc40a4f15a6fe7bd8 (diff) |
Refactoring of setting app starting window code.
This improves the code in following ways:
* move transferring of starting window into a separate method, so it can
be easier to understand;
* move checking of whether to display starting window from phone window
manager to window manager service; this has three benefits:
1) whole logic is in one place;
2) we don't need to schedule addition of a starting window, if we
would stop it later anyway;
3) we don't need to wait for creation of window style to decide, if a
window is floating.
Change-Id: Ibfbd87b84a7080e372211f162fa1865f8c5ab973
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions