FIX: ActivityLifecycleCallbacks2 should also be registered on
ApplicationCompat.