Merge changes Iabff024e,I42365b36 into main

* changes:
  Use background thread instead of main thread for FocusedDisplayRepository
  Add clarification comment to TaskInfo#isFocused