lets allow choosing both basic and advanced photo editor

This commit is contained in:
tibbi 2023-01-10 16:54:45 +01:00
parent 4405ce00c9
commit 01720dc655
3 changed files with 4 additions and 21 deletions

View file

@ -78,7 +78,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:05743ed1a5' implementation 'com.github.SimpleMobileTools:Simple-Commons:d7ae440d63'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24'

View file

@ -221,7 +221,7 @@
android:name=".activities.EditActivity" android:name=".activities.EditActivity"
android:configChanges="orientation" android:configChanges="orientation"
android:exported="true" android:exported="true"
android:label="@string/editor"> android:label="@string/basic_editor">
<intent-filter android:name="foss-editor"> <intent-filter android:name="foss-editor">

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.simplemobiletools.gallery.pro" package="com.simplemobiletools.gallery.pro"
android:installLocation="auto"> android:installLocation="auto">
@ -8,26 +7,10 @@
android:name=".App" android:name=".App"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<activity
android:name=".activities.EditActivity"
android:exported="true">
<intent-filter
android:name="foss-editor"
tools:node="remove">
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
<activity <activity
android:name=".activities.NewPhotoEditActivity" android:name=".activities.NewPhotoEditActivity"
android:exported="true" android:exported="true"
android:label="@string/editor"> android:label="@string/advanced_editor">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.EDIT" /> <action android:name="android.intent.action.EDIT" />
@ -41,7 +24,7 @@
<activity <activity
android:name=".activities.NewVideoEditActivity" android:name=".activities.NewVideoEditActivity"
android:exported="true" android:exported="true"
android:label="@string/editor"> android:label="@string/advanced_editor">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.EDIT" /> <action android:name="android.intent.action.EDIT" />