mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -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);
|
(MARKET_INTENT, 0);
|
||||||
for (ResolveInfo resolveInfo : resInfo) {
|
for (ResolveInfo resolveInfo : resInfo) {
|
||||||
Intent marketIntent = new Intent(MARKET_INTENT);
|
Intent marketIntent = new Intent(MARKET_INTENT);
|
||||||
intent.setPackage(resolveInfo.activityInfo.packageName);
|
marketIntent.setPackage(resolveInfo.activityInfo.packageName);
|
||||||
Drawable icon = resolveInfo.activityInfo.loadIcon(getContext().getPackageManager());
|
Drawable icon = resolveInfo.activityInfo.loadIcon(getContext().getPackageManager());
|
||||||
String marketName = String.valueOf(resolveInfo.activityInfo.applicationInfo
|
String marketName = String.valueOf(resolveInfo.activityInfo.applicationInfo
|
||||||
.loadLabel(getContext().getPackageManager()));
|
.loadLabel(getContext().getPackageManager()));
|
||||||
|
Loading…
Reference in New Issue
Block a user