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

Commit 4bc12dc5 authored by Wei Li's avatar Wei Li
Browse files

Change the logic of checking if open source notice should be displayed

For APKs embedded in a APEX there are no install files and noticeindex.InstallPaths() returns empty list. So instead of checking hash of opensourcerequest in license hashes of install paths we check it in all license hashes of a module and its transitive dependencies.

Bug: 418865751
Test: presubmits
Test: ALWAYS_EMBED_NOTICES=true m GooglePermissionController, NOTICE.html.gz in GooglePermissionController.apk should contain the open source request
Test: ALWAYS_EMBED_NOTICES=true m com.google.android.permission, NOTICE.html.gz in the embedded GooglePermissionController.apk should contain the open source request
Change-Id: I81fbaf9f35ff643a2b00487cd92e40a27feafa14
parent f41ecaec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment