Status Update
Comments
lb...@gmail.com <lb...@gmail.com>
mk...@google.com <mk...@google.com>
bo...@google.com <bo...@google.com>
lb...@gmail.com <lb...@gmail.com> #2
Please include a sample project that reproduces your issue.
wd...@google.com <wd...@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"
lb...@gmail.com <lb...@gmail.com> #4
The reason may be related to 2.4.0
of lifecycle-process
as workaround.
wd...@google.com <wd...@google.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.
wd...@google.com <wd...@google.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.
lb...@gmail.com <lb...@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.
lb...@gmail.com <lb...@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.
wd...@google.com <wd...@google.com> #9
Branch: androidx-main
commit 97993ad954cb98211ef52b6e26c7877dbdeeec1c
Author: Jeremy Woods <jbwoods@google.com>
Date: Tue Feb 01 17:06:11 2022
Bump lifecycle process start-up dependency to 1.1.1
Bumping the startup dependency to include aosp/1855769.
RelNote: "Updated `lifecycle-process` to depend on [Startup 1.1.1](/jetpack/androidx/releases/startup#1.1.1) to ensure that fixes that prevent `ProcessLifecycleInitializer` from throwing a `StartupException` are available by default."
Bug: 216490724
Test: tested in sample app
Change-Id: Ib01dfbba1d63aa03e43e09ee8886cc76e1050e1b
M lifecycle/lifecycle-process/build.gradle
lb...@gmail.com <lb...@gmail.com> #10
This has been fixed internally and will be released in the Lifecycle 2.5.0-alpha02
release.
wd...@google.com <wd...@google.com> #11
When will start-up 1.1.1
release?
lb...@gmail.com <lb...@gmail.com> #12
It should be out before the end of the week.
wd...@google.com <wd...@google.com> #13
RE#12 I have uploaded a
lb...@gmail.com <lb...@gmail.com> #14
Have you tested it on all API versions, to make sure that it doesn't cause new issues, and also fixes the issue on other places in case it's there too?
wd...@google.com <wd...@google.com> #15
RE#14 This issue is for API 31+, I will check for API 32 and API 33. Thanks for reminding me.
lb...@gmail.com <lb...@gmail.com> #16
wd...@google.com <wd...@google.com>
lb...@gmail.com <lb...@gmail.com> #17
When will the fix be available?
wd...@google.com <wd...@google.com> #18
The fix has been merged in both 31 release and 32 release for since 05/2022.
lb...@gmail.com <lb...@gmail.com> #19
On which version ?
Description
1. Start emulator API 31.
2. On the "phone" page of "extended controls" window, choose "call device". Then end the call.
3. Try step 2 multiple times.
The bug is that eventually it will ignore pressing the button sometimes.
------------------
Studio Build:
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS:
Android Studio Bumblebee | 2021.1.1 Patch 3
Build #AI-211.7628.21.2111.8309675, built on March 16, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 8048M
Cores: 12
Registry: external.system.auto.import.disabled=true, ide.settings.move.mouse.on.default.button=true, debugger.watches.in.variables=false
Non-Bundled Plugins: GenerateSerialVersionUID (3.0.3), GenerateSerializationHelpers (1.0.6), Show As ... (1.0.3), com.dubreuia (2.2.0), com.github.beansoft.jadx.gui.idea (2021.2.1), com.intellij.marketplace (211.7628.36), String Manipulation (9.4.0), com.tabnine.TabNine (0.6.1), org.jetbrains.kotlin (211-1.6.21-release-334-AS7442.40), com.google.mad-scorecard (1.2), com.ppismerov.ksvu (0.0.1), net.aquadc.mike.plugin (0.22), izhangzhihao.rainbow.brackets (6.23), org.intellij.plugins.markdown (211.7142.37)