commit | 7f56b3ca6c6edb8815c2d2859db1a43cd7dfa819 | [log] [tgz] |
---|---|---|
author | Matías Hernández <matiashe@google.com> | Thu Jun 15 18:37:52 2023 +0200 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 14 17:31:31 2023 +0000 |
tree | 8661608d70fe1c1cb8209a51057b67f9e0c3a9e9 | |
parent | d8355ac47e068ad20c6a7b1602e72f0585ec0085 [diff] |
Settings: don't try to allow NLSes with too-long component names * NotificationAccessConfirmationActivity (triggered through CompanionDeviceManager) -> Don't show the dialog, bail out early similarly to other invalid inputs. * NotificationAccessSettings (from Special App Access) -> No changes, but use the canonical constant now. * ApprovalPreferenceController (used in NotificationAccessDetails) -> Disable the toggle, unless the NLS was previously approved (in which case it can still be removed). Fixes: 260570119 Fixes: 286043036 Test: atest + manually (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b88fbf932a1631792a422f8ac34e83e1d6ae74d7) Merged-In: Ifc048311746c027e3683cdcf65f1079d04cf7c56 Change-Id: Ifc048311746c027e3683cdcf65f1079d04cf7c56