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

Commit 16af3691 authored by Deepanshu Gupta's avatar Deepanshu Gupta
Browse files

Fix bug to render status bar icons

Change-Id: I653c765105dafb02e30322384ca8e4791ac185d2
parent e1d04d54
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -128,9 +128,10 @@ abstract class CustomBar extends LinearLayout {
        if (mSimulatedPlatformVersion == 0) {
        if (mSimulatedPlatformVersion == 0) {
            String path = pathOut[0];
            String path = pathOut[0];
            String dirName = path.substring(0, path.lastIndexOf('/'));
            String dirName = path.substring(0, path.lastIndexOf('/'));
            pathOut[0] = dirName + "-v21" + "/" + iconName;
            path = dirName + "-v21" + "/" + iconName;
            InputStream stream = getClass().getResourceAsStream(pathOut[0]);
            InputStream stream = getClass().getResourceAsStream(path);
            if (stream != null) {
            if (stream != null) {
                pathOut[0] = path;
                return stream;
                return stream;
            }
            }
        }
        }