Skip to content
Commit 366a7763 authored by Hui Yu's avatar Hui Yu
Browse files

BG-FGS-Launch restriction also checks for the caller's targetSdkVersion.

Previously BG-FGS-Launch checks for the service's targetSdkVersion S+
before we enabled the restriction.

Now we also check for the caller's targetSdkVersion S+.

Typically caller and the service are in the same package, but they could
be from different packages.

So both the caller and the service should be targetSdkVersion S+ before
the restriction is enabled.

Bug: 181355313
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java

Change-Id: Icb9313dc053c47e4e567d597ad80ab586352f1bb
parent ba659c0c
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