Modern Apps git

← Modern-Apps.git

notes: open md files

Commit
466c27dd7d8e05449e9e1496cca2a3bf9642b4aa
Author
Vayun Mathur <[email protected]>
When
2026-07-11 14:36 UTC (4 months ago)
Parents
8e59ddd

Diff

notes/src/main/AndroidManifest.xml
diff --git a/notes/src/main/AndroidManifest.xml b/notes/src/main/AndroidManifest.xmlindex d3a5f83836..8c78d10f09 100644--- a/notes/src/main/AndroidManifest.xml+++ b/notes/src/main/AndroidManifest.xml@@ -23,6 +23,41 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>++            <!-- Open a Markdown file (e.g. tapping a shared .md) by its MIME type. -->+            <intent-filter>+                <action android:name="android.intent.action.VIEW" />+                <action android:name="android.intent.action.EDIT" />+                <category android:name="android.intent.category.DEFAULT" />+                <category android:name="android.intent.category.BROWSABLE" />+                <data android:mimeType="text/markdown" />+                <data android:mimeType="text/x-markdown" />+            </intent-filter>++            <!-- Receive a Markdown file shared from another app (ACTION_SEND). -->+            <intent-filter>+                <action android:name="android.intent.action.SEND" />+                <category android:name="android.intent.category.DEFAULT" />+                <data android:mimeType="text/markdown" />+                <data android:mimeType="text/x-markdown" />+            </intent-filter>++            <!-- Fallback: match the .md/.markdown extension when the file is+                 delivered with a generic MIME type (common on older devices+                 that don't map .md to text/markdown). -->+            <intent-filter>+                <action android:name="android.intent.action.VIEW" />+                <category android:name="android.intent.category.DEFAULT" />+                <category android:name="android.intent.category.BROWSABLE" />+                <data android:scheme="content" />+                <data android:scheme="file" />+                <data android:host="*" />+                <data android:mimeType="application/octet-stream" />+                <data android:pathSuffix=".md" />+                <data android:pathSuffix=".markdown" />+                <data android:pathPattern=".*\\.md" />+                <data android:pathPattern=".*\\.markdown" />+            </intent-filter>         </activity>          <activity
scratch/LiteRT-LM
diff --git a/scratch/LiteRT-LM b/scratch/LiteRT-LMnew file mode 160000index 0000000000..910fb268e2--- /dev/null+++ b/scratch/LiteRT-LM@@ -0,0 +1 @@+Subproject commit 910fb268e2376fd316b9761672425522fd432d61