|
|
@@ -237,7 +237,7 @@ public class VersionUpgradeFragment extends BaseFragment implements ProgressResp
|
|
|
Intent intent = new Intent(Intent.ACTION_VIEW);
|
|
|
if (Build.VERSION.SDK_INT >= 24) {
|
|
|
Uri apkUri = FileProvider.getUriForFile(mActivity,
|
|
|
- "erp.erp.punaier_wms.fileprovider", apk);
|
|
|
+ "uas.erp.punaier_wms.fileprovider", apk);
|
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
|
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
|
|
intent.setDataAndType(apkUri, "application/vnd.android.package-archive");
|