summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorIan Lake <ilake@google.com>2018-09-28 13:25:20 -0700
committerIan Lake <ilake@google.com>2018-11-29 05:59:27 +0000
commit8a88cd6fe070b3e028ab007609cf97151fa51002 (patch)
tree62d16f5b080b6081cd0c8d41bda83197cb28b55a /tools/aapt2/java/JavaClassGenerator.cpp
parent9ab9d46a864923fa6cb180a4dc7961881b59855c (diff)
Add Activity.registerActivityLifecycleCallbacks()
As an alternative to requiring developers register/unregister ActivityLifecycleCallbacks at the Application level, provide the same API at the Activity level. This allows you to get lifecycle callbacks scoped to only a single Activity without overriding each individual callback. The callbacks are purposefully nested within the Application scoped ActivityLifecycleCallbacks. Test: new CTS test BUG: 116118635 Change-Id: Iab6d841019010a0bf9d91fe889db82e0135b4b9c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions