diff options
author | Bryce Lee <brycelee@google.com> | 2017-03-02 08:42:30 -0800 |
---|---|---|
committer | Bryce Lee <brycelee@google.com> | 2017-03-02 09:07:50 -0800 |
commit | 7fbeb8a5d754c7e5c330458cf241c5e2a718099c (patch) | |
tree | fb261a3995a740b8bfc64890c78880c13f048ae7 /tools/aapt2/diff/Diff.cpp | |
parent | 00a5f2a65882f5b2814c9449e0ab75b6f2656315 (diff) |
Remove mTask from AppWindowToken.
mTask was a duplicate reference to the WindowContainer's parent. The
main benefit of this refenrece was type, as its callers require an
instance of type Task.
With the introduction of the method getTask, we can shift away from
this variable and instead directly cast the parent here. If the
window hierarchy changes in the future (such as AppWindowToken parent
types not being Task), we can re-evaluate and adjust how task is
returned.
Test: manual
Change-Id: Idd6bba1121056ed79745911efe838edfa685bbf2
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions