From d8e4b222631dd0b93cb01e5e50f255773b4b5028 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Sat, 8 Apr 2017 18:42:41 +0300 Subject: [PATCH 1/2] drop indexing --- app/build.gradle | 2 +- .../activities/MainActivity.java | 42 ------------------- 2 files changed, 1 insertion(+), 43 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 917de49..45e7ff2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -43,5 +43,5 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' - compile 'com.github.axet:android-audio-library:0.0.21' // compile project(':android-audio-library') + compile 'com.github.axet:android-audio-library:0.0.22' // compile project(':android-audio-library') } diff --git a/app/src/main/java/com/github/axet/audiorecorder/activities/MainActivity.java b/app/src/main/java/com/github/axet/audiorecorder/activities/MainActivity.java index fc5895d..a4269e8 100644 --- a/app/src/main/java/com/github/axet/audiorecorder/activities/MainActivity.java +++ b/app/src/main/java/com/github/axet/audiorecorder/activities/MainActivity.java @@ -28,9 +28,6 @@ import com.github.axet.audiolibrary.app.Recordings; import com.github.axet.audiolibrary.app.Storage; import com.github.axet.audiorecorder.R; import com.github.axet.audiorecorder.app.MainApplication; -import com.google.android.gms.appindexing.Action; -import com.google.android.gms.appindexing.AppIndex; -import com.google.android.gms.common.api.GoogleApiClient; import java.io.File; import java.util.Collections; @@ -38,11 +35,6 @@ import java.util.Collections; public class MainActivity extends AppCompatActivity { public final static String TAG = MainActivity.class.getSimpleName(); - /** - * ATTENTION: This was auto-generated to implement the App Indexing API. - * See https://g.co/AppIndexing/AndroidStudio for more information. - */ - private GoogleApiClient client; FloatingActionButton fab; Handler handler = new Handler(); @@ -77,10 +69,6 @@ public class MainActivity extends AppCompatActivity { storage = new Storage(this); - // ATTENTION: This was auto-generated to implement the App Indexing API. - // See https://g.co/AppIndexing/AndroidStudio for more information. - client = new GoogleApiClient.Builder(this).addApi(AppIndex.API).build(); - Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); @@ -250,42 +238,12 @@ public class MainActivity extends AppCompatActivity { @Override public void onStart() { super.onStart(); - - // ATTENTION: This was auto-generated to implement the App Indexing API. - // See https://g.co/AppIndexing/AndroidStudio for more information. - client.connect(); - Action viewAction = Action.newAction( - Action.TYPE_VIEW, // TODO: choose an action type. - "Main Page", // TODO: Define a title for the content shown. - // TODO: If you have web page content that matches this app activity's content, - // make sure this auto-generated web page URL is correct. - // Otherwise, set the URL to null. - Uri.parse("http://host/path"), - // TODO: Make sure this auto-generated app deep link URI is correct. - Uri.parse("android-app://com.github.axet.audiorecorder/http/host/path") - ); - AppIndex.AppIndexApi.start(client, viewAction); } @Override public void onStop() { super.onStop(); - - // ATTENTION: This was auto-generated to implement the App Indexing API. - // See https://g.co/AppIndexing/AndroidStudio for more information. - Action viewAction = Action.newAction( - Action.TYPE_VIEW, // TODO: choose an action type. - "Main Page", // TODO: Define a title for the content shown. - // TODO: If you have web page content that matches this app activity's content, - // make sure this auto-generated web page URL is correct. - // Otherwise, set the URL to null. - Uri.parse("http://host/path"), - // TODO: Make sure this auto-generated app deep link URI is correct. - Uri.parse("android-app://com.github.axet.audiorecorder/http/host/path") - ); - AppIndex.AppIndexApi.end(client, viewAction); - client.disconnect(); } void updateHeader() { From 42aec9a33223cb19d2e16d4b0ab4d5deaca697b3 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Sat, 8 Apr 2017 18:42:48 +0300 Subject: [PATCH 2/2] Bump version audiorecorder-1.4.20 --- app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 45e7ff2..aa4cbbd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "com.github.axet.audiorecorder" minSdkVersion 9 targetSdkVersion 23 - versionCode 121 - versionName "1.4.19" + versionCode 122 + versionName "1.4.20" } signingConfigs { release {