Skip to content
  • Joaquim Rocha's avatar
    Don't recover the apps' state back to QUEUED_FOR_INSTALL · f762cd2f
    Joaquim Rocha authored and Richard Hughes's avatar Richard Hughes committed
    The AS_APP_STATE_QUEUED_FOR_INSTALL is a state that depends on usually
    temporary conditions, like not having a connection. So we shouldn't
    recover that state, otherwise, the following can happen:
    * there's no connection so an app gets queued for installation;
    * when the connection becomes available the app starts installing;
    * however if the user cancels the installation, the app will show up as
      queued for install.
    
    Thus, this patch prevents the mentioned state from being recovered.
    f762cd2f