Remove the code flow that is applicable to apps with higher target sdk

Remove the if condition code block which is executed for apps with
targetsdk greater than Android R.

Bug: 218643175
Test: atest com.android.cts.appcompat.CompatChangesValidConfigTest#testDeviceContainsExpectedConfig
Change-Id: I412629465b363be6e1eae09d2f7c50c58663e6e3
Merged-In: I52481b24b137790d49845f1a4b00978c63ed183b
(cherry picked from commit 20623a18c36bc2f6df653b05703edd4a7f1f774f)
1 file changed