Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af36c0a8 authored by Gokul Swami's avatar Gokul Swami
Browse files

bug fixes for fdroid

parent 9805a1c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
      </value>
    </option>
  </component>
  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
    <output url="file://$PROJECT_DIR$/build/classes" />
  </component>
  <component name="ProjectType">
+3 −8
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ apply plugin: 'com.android.application'
android {

    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }

@@ -36,8 +37,8 @@ android {
        applicationId "com.gsnathan.pdfviewer"
        minSdkVersion 21
        targetSdkVersion 28
        versionCode 14
        versionName "2.3"
        versionCode 15
        versionName "2.4"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true

@@ -96,12 +97,6 @@ dependencies {
    //License Presenter Library (Proguard config not needed)
    implementation 'com.github.franmontiel:AttributionPresenter:1.0.1'

    //View for Privacy Policy (Proguard config not needed)
    implementation 'org.sufficientlysecure:html-textview:3.6'

    //View for App Licence (Proguard config not needed)
    implementation 'com.jgabrielfreitas:licensetextview:1.1.2'

    //Changelog Library (Proguard config not needed)
    implementation 'com.github.gabrielemariotti.changeloglib:changelog:2.1.0'

+0 −22
Original line number Diff line number Diff line
@@ -62,30 +62,8 @@
            android:label="@string/intro" />

        <!-- Privacy Policy -->
        <activity
            android:name=".PrivacyActivity"
            android:label="Privacy Policy"
            android:parentActivityName=".AboutActivity"
            android:theme="@style/Theme.Cyanea.Light.DarkActionBar">

            <!-- The meta-data tag is required if you support API level 15 and lower -->
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".AboutActivity" />
        </activity>

        <!-- License Page -->
        <activity
            android:name=".LicenseActivity"
            android:label="License"
            android:parentActivityName=".AboutActivity"
            android:theme="@style/Theme.Cyanea.Light.DarkActionBar">

            <!-- The meta-data tag is required if you support API level 15 and lower -->
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".AboutActivity" />
        </activity>
    </application>

</manifest>
 No newline at end of file
+4 −2
Original line number Diff line number Diff line
@@ -25,8 +25,10 @@
package com.gsnathan.pdfviewer;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import android.view.View;
import android.widget.TextView;

@@ -84,7 +86,7 @@ public class AboutActivity extends CyaneaAppCompatActivity {
    }

    public void showPrivacy(View v) {
        startActivity(Utils.navIntent(getApplicationContext(), PrivacyActivity.class));
        startActivity(Utils.linkIntent("https://github.com/JavaCafe01/PdfViewer/blob/master/privacy_policy.md"));
    }

    public void showMaterial(View v) {
@@ -92,7 +94,7 @@ public class AboutActivity extends CyaneaAppCompatActivity {
    }

    public void showLicense(View v) {
        startActivity(Utils.navIntent(getApplicationContext(), LicenseActivity.class));
        startActivity(Utils.linkIntent("https://github.com/JavaCafe01/PdfViewer/blob/master/LICENSE"));
    }

    public void showLibraries(View v) {
Loading