Fixed
Status Update
Comments
tr...@google.com <tr...@google.com>
al...@google.com <al...@google.com> #2
To reproduce the issue. Open a fragment for example then request permission. send the app to background, open it again from recent apps. it will crash with the above exception.
tr...@google.com <tr...@google.com> #3
IMPORTANT:
Please try
Studio Build: OS: Android Device model number & build number: Android SDK Platform Tools version: Attach the idea.log file via Help > Show Log in Finder.
Steps to Reproduce: 1. 2. 3.
al...@google.com <al...@google.com> #4
This has been fixed already in
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 07ff9477a2fd998662ebb11447b3a5291a6fd087
Author: Alan Viverette <alanv@google.com>
Date: Mon Dec 09 17:17:14 2019
Add support for multiple marker classes by migrating to Kotlin
Fixes: 145137892
Test: ExperimentalDetectorTest
Change-Id: I762a525bfc1e78aac4fa6458daa979b2fb3800e1
A annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/ExperimentalLocation.java
A annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/ExperimentalLocationKt.kt
A annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/LocationProvider.java
A annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/LocationProviderKt.kt
M annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/UseJavaExperimentalFromJava.java
M annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/UseJavaExperimentalFromKt.kt
M annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/UseJavaPackageFromKt.kt
M annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/UseKtExperimentalFromJava.java
M annotation/annotation-experimental-lint/src/main/java/androidx/annotation/experimental/lint/ExperimentalDetector.kt
M annotation/annotation-experimental-lint/src/test/kotlin/androidx/annotation/experimental/lint/ExperimentalDetectorTest.kt
A annotation/annotation-experimental/api/1.1.0-alpha01.ignore
M annotation/annotation-experimental/api/1.1.0-alpha01.txt
A annotation/annotation-experimental/api/api_lint.ignore
M annotation/annotation-experimental/api/current.txt
M annotation/annotation-experimental/api/public_plus_experimental_1.1.0-alpha01.txt
M annotation/annotation-experimental/api/public_plus_experimental_current.txt
A annotation/annotation-experimental/api/restricted_1.1.0-alpha01.ignore
M annotation/annotation-experimental/api/restricted_1.1.0-alpha01.txt
M annotation/annotation-experimental/api/restricted_current.txt
M annotation/annotation-experimental/build.gradle
M annotation/annotation-experimental/src/main/java/androidx/annotation/experimental/Experimental.kt
D annotation/annotation-experimental/src/main/java/androidx/annotation/experimental/UseExperimental.java
A annotation/annotation-experimental/src/main/java/androidx/annotation/experimental/UseExperimental.kt
https://android-review.googlesource.com/1185577
Branch: androidx-master-dev
commit 07ff9477a2fd998662ebb11447b3a5291a6fd087
Author: Alan Viverette <alanv@google.com>
Date: Mon Dec 09 17:17:14 2019
Add support for multiple marker classes by migrating to Kotlin
Fixes: 145137892
Test: ExperimentalDetectorTest
Change-Id: I762a525bfc1e78aac4fa6458daa979b2fb3800e1
A annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/ExperimentalLocation.java
A annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/ExperimentalLocationKt.kt
A annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/LocationProvider.java
A annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/LocationProviderKt.kt
M annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/UseJavaExperimentalFromJava.java
M annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/UseJavaExperimentalFromKt.kt
M annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/UseJavaPackageFromKt.kt
M annotation/annotation-experimental-lint/integration-tests/src/main/java/sample/UseKtExperimentalFromJava.java
M annotation/annotation-experimental-lint/src/main/java/androidx/annotation/experimental/lint/ExperimentalDetector.kt
M annotation/annotation-experimental-lint/src/test/kotlin/androidx/annotation/experimental/lint/ExperimentalDetectorTest.kt
A annotation/annotation-experimental/api/1.1.0-alpha01.ignore
M annotation/annotation-experimental/api/1.1.0-alpha01.txt
A annotation/annotation-experimental/api/api_lint.ignore
M annotation/annotation-experimental/api/current.txt
M annotation/annotation-experimental/api/public_plus_experimental_1.1.0-alpha01.txt
M annotation/annotation-experimental/api/public_plus_experimental_current.txt
A annotation/annotation-experimental/api/restricted_1.1.0-alpha01.ignore
M annotation/annotation-experimental/api/restricted_1.1.0-alpha01.txt
M annotation/annotation-experimental/api/restricted_current.txt
M annotation/annotation-experimental/build.gradle
M annotation/annotation-experimental/src/main/java/androidx/annotation/experimental/Experimental.kt
D annotation/annotation-experimental/src/main/java/androidx/annotation/experimental/UseExperimental.java
A annotation/annotation-experimental/src/main/java/androidx/annotation/experimental/UseExperimental.kt
Description
By comparison, the kotlin UseExperimental annotation takes a vararg markerClass argument which allows for multiple experimental APIs in the same scope.