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

Commit d8ef316f authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android Git Automerger
Browse files

am 91977396: Merge "Fix bug to render status bar icons" into lmp-preview-dev

* commit '9197739603eb34df6cbc85c6a7fa0ea359e4776b':
  Fix bug to render status bar icons
parents 09348a10 b0419c8c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -128,9 +128,10 @@ abstract class CustomBar extends LinearLayout {
        if (mSimulatedPlatformVersion == 0) {
            String path = pathOut[0];
            String dirName = path.substring(0, path.lastIndexOf('/'));
            pathOut[0] = dirName + "-v21" + "/" + iconName;
            InputStream stream = getClass().getResourceAsStream(pathOut[0]);
            path = dirName + "-v21" + "/" + iconName;
            InputStream stream = getClass().getResourceAsStream(path);
            if (stream != null) {
                pathOut[0] = path;
                return stream;
            }
        }