diff options
author | 2025-04-09 11:02:01 +1000 | |
---|---|---|
committer | 2025-09-18 12:17:18 +0200 | |
commit | d40c037bccbae7537698968c1650a633710c5b6e (patch) | |
tree | 29a85b8012c33bd81e9eb5c8de6d2f5a846cf4df /proguard.flags | |
parent | b0f64324499a3f65aca817d3f221c716d953a800 (diff) |
[SP 2025-09-01] Trim the application name to make it safe for presentationbanksia-dev
The application name is presented in the ConfirmFragment and as such we
don't want to allow for any length. This follows a similar approach to
PackageManager using the TextUtils.makeSafeForPresentation with a total
available character length of 500.
This removes the unused getCallingAppName from the DirectoryFragment as
it was causing false positives from DirectoryFragment to avoid false
positives when trying to find who calls the Shared function.
On top of this, add some quotation marks around the app name to avoid
the app name being a contination of the existing text in the dialog,
e.g. 'This will let app name access current and future content storage
in Alarms' will now be 'This will let "app name" access current and
future content storage'.
Bug: 397216537
Test: atest com.android.documentsui.picker.ApplicationNameTest
Flag: EXEMPT bug fix
Change-Id: Iad0d03de09b1e4ad953bd6bd46a619cfcc56d384
(cherry picked from commit c8ef2db3bb4645704384226976e59583b9e8d3d3)
Diffstat (limited to 'proguard.flags')
0 files changed, 0 insertions, 0 deletions