Merge "Throw RuntimeException when looper is not prepared for deprecated API" into main