mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Fix binding of install intents to package
This commit is contained in:
parent
7bbfd9d446
commit
a2544fb2b0
@ -96,7 +96,7 @@ public class OpenPgpListPreference extends DialogPreference {
|
||||
(MARKET_INTENT, 0);
|
||||
for (ResolveInfo resolveInfo : resInfo) {
|
||||
Intent marketIntent = new Intent(MARKET_INTENT);
|
||||
intent.setPackage(resolveInfo.activityInfo.packageName);
|
||||
marketIntent.setPackage(resolveInfo.activityInfo.packageName);
|
||||
Drawable icon = resolveInfo.activityInfo.loadIcon(getContext().getPackageManager());
|
||||
String marketName = String.valueOf(resolveInfo.activityInfo.applicationInfo
|
||||
.loadLabel(getContext().getPackageManager()));
|
||||
|
Loading…
Reference in New Issue
Block a user