Changed behavior of DPMS.setLocationEnabled() for automotive.

It should only be ignored when it's called to disable location.

Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testSetLocationEnabled
Fixes: 186263875

Change-Id: I71a4d91196f15b6e13bc0e87290bc0a9418ef87d
2 files changed