If cold-starting Chrome with Chrome Home enabled, it is possible to cause a crash in ChromeFeatureList due to native not being initialized.
1. Enable Chrome Home.
2. Cold-start Chrome.
3. Immediately start tapping on the bottom toolbar.
The is easier to reproduce on debug builds or slow devices.
Stack:
...
Caused by: java.lang.AssertionError
at org.chromium.chrome.browser.ChromeFeatureList.isEnabled(ChromeFeatureList.java:70)
at org.chromium.chrome.browser.util.FeatureUtilities.isChromeHomeExpandButtonEnabled(FeatureUtilities.java:270)
at org.chromium.chrome.browser.widget.bottomsheet.BottomSheet.canMoveSheet(BottomSheet.java:1144)
at org.chromium.chrome.browser.widget.bottomsheet.BottomSheet.onInterceptTouchEvent(BottomSheet.java:407)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2108)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2575)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
Comment 1 by mdjones@chromium.org
, May 31 2017Status: Duplicate (was: Assigned)