Merge "Add currentUiModeSupportsErrorDialogs() into ActivityTaskManager." into rvc-dev am: 6b74050d am: c92f564c Change-Id: If71c1ebc4b5983518afeb8931068bf5c04dff28b