diff options
| author | 2024-01-25 03:52:31 +0000 | |
|---|---|---|
| committer | 2024-01-25 04:36:16 +0000 | |
| commit | 16e64b58ad7de29df957026e0be0c8f65b4c3b36 (patch) | |
| tree | 9dd7252f445d37d155f5ac6036355445dd41a2d1 /libs/androidfw/FileStream.cpp | |
| parent | c96387d3ce4d216956a0bd8b63ad766725aa0698 (diff) | |
Fix abort logic
When the caller and real caller both are allowed to do BAL, but bothe
neither opt-in not opt-out, it is not sufficient to just check the
caller's BAL status. The caller can target a higher SDK and be opted
outby default and the real caller can target a lower SDK and be opted-in
by default. This is a constallation that was not checked and caused an
BAL block verdict.
The new logic now handles ALL opt-in cases first and separatley logs the
case where an opt-in might be missing.
Test: atest BackgroundActivityLaunchTests
Bug: 322241058
Change-Id: I9d9c8d48b4b9c8b275f067eba5cbc0a21cd7fc5e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions