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

Commit 8b65ff09 authored by Ricky Wai's avatar Ricky Wai Committed by Android (Google) Code Review
Browse files

Merge "Do not use default locale to create file path"

parents 0b06c341 9d83d351
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4532,9 +4532,10 @@ class StorageManagerService extends IStorageManager.Stub
                        ServiceManager.getServiceOrThrow("vold"));
                for (String pkg : packageList) {
                    final String packageObbDir =
                            String.format("/storage/emulated/%d/Android/obb/%s/", userId, pkg);
                            String.format(Locale.US, "/storage/emulated/%d/Android/obb/%s/",
                                    userId, pkg);
                    final String packageDataDir =
                            String.format("/storage/emulated/%d/Android/data/%s/",
                            String.format(Locale.US, "/storage/emulated/%d/Android/data/%s/",
                                    userId, pkg);

                    // Create package obb and data dir if it doesn't exist.