Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a6d3a338 authored by Christoffer Adamsen's avatar Christoffer Adamsen
Browse files

Remove stale profile from CredentialManager

This fixes a build failure that arise due to the fact that ART (profman) does not correctly handle profiles that contains a method descriptor where the method's class in the dex does not have any class data (neither fields nor methods).

This issue was fixed by aosp/3047152, but there is a checked in profman binary on some build targets (e.g., barbet-ap2a-userdebug), which does not have the fix.

The underlying issue is that the baseline profile of CredentialManager does not match the optimized dex created by R8. As a result of R8 optimizations, it is possible that there is a line "Lfoo/bar/Baz;->m()V" in the baseline profile and that the class foo.bar.Baz does not have any fields or methods after running R8, which triggers this build failure.

This is an issue in the build system and is tracked by b/335418838.

Bug: 335809645
Bug: 335777227
Bug: 335418838
Bug: 335209102
Test: manual

Change-Id: I8a44b1ec99bad8e9461c1a2a371f19de14f402aa
parent 1bd43fbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment