Skip to content

Commit 7652bf3

Browse files
committed
Add Android ClipSync input method
1 parent f7aef90 commit 7652bf3

4 files changed

Lines changed: 893 additions & 0 deletions

File tree

clipSync-android/app/src/main/AndroidManifest.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@
4747
android:exported="false"
4848
android:foregroundServiceType="dataSync" />
4949

50+
<service
51+
android:name=".ime.ClipSyncInputMethodService"
52+
android:enabled="true"
53+
android:exported="true"
54+
android:label="@string/ime_service_name"
55+
android:permission="android.permission.BIND_INPUT_METHOD">
56+
<intent-filter>
57+
<action android:name="android.view.InputMethod" />
58+
</intent-filter>
59+
60+
<meta-data
61+
android:name="android.view.im"
62+
android:resource="@xml/clipsync_input_method" />
63+
</service>
64+
5065
<!-- Boot receiver to start service on device boot -->
5166
<receiver
5267
android:name=".service.BootReceiver"

0 commit comments

Comments
 (0)