The following information is from Android Developer's page. I like to understand What "O+" in the context below. Is it version like Oreo?
updateAppInfo
void updateAppInfo (Context context)
Updates application info based on currently installed splits.
Note #1: This method must be called after split is installed on O+ for instant apps, so that application components can see new resources and code from new splits.
Note #2: This method will update application info reference in application thread object.
Note #3: This method should only be called on O+.
Example usage:
// SplitInstallAPI callbacks public void onStateUpdate(SplitInstallSessionState splitInstallSessionState) { if (splitInstallSessionState.status() == SplitInstallSessionStatus.INSTALLED) { // Use SplitInstallHelper API on O+ to update application info after the splits are // installed. if (BuildCompat.isAtLeastO()) { // Updates app info with new split information making split artifacts available to the // app on subsequent requests. SplitInstallHelper.updateAppInfo(context); } } }