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

Commit 89852c14 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Prevent a crash on devices that remove non-core services"

parents b468877f 927bc7d7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1809,6 +1809,8 @@ public abstract class HardwareRenderer {
        @Override
        void initAtlas() {
            IBinder binder = ServiceManager.getService("assetatlas");
            if (binder == null) return;

            IAssetAtlas atlas = IAssetAtlas.Stub.asInterface(binder);
            try {
                GraphicBuffer buffer = atlas.getBuffer();