diff options
author | Marcos Marado <mmarado@cyngn.com> | 2016-07-28 10:54:10 +0100 |
---|---|---|
committer | Marcos Marado <mmarado@cyngn.com> | 2016-07-28 05:55:47 -0700 |
commit | 838da4a1db8cdb4526e8532f5dc271cd0aa27b44 (patch) | |
tree | 3940e5096458df3713ac6d4ea862123142e1dbe2 | |
parent | 80bd5e6284f38e7e2ccdf8cb43481f627cbfdf10 (diff) | |
download | android_packages_apps_Bluetooth-838da4a1db8cdb4526e8532f5dc271cd0aa27b44.tar.gz android_packages_apps_Bluetooth-838da4a1db8cdb4526e8532f5dc271cd0aa27b44.tar.bz2 android_packages_apps_Bluetooth-838da4a1db8cdb4526e8532f5dc271cd0aa27b44.zip |
Add epub to the list of filetypes to get and send
Since we do allow to send and receive PDF files via bluetooth, I don't
see a reason why can't we do exactly the same for epub files.
Change-Id: I10b7182ce1b6c36b693065de1e8bc61a90912d98
-rw-r--r-- | AndroidManifest.xml | 1 | ||||
-rw-r--r-- | src/com/android/bluetooth/opp/Constants.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9b21ceec0..bb6acf5fa 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -168,6 +168,7 @@ <data android:mimeType="application/vnd.android.package-archive" /> <data android:mimeType="application/vnd.ms-powerpoint" /> <data android:mimeType="application/pdf" /> + <data android:mimeType="application/epub+zip" /> <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> diff --git a/src/com/android/bluetooth/opp/Constants.java b/src/com/android/bluetooth/opp/Constants.java index 096268895..3a39dfc2c 100644 --- a/src/com/android/bluetooth/opp/Constants.java +++ b/src/com/android/bluetooth/opp/Constants.java @@ -222,6 +222,7 @@ public class Constants { "application/msword", "application/vnd.ms-powerpoint", "application/pdf", + "application/epub+zip", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.presentationml.presentation", |