Skip to content

Use BigText style for share notification

Summary

Starting Nougat (API 24) normal progress notifications show title and content text on 1 line above the progress bar. Since title and content text can be long information is lost. Using BigTextStyle on versions that support it eliminates the problem

Before After
NormalNotification BigTextNotification

Test Plan

Share 1 or multiple files from desktop to android API < 24 and confirm that the notification still uses 2 lines of text, 1 above and 1 below the progress bar

Share 1 or multiple file from desktop to android API >= 24 and confirm that the notification now uses 2 lines of text, 1 above and 1 below the progress bar

Merge request reports

Loading