From b7a20c03a032e971fd7af54ad55eb5a91a08b9e0 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Tue, 26 Feb 2019 13:59:40 +0300 Subject: [PATCH 1/2] add tile support --- app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 9 +++ .../activities/RecordingActivity.java | 10 +++ .../audiorecorder/app/AudioApplication.java | 50 ++++++------- .../audiorecorder/services/TileService.java | 71 +++++++++++++++++++ app/src/main/res/values-de/strings.xml | 2 + app/src/main/res/values-el/strings.xml | 2 + app/src/main/res/values-es/strings.xml | 2 + app/src/main/res/values-fr/strings.xml | 2 + app/src/main/res/values-id/strings.xml | 2 + app/src/main/res/values-it/strings.xml | 2 + app/src/main/res/values-ja/strings.xml | 2 + app/src/main/res/values-pl/strings.xml | 2 + app/src/main/res/values-pt-rBR/strings.xml | 2 + app/src/main/res/values-ru/strings.xml | 2 + app/src/main/res/values-sk/strings.xml | 2 + app/src/main/res/values-tr/strings.xml | 2 + app/src/main/res/values-zh-rCH/strings.xml | 2 + app/src/main/res/values/strings.xml | 2 + 19 files changed, 139 insertions(+), 31 deletions(-) create mode 100644 app/src/main/java/com/github/axet/audiorecorder/services/TileService.java diff --git a/app/build.gradle b/app/build.gradle index 935ac3e..f3bbbda 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -52,5 +52,5 @@ android { dependencies { testImplementation 'junit:junit:4.12' - implementation 'com.github.axet:android-audio-library:1.0.148' // implementation project(':android-audio-library') + implementation 'com.github.axet:android-audio-library:1.0.149' // implementation project(':android-audio-library') } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7676eea..8b35467 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -22,6 +22,15 @@ android:supportsRtl="true" android:theme="@style/RecThemeLight"> + + + + + Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index b6b765c..d645809 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -65,4 +65,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index fab63fa..1297c34 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -71,4 +71,6 @@ Micro silenciado En Android Pie y posteriores, se está evitando que las aplicaciones en segundo plano utilicen el micrófono. Por favor, ¡desactive selinux o instale la versión anterior de Android! Micro pausado por el sistema, el tiempo de grabación es menor que la fecha grabada, revise si su dispositivo soporta grabación en segundo plano o ajuste la configuración actual. + Start Recording + Stop Recording diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 2c48180..a811fe8 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -71,4 +71,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index 7dcc162..f1a589c 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -71,4 +71,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index abbc863..6d71f1d 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -71,4 +71,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 1bcc3cc..10616db 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -71,4 +71,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 682778b..f526098 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -71,4 +71,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 0c5418c..2bb598e 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -71,4 +71,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 35c7a68..403fc2f 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -71,4 +71,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index 8d35509..83d6938 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -73,4 +73,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enougth for selected settings + Start Recording + Stop Recording diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 28892e5..dbf94e6 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -71,4 +71,6 @@ Mikrofon sessiz Android Pie ve üstü, boşta çalışan arka plan uygulamalarının mikrofon kullanmasını önler. Lütfen selinux\'u devre dışı bırakın veya önceki android sürümünü yükleyin! Mikrofon, işletim sistemi tarafından duraklatılmış. Kayıt süresi, kaydedilenden daha az. Cihazınızın arka plan kaydını desteklediğini veya seçilen ayarlar için yeterince hızlı olup olmadığını kontrol edin. + Start Recording + Stop Recording diff --git a/app/src/main/res/values-zh-rCH/strings.xml b/app/src/main/res/values-zh-rCH/strings.xml index 8a25100..c0f0283 100644 --- a/app/src/main/res/values-zh-rCH/strings.xml +++ b/app/src/main/res/values-zh-rCH/strings.xml @@ -71,4 +71,6 @@ 麦克风静音 Android Pie及以上版本可防止空闲后台应用使用麦克风。请禁用selinux或安装Android旧版本! 麦克风被占用,录制时间少于已录制数据,请确认您的设备是否支持后台录音,或调整当前设置。 + Start Recording + Stop Recording diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 04737a8..a8a47b4 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -71,4 +71,6 @@ Mic muted Android Pie and above prevent idle background apps from using microphone. Please disable selinux or install previous android version! Mic paused by OS, recording time is less then data recorded, check if you device supports background recording or it is fast enough for selected settings + Start Recording + Stop Recording From ec47fc69d6f2b9acf60a1c2b784840464e2ef3f3 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Tue, 26 Feb 2019 13:59:49 +0300 Subject: [PATCH 2/2] Bump version audiorecorder-3.2.57 --- app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index f3bbbda..a4e5e70 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "com.github.axet.audiorecorder" minSdkVersion 9 targetSdkVersion 26 - versionCode 314 - versionName "3.2.56" + versionCode 315 + versionName "3.2.57" } signingConfigs { release {