public long getPackageRestoreToken(String packageName) {
    Long token = serviceState.restoredPackages.get(packageName);
    return token != null ? token : 0L;
  }
public long getPackageRestoreToken(String packageName) {
    Long token = serviceState.restoredPackages.get(packageName);
    return token != null ? token : 0L;
  }
public long getPackageRestoreToken ( String packageName ) { Long token = serviceState . restoredPackages . get ( packageName ) ; return token != null ? token : 0L ; }
Returns the restore token for the given package, or {@code 0} if the package was not restored.
Returns the restore token for the given package or {