Fixed
Status Update
Comments
cc...@google.com <cc...@google.com> #2
Rahul, do we already have a bug for this? Didn't see it in the 1.1 list, you can dupe if so.
ra...@google.com <ra...@google.com> #3
It's not just androidx.profileinstaller
. Its also the version of the profile metadata, which will require an AGP update.
We should be able to tell the difference in both.
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit d6b85108200266bb6a5e963c284fc0d7b13255bd
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Wed Feb 09 10:01:14 2022
Profile Installer now throws a helpful error when trying to use Metadata 001 for V015 profiles.
Test: Added unit tests.
Bug: b/217502387
Change-Id: I72b22f0cb091c8b07aae42d333cbda0d9e8cee9f
M profileinstaller/profileinstaller/src/main/java/androidx/profileinstaller/DeviceProfileWriter.java
M profileinstaller/profileinstaller/src/main/java/androidx/profileinstaller/ProfileTranscoder.java
M profileinstaller/profileinstaller/src/test/java/androidx/profileinstaller/ProfileTranscoderTests.java
https://android-review.googlesource.com/1978526
Branch: androidx-main
commit d6b85108200266bb6a5e963c284fc0d7b13255bd
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Wed Feb 09 10:01:14 2022
Profile Installer now throws a helpful error when trying to use Metadata 001 for V015 profiles.
Test: Added unit tests.
Bug:
Change-Id: I72b22f0cb091c8b07aae42d333cbda0d9e8cee9f
M profileinstaller/profileinstaller/src/main/java/androidx/profileinstaller/DeviceProfileWriter.java
M profileinstaller/profileinstaller/src/main/java/androidx/profileinstaller/ProfileTranscoder.java
M profileinstaller/profileinstaller/src/test/java/androidx/profileinstaller/ProfileTranscoderTests.java
Description
Version used: 1.1.0-beta01
Devices/Android versions reproduced on: Android 12 (any)
CompilationMode.Partial
fails (even withBaselineProfilesMode.Disabled
) when ProfileInstaller is added to the dependencies.Currently the exception says
Baseline profiles aren't supported on this device version
which is not true.Better error message would be handy to guide developers to add newer version of
ProfileInstaller
, because a library may add it silently which may be confusing (compose.ui has it in dependencies).