Merge "Instead of posponing state change until onResume, applying the state change directly in onCreate and onNewIntent()" into ub-launcher3-master