Skip to content

Commit

Permalink
fix(android): crashing on notifyDownload inifinite stack recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed May 9, 2022
1 parent 2725f01 commit b93eeed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void load() {
this.implementation = new CapacitorUpdater(this.getContext()) {
@Override
public void notifyDownload(final int percent) {
this.notifyDownload(percent);
CapacitorUpdaterPlugin.this.notifyDownload(percent);
}
};
final PackageInfo pInfo = this.getContext().getPackageManager().getPackageInfo(this.getContext().getPackageName(), 0);
Expand Down

0 comments on commit b93eeed

Please sign in to comment.