Improve notification capture fidelity and documentation
This commit is contained in:
@@ -102,6 +102,13 @@ class ViewLogsFragment : Fragment(R.layout.fragment_view_logs) {
|
||||
})
|
||||
}
|
||||
}
|
||||
if (row.entry.action == NotificationAction.EDITED && !row.entry.previousContents.isNullOrEmpty()) {
|
||||
addView(TextView(context).apply {
|
||||
text = "Previous: ${row.entry.previousContents}"
|
||||
setLineSpacing(0f, 0.92f)
|
||||
setPadding(0, dp(1), 0, dp(1))
|
||||
})
|
||||
}
|
||||
row.imageBytes?.let { bytes ->
|
||||
BitmapFactory.decodeByteArray(bytes, 0, bytes.size)?.let { bitmap ->
|
||||
addView(ImageView(context).apply {
|
||||
|
||||
Reference in New Issue
Block a user