summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2019-04-11 19:04:00 -0700
committerMady Mellor <madym@google.com>2019-04-24 10:21:34 -0700
commit60101c9f298e69ee2b5ee5f67943515aae79b187 (patch)
treead677e8aa817e75cd9eaeca3436486cb6ad78f7b /tools/aapt2/java/JavaClassGenerator.cpp
parent5acc2403203d1aa2882da69c8f2957c1edeea7dd (diff)
Make lifecycle events for bubble activity views report normally
There are some extra onPause / onResume events in ActivityView due to SysUI calling startActivity in onActivityViewReady which happens a bit before the display being turned on. This CL posts the startActivity call which is enough to avoid the extra lifecycle events. This CL also adds new method on ActivityView to startActivity with your own ActivityOptions (because posting causes activity transition to occur...) Test: manual - have Bubbles test APK - create a new bubble - adb logcat | grep "BubbleActivity" - observe the logging to make sure lifecycle events behave normally Bug: 130363466 Change-Id: Ia44d6033e5cff625222006632b7bdc4dc1e59e81
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions