|
|
|
@ -95,7 +95,7 @@ object Logger : SharedPreferences.OnSharedPreferenceChangeListener {
|
|
|
|
|
.setCategory(NotificationCompat.CATEGORY_STATUS)
|
|
|
|
|
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
|
|
|
|
.setSubText(context.getString(R.string.logging_to_external_storage_warning))
|
|
|
|
|
.setContentIntent(PendingIntent.getActivity(context, 0, prefIntent, PendingIntent.FLAG_UPDATE_CURRENT))
|
|
|
|
|
.setContentIntent(PendingIntent.getActivity(context, 0, prefIntent, PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE))
|
|
|
|
|
.setStyle(NotificationCompat.BigTextStyle()
|
|
|
|
|
.bigText(context.getString(R.string.logging_to_external_storage, logDir.path)))
|
|
|
|
|
.setOngoing(true)
|
|
|
|
@ -124,4 +124,4 @@ object Logger : SharedPreferences.OnSharedPreferenceChangeListener {
|
|
|
|
|
Toast.makeText(context, context.getString(R.string.logging_couldnt_create_file), Toast.LENGTH_LONG).show()
|
|
|
|
|
return null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|