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

Commit 9a8386a8 authored by Rakesh Iyer's avatar Rakesh Iyer
Browse files

Fix crash in CarNavigationBarController.

Typo resulted in the wrong key being used to query a map,
causing a NPE.

Bug: 27880811
Change-Id: I357f4869f4e212466d4eef16d5090e1c90a55b4c
parent ada2c872
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ class CarNavigationBarController {

        String category = getPackageCategory(packageName);
        if (mFacetCategoryMap.containsKey(category)) {
            int index = mFacetCategoryMap.get(packageName);
            int index = mFacetCategoryMap.get(category);
            mFacetHasMultipleAppsCache.put(index, facetHasMultiplePackages(index));
        }
    }