Skip to content

Commit

Permalink
UPDATE: Update app label for app installation session when parsing is…
Browse files Browse the repository at this point in the history
… done, in case other party relies on that.
  • Loading branch information
oasisfeng committed Apr 2, 2021
1 parent 232a8f0 commit 14eddaa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ private boolean prepare() {

AppInstallerStatusReceiver.createCallback(this, install, mSessionId); // Sync AppInstallInfo by updating PendingIntent

getPackageManager().getPackageInstaller().updateSessionAppLabel(mSessionId, install.getAppLabel());
return Unit.INSTANCE;
});
} catch (final IOException e) { Log.w(TAG, "Error opening " + data, e); }
Expand Down

0 comments on commit 14eddaa

Please sign in to comment.