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

Commit c92d11e3 authored by Gokul Swaminathan's avatar Gokul Swaminathan
Browse files

updated libs

parent 64245dfa
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -85,17 +85,17 @@ dependencies {
    implementation  'io.github.kobakei:ratethisapp:1.2.0'

    //Pdf Viewer Library (Proguard config done)
    implementation 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'
    implementation 'com.github.barteksc:android-pdf-viewer:3.1.0-beta.1'

    //Android Annotations Library (Proguard config not needed)
    compileOnly 'org.androidannotations:androidannotations:4.4.0'
    implementation 'org.androidannotations:androidannotations-api:4.4.0'
    compileOnly 'org.androidannotations:androidannotations:4.5.2'
    implementation 'org.androidannotations:androidannotations-api:4.5.2'

    //License Presenter Library (Proguard config not needed)
    implementation 'com.github.franmontiel:AttributionPresenter:1.0'
    implementation 'com.github.franmontiel:AttributionPresenter:1.0.1'

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

    //View for App Licence (Proguard config not needed)
    implementation 'com.jgabrielfreitas:licensetextview:1.1.2'
@@ -105,5 +105,4 @@ dependencies {

    //Circle Image View
    implementation 'de.hdodenhof:circleimageview:2.2.0'

}
+4 −0
Original line number Diff line number Diff line
@@ -190,4 +190,8 @@ public class AboutActivity extends AppCompatActivity {
    public void navToSourceCode(View v) {
        startActivity(Utils.linkIntent("https://github.com/JavaCafe01/TorchLight"));
    }

    public void showNotice(View v) {
        Utils.showNotice(this);
    }
}
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ public class LogFragment extends DialogFragment {
        return new AlertDialog.Builder(getActivity(), R.style.AppCompatAlertDialogStyle)
                .setTitle(R.string.appChangelog)
                .setView(chgList)
                .setIcon(R.drawable.log_icon)
                .setPositiveButton(R.string.ok,
                        new DialogInterface.OnClickListener() {
                            public void onClick(DialogInterface dialog, int whichButton) {
+5 −3
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
package com.gsnathan.pdfviewer;

import android.content.ActivityNotFoundException;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
@@ -37,6 +38,7 @@ import android.support.annotation.NonNull;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
@@ -76,7 +78,6 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        //setFullscreen(true);
        super.onCreate(savedInstanceState);
        onFirstInstall();
        onFirstUpdate();
@@ -85,9 +86,7 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen
        // Custom condition: 5 days and 5 launches
        RateThisApp.Config config = new RateThisApp.Config(5, 5);
        RateThisApp.init(config);
        // Monitor launch times and interval from installation
        RateThisApp.onCreate(this);
        // If the condition is satisfied, "Rate this app" dialog will be shown
        RateThisApp.showRateDialogIfNeeded(this);
    }

@@ -111,12 +110,15 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen
        if (isFirstRun)
        {
            showLog();
            Utils.showNotice(this);
            SharedPreferences.Editor editor = prefs.edit();
            editor.putBoolean(Utils.getAppVersion(), false);
            editor.apply();
        }
    }



    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        handleIntent(intent);
Loading