weblayer: makes WebLayer.init() work after creation
Prior to this patch WebLayer.init() must be called before super.onCreate() (from FragmentActivity), otherwise we hit NPEs. Two changes are necessary to get this working: . Remove call to ApplicationStatus.initialize(). . Supply false to ActivityWindowAndroid so that it doesn't listen to the activity. BUG=none TEST=none Change-Id: I24a80de016b9a8433f883f9d9e9a5c12808abc91 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810252Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#697737}
Showing
Please register or sign in to comment