Skip to content
Commit af6196d5 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Do not allow FGS starts from sync

When requestSync() is called by a TOP app, we put grant the sync adapter
app temp-allowlist of 10 minutes.

We need to keep this behavior, but we shouldn't allow FGS to be started
in this window.

Fix: 178233289
Test: atest CtsSyncManagerTestsCases
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java

BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing public API.

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