summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-03-02 08:42:30 -0800
committerBryce Lee <brycelee@google.com>2017-03-02 09:07:50 -0800
commit7fbeb8a5d754c7e5c330458cf241c5e2a718099c (patch)
treefb261a3995a740b8bfc64890c78880c13f048ae7 /tools/aapt2/diff/Diff.cpp
parent00a5f2a65882f5b2814c9449e0ab75b6f2656315 (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