InputSettings: Physical keyboard settings activity.

This CL adds functionality to trigger the "Physical keyboard"
settings screen via an intent.

Bug: 26943892
Change-Id: Ib4a0be38f94f83672501d5312079d132b2ab717d
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 6d0be05..7ace9c8 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -630,10 +630,21 @@
         </activity>
 
         <activity android:name="Settings$KeyboardLayoutPickerActivity"
-                android:label="@string/keyboard_layout_picker_title"
-                android:clearTaskOnLaunch="true">
+            android:label="@string/keyboard_layout_picker_title"
+            android:clearTaskOnLaunch="true">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.DEFAULT" />
+            </intent-filter>
+            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+                android:value="com.android.settings.inputmethod.KeyboardLayoutPickerFragment2" />
+        </activity>
+
+        <activity android:name="Settings$PhysicalKeyboardActivity"
+            android:label="@string/physical_keyboard_category"
+            android:clearTaskOnLaunch="true">
             <intent-filter android:priority="1">
-                <action android:name="android.settings.KEYBOARD_LAYOUT_SETTINGS" />
+                <action android:name="android.settings.HARD_KEYBOARD_SETTINGS" />
                 <category android:name="android.intent.category.DEFAULT" />
             </intent-filter>
             <intent-filter>
@@ -641,7 +652,7 @@
                 <category android:name="android.intent.category.DEFAULT" />
             </intent-filter>
             <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
-                android:value="com.android.settings.inputmethod.KeyboardLayoutPickerFragment2" />
+                android:value="com.android.settings.inputmethod.PhysicalKeyboardFragment" />
         </activity>
 
         <!-- Keep compatibility with old shortcuts. -->