Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It seems like on Android 8 & 9 framework's View implementation has a bug that under certain scenarios if we set a view's visibility when view.getParent() is null, it can cause NPE crash. Fixes this by switching the order of addView and setVisibility() call. Resolves #917 PiperOrigin-RevId: 413978332
- Loading branch information