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

Commit cecbe073 authored by Romain Guy's avatar Romain Guy
Browse files

Put generated/compiled graphics code in getCodeCacheDir()

A refactoring introduced a slight regression that caused compiled
shaders to be cached in the wrong directory.

Bug: 63813783
Test: Manual
Change-Id: I863e584ff1df4cda9242c64afd643a899023ee1c
parent 19821880
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5413,8 +5413,8 @@ public final class ActivityThread {
                    int uid = Process.myUid();
                    String[] packages = getPackageManager().getPackagesForUid(uid);
                    if (packages != null) {
                        ThreadedRenderer.setupDiskCache(cacheDir);
                        RenderScriptCacheDir.setupDiskCache(cacheDir);
                        ThreadedRenderer.setupDiskCache(codeCacheDir);
                        RenderScriptCacheDir.setupDiskCache(codeCacheDir);
                    }
                } catch (RemoteException e) {
                    Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER);