summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2020-03-20 10:44:40 -0700
committerKevin Han <kevhan@google.com>2020-04-01 18:00:34 -0700
commit273bb0df015e02279d2c3900d42ed7aef74c3360 (patch)
tree2f0f78542b284ff5e9cd68f5f8b23e80448050db /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5300f144113b31f54ca179c99d24b2075e6f1656 (diff)
Refactor heads up view binding
As part of deprecating row.freeContentViewWhenSafe, this CL replaces/removes all remaining calls. In addition, we create a shared class called HeadsUpViewBinder that binds/unbinds the heads up view and is used by both the old and new pipeline. In the new pipeline, HeadsUpCoordinator uses this class to bind/unbind heads up views in response to notification collection events and heads up ending. This also fully puts heads up in the control of the HeadsUpCoordinator instead of partially intruding on PreparationCoordinator In the old pipeline, HeadsUpViewController effectively acts as the HeadsUpCoordinator equivalent in response to NotificationEntryManager events. Notably, it takes control of calling heads up view inflation instead of NotificationRowBinderImpl which also decouples the row binder from as much business logic. Bug: 112656837 Test: atest SystemUITests Test: heads up notification smoke test Test: heap dump heads up notification after and see view is freed Change-Id: Ifb3a9ff753bc0670601763cb18d6ca54fbff52c5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions