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

Commit a81a8a09 authored by d34d's avatar d34d Committed by Gerrit Code Review
Browse files

Themes: Use mRealPackage, when available, for idmapping

Some packages replace existing apps and take on their package name,
i.e. com.cyanogenmod.trebuchet -> com.android.launcher3.  When this
happens pkg.packageName becomes the name of the package it is
overriding and mRealPackage will be the original package name.

Because it is possible for the resources in the new package to not
match up with the package it replaced, we need to perform the idmap
using the original package name.

Change-Id: Ic22c7005274ae5c4ea29d9a4b29f9b9f40719e68
parent 49537d12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment