Fixed
Status Update
Comments
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
Seems that this issue will never be fixed as google has marked the multiple duplicates as `wont fix`.
pr...@google.com <pr...@google.com> #3
Adding the following block in Support4Demos.onCreate:
ViewCompat.addOnUnhandledKeyEventListener(getListView(),
new ViewCompat.OnUnhandledKeyEventListenerCompat() {
@Override
public boolean onUnhandledKeyEvent(View v, KeyEvent event) {
return false;
}
});
produces:
04-28 17:40:41.523 4608-4608/com.example.android.supportv4 I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>
04-28 17:40:41.524 4608-4608/com.example.android.supportv4 I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>
on a Nexus 6 API 23 emulator before the CL, and no such message with the CL
Description
AndroidX core features the
androidx.core.os.CancellationSignal
type which backported theandroid.os.CancellationSignal
type to API levels prior to 16. Now that the minimum supported API level of the AndroidX libraries is 19, this type can be deprecated.However, it's not just that simple because this type is used in the public API elsewhere. Those usages should be migrated to accept the framework version before the AndroidX type is deprecated.
Fromhttps://android-review.googlesource.com/c/platform/frameworks/support/+/2816836/comment/2fce6759_bb364691/