mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Always log if Package is missing while loading default workspace
Change-Id: I7f2e5a9aabdf1fc192ad7912aaefa3f41c059ff1
This commit is contained in:
@@ -355,7 +355,7 @@ public class AutoInstallsLayout {
|
||||
return addShortcut(info.loadLabel(mPackageManager).toString(),
|
||||
intent, Favorites.ITEM_TYPE_APPLICATION);
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
if (LOGD) Log.w(TAG, "Unable to add favorite: " + packageName + "/" + className, e);
|
||||
Log.e(TAG, "Unable to add favorite: " + packageName + "/" + className, e);
|
||||
}
|
||||
return -1;
|
||||
} else {
|
||||
@@ -367,7 +367,7 @@ public class AutoInstallsLayout {
|
||||
* Helper method to allow extending the parser capabilities
|
||||
*/
|
||||
protected long invalidPackageOrClass(XmlResourceParser parser) {
|
||||
if (LOGD) Log.d(TAG, "Skipping invalid <favorite> with no component");
|
||||
Log.w(TAG, "Skipping invalid <favorite> with no component");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user