Release 2.35.4
This commit is contained in:
parent
024926c736
commit
2d29323cc2
|
@ -128,7 +128,7 @@ dependencies {
|
||||||
implementation 'com.github.penfeizhou.android.animation:glide-plugin:2.2.0'
|
implementation 'com.github.penfeizhou.android.animation:glide-plugin:2.2.0'
|
||||||
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
|
||||||
implementation 'com.github.smarteist:autoimageslider:1.3.2'
|
implementation 'com.github.smarteist:autoimageslider:1.3.2'
|
||||||
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.2'
|
//debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.2'
|
||||||
implementation 'com.jaredrummler:cyanea:1.0.2'
|
implementation 'com.jaredrummler:cyanea:1.0.2'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
Added:
|
Added:
|
||||||
- 100 Mo of cache for videos (can be changed in settings)
|
- 100 Mb of cache for videos (can be changed in settings)
|
||||||
|
- Bibliogram support (default: disabled)
|
||||||
- Ouiches support for audio
|
- Ouiches support for audio
|
||||||
|
|
||||||
Changed:
|
Changed:
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class BaseActivity extends CyaneaAppCompatActivity {
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
|
||||||
if (BuildConfig.DEBUG) {
|
/*if (BuildConfig.DEBUG) {
|
||||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
|
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
|
||||||
.detectDiskReads()
|
.detectDiskReads()
|
||||||
.detectDiskWrites()
|
.detectDiskWrites()
|
||||||
|
@ -67,7 +67,7 @@ public class BaseActivity extends CyaneaAppCompatActivity {
|
||||||
.penaltyLog()
|
.penaltyLog()
|
||||||
// .penaltyDeath()
|
// .penaltyDeath()
|
||||||
.build());
|
.build());
|
||||||
}
|
}*/
|
||||||
canShowActionMode = true;
|
canShowActionMode = true;
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,11 @@ public class LiveNotificationDelayedService extends Service {
|
||||||
.setContentTitle(getString(R.string.top_notification))
|
.setContentTitle(getString(R.string.top_notification))
|
||||||
.setSmallIcon(getNotificationIcon(LiveNotificationDelayedService.this))
|
.setSmallIcon(getNotificationIcon(LiveNotificationDelayedService.this))
|
||||||
.setContentText(getString(R.string.top_notification_message, String.valueOf(totalAccount), String.valueOf(eventsCount))).build();
|
.setContentText(getString(R.string.top_notification_message, String.valueOf(totalAccount), String.valueOf(eventsCount))).build();
|
||||||
startForeground(1, notification);
|
if( notification != null) {
|
||||||
|
startForeground(1, notification);
|
||||||
|
}else{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -315,7 +319,11 @@ public class LiveNotificationDelayedService extends Service {
|
||||||
.setSmallIcon(getNotificationIcon(LiveNotificationDelayedService.this))
|
.setSmallIcon(getNotificationIcon(LiveNotificationDelayedService.this))
|
||||||
.setContentText(getString(R.string.top_notification_message, String.valueOf(totalAccount), String.valueOf(eventsCount))).build();
|
.setContentText(getString(R.string.top_notification_message, String.valueOf(totalAccount), String.valueOf(eventsCount))).build();
|
||||||
|
|
||||||
startForeground(1, notificationChannel);
|
if( notificationChannel != null) {
|
||||||
|
startForeground(1, notificationChannel);
|
||||||
|
}else{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
event = Helper.EventStreaming.NOTIFICATION;
|
event = Helper.EventStreaming.NOTIFICATION;
|
||||||
|
|
|
@ -140,7 +140,11 @@ public class LiveNotificationService extends Service implements NetworkStateRece
|
||||||
.setSmallIcon(getNotificationIcon(LiveNotificationService.this))
|
.setSmallIcon(getNotificationIcon(LiveNotificationService.this))
|
||||||
.setContentText(getString(R.string.top_notification_message, String.valueOf(totalAccount), String.valueOf(eventsCount))).build();
|
.setContentText(getString(R.string.top_notification_message, String.valueOf(totalAccount), String.valueOf(eventsCount))).build();
|
||||||
|
|
||||||
startForeground(1, notification);
|
if( notification != null) {
|
||||||
|
startForeground(1, notification);
|
||||||
|
}else{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!notify) {
|
if (!notify) {
|
||||||
stopSelf();
|
stopSelf();
|
||||||
|
@ -317,8 +321,11 @@ public class LiveNotificationService extends Service implements NetworkStateRece
|
||||||
.setContentTitle(getString(R.string.top_notification))
|
.setContentTitle(getString(R.string.top_notification))
|
||||||
.setSmallIcon(getNotificationIcon(LiveNotificationService.this))
|
.setSmallIcon(getNotificationIcon(LiveNotificationService.this))
|
||||||
.setContentText(getString(R.string.top_notification_message, String.valueOf(totalAccount), String.valueOf(eventsCount))).build();
|
.setContentText(getString(R.string.top_notification_message, String.valueOf(totalAccount), String.valueOf(eventsCount))).build();
|
||||||
|
if( notificationChannel != null) {
|
||||||
startForeground(1, notificationChannel);
|
startForeground(1, notificationChannel);
|
||||||
|
}else{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
event = Helper.EventStreaming.NOTIFICATION;
|
event = Helper.EventStreaming.NOTIFICATION;
|
||||||
|
|
Loading…
Reference in New Issue