Skip to content

Commit

Permalink
#14: add support for android.media.action.VIDEO_CAPTURE IMAGE_CAPTURE…
Browse files Browse the repository at this point in the history
… IMAGE_CAPTURE_SECURE
  • Loading branch information
k3b committed Aug 8, 2021
1 parent 3ca6ebb commit 8de5049
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ android {
// 3.0.1 (301) 2017-09-30 merged changes from "codebymikey": intercepting media links; quick previews of Bundle and array object entries
// 3.0.2 (302) 2019-05-21 added action com.android.camera.action.CROP
// 4.0.0 (400) 2021-05-27. Dropped android-2.1-4.1 Support. Works with Android 4.2 and newer (including android-10)
versionCode 400
versionName "4.0.0"
// 4.0.1 (401) 2021-08-08. added android.media.action.VIDEO_CAPTURE IMAGE_CAPTURE IMAGE_CAPTURE_SECURE
versionCode 401
versionName "4.0.1"
}
buildTypes {
release {
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<action android:name="android.intent.action.GET_CONTENT" />
<action android:name="android.intent.action.INSERT" />
<action android:name="com.android.camera.action.REVIEW" /><!-- Used by camera to view photo taken -->
<action android:name="android.media.action.VIDEO_CAPTURE" />
<action android:name="android.media.action.IMAGE_CAPTURE" />
<action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
Expand Down Expand Up @@ -132,6 +135,9 @@

<intent-filter android:label="@string/intent_filter_label">
<action android:name="android.intent.action.PICK" />
<action android:name="android.media.action.VIDEO_CAPTURE" />
<action android:name="android.media.action.IMAGE_CAPTURE" />
<action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />

<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Expand Down

0 comments on commit 8de5049

Please sign in to comment.