1
0
mirror of https://github.com/stom79/exodus-android-app synced 2025-01-31 09:54:56 +01:00

fix: add flag to retrieve permissions before go to next screen

This commit is contained in:
Benjamin Orsini 2019-05-29 17:40:51 +02:00
parent c0ee8bc183
commit e483ff64cb

View File

@ -167,7 +167,7 @@ public class ApplicationListAdapter extends RecyclerView.Adapter {
@Override
public void onClick(View v) {
try {
PackageInfo packageInfo = packageManager.getPackageInfo(holder.viewModel.packageName, 0);
PackageInfo packageInfo = packageManager.getPackageInfo(holder.viewModel.packageName, PackageManager.GET_PERMISSIONS);
onAppClickListener.onAppClick(packageInfo);
} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();