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
Loading
Please register or sign in to comment