Status Update
Comments
se...@google.com <se...@google.com>
jb...@google.com <jb...@google.com> #2
Please include a sample project that reproduces your issue.
jb...@google.com <jb...@google.com>
ap...@google.com <ap...@google.com> #3
Sample project attached. Just add to plain project this dependencies allow to reproduce.
def emoji2_version = "1.1.0-beta01"
implementation "androidx.emoji2:emoji2:$emoji2_version"
def lifecycle_version = "2.5.0-alpha01"
implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"
jb...@google.com <jb...@google.com> #4
The reason may be related to 2.4.0
of lifecycle-process
as workaround.
de...@gmail.com <de...@gmail.com> #5
Yes, this is due to this change, as well as the fact that EmojiCompatInitializer has a ProcessLifecycleInitializer as a dependency and also re-calls it, but in manual mode.
de...@gmail.com <de...@gmail.com> #6
ProcessLifecycleInitializer
is expected to already be initialized (via the manifest provider
for App Startup) by the time that code runs - App Startup shouldn't be calling create
if that component has already been initialized, hence you shouldn't get any exception. We'll take a look on where things are breaking down though.
da...@gmail.com <da...@gmail.com> #7
Thanks for the answer.
As I understand EmojiCompatInitializer has ProcessLifecycleInitializer as a appInitializer.initializeComponent(ProcessLifecycleInitializer.class)
Maybe it would be more correct to create a bug in emoji-2, but let it be here.
zo...@gmail.com <zo...@gmail.com> #8
This issue isn't related to emoji2, it could be reproduced easily with the lifecycle-process
(2.4.0 -> 2.5.0-alpha01) only.
Description
Component used: lifecycle-livedata-ktx
Version used: 2.3.0-alpha04
Devices/Android versions reproduced on: Android Studio 4.0 (AGP 4.0)
I get below lint warning when running
./gradlew lint
.NullSafeMutableLiveData
is not working.I'll attach the reproduction project and lint results. Please check it.
Thanks.