Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22902f54 authored by Matthew Williams's avatar Matthew Williams Committed by Android Git Automerger
Browse files

am bec23ea9: Merge "Preserve CTS fail behaviour on null bundle for old API" into klp-dev

* commit 'bec23ea9':
  Preserve CTS fail behaviour on null bundle for old API
parents e2b8bd72 bec23ea9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1745,6 +1745,9 @@ public abstract class ContentResolver {
     * @param extras any extras to pass to the SyncAdapter.
     */
    public static void requestSync(Account account, String authority, Bundle extras) {
        if (extras == null) {
            throw new IllegalArgumentException("Must specify extras.");
        }
        SyncRequest request =
            new SyncRequest.Builder()
                .setSyncAdapter(account, authority)