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

Commit ca2c173f authored by Mohamed Magdi's avatar Mohamed Magdi Committed by Android (Google) Code Review
Browse files

Merge "Add permitDiskWrites for SliceProvider onBundSlice" into main

parents 70aaef37 2785e681
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -549,6 +549,7 @@ public abstract class SliceProvider extends ContentProvider {
        try {
            StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
                    .detectAll()
                    .permitDiskWrites()
                    .penaltyDeath()
                    .build());
            return onBindSlice(sliceUri, new ArraySet<>(supportedSpecs));