mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 09:01:55 +01:00
Use FileInstallerActivity in OpenFwAppInstallerActivity
This commit is contained in:
parent
0c876f2c86
commit
3f10a89594
@ -83,7 +83,7 @@ public class OpenFwAppInstallerActivity extends AbstractGBActivity {
|
||||
public void onActivityResult(int requestCode, int resultCode, Intent resultData) {
|
||||
super.onActivityResult(requestCode, resultCode, resultData);
|
||||
if (requestCode == READ_REQUEST_CODE && resultCode == Activity.RESULT_OK) {
|
||||
Intent startIntent = new Intent(OpenFwAppInstallerActivity.this, FwAppInstallerActivity.class);
|
||||
Intent startIntent = new Intent(OpenFwAppInstallerActivity.this, FileInstallerActivity.class);
|
||||
startIntent.putExtra(GBDevice.EXTRA_DEVICE, device);
|
||||
startIntent.setAction(Intent.ACTION_VIEW);
|
||||
startIntent.setDataAndType(resultData.getData(), null);
|
||||
|
Loading…
Reference in New Issue
Block a user