Merge "Switch permission device tests to androidx flaky annotation." into main