Use scheduleAsPackage.
Syncs are scheduled on behalf of apps, so use scheduleAsPackage() so that the sync jobs are properly attributed to the apps. Bug: 238764917 Test: atest CtsSyncManagerTestsCases Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/content Change-Id: I2a4f62e4a0c212cf361dd313a71d3629f992c081
Loading
Please register or sign in to comment