Rework the location navigation flow

By creating the LocationSettingsActivity, when we entered the Location
settings via Google Settings, we can go back to Google Settings instead
of coming back to Car Settings

Bug: 127734727
Test: manual
Change-Id: I6e9e10fab345c3dd8fbe8d4f5ce316716ba0cbae
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ee56b77..15a9ee8 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -129,11 +129,6 @@
             </intent-filter>
 
             <intent-filter android:priority="100">
-                <action android:name="android.settings.LOCATION_SOURCE_SETTINGS" />
-                <category android:name="android.intent.category.DEFAULT" />
-            </intent-filter>
-
-            <intent-filter android:priority="100">
                 <action android:name="android.settings.LOCATION_SCANNING_SETTINGS" />
                 <category android:name="android.intent.category.DEFAULT"/>
             </intent-filter>
@@ -293,6 +288,17 @@
             </intent-filter>
         </activity>
 
+        <activity android:name=".location.LocationSettingsActivity"
+                  android:configChanges="orientation|keyboardHidden|screenSize"
+                  android:windowSoftInputMode="adjustResize"
+                  android:exported="true">
+            <intent-filter>
+                <action android:name="android.settings.LOCATION_SOURCE_SETTINGS" />
+                <category android:name="android.intent.category.DEFAULT" />
+            </intent-filter>
+            <meta-data android:name="distractionOptimized" android:value="true"/>
+        </activity>
+
         <!-- This logic is copied from phone.-->
         <!-- Ensures there's lightweight fallback activity when no other MAIN/HOME activity is present.-->
         <activity android:name=".FallbackHome"