Loading
Update getOrCreateUserState to update if needed
Update the method getOrCreateUserStatedLocked to also have the option to update the UserState when fetching an existing UserState. This will avoid redundant calls to readInstalledPrintServicesLocked, readDisabledPrintServicesLocked, and readDisabledPrintServicesLocked when updateIfNeeded was called right after receiving the UserState object. Bug: 210740189 Test: atest FrameworksCoreTests Change-Id: Iaf28eda3530dfddbbe870219a7f17dab113ba3d0