mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-14 10:24:32 -05:00
b5f63248ac
Signed-off-by: Tavi <tavi@divested.dev>
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Chaohui Wang <chaohuiw@google.com>
|
|
Date: Thu, 2 Nov 2023 11:43:00 +0800
|
|
Subject: [PATCH] Limit wifi item edit content's max length to 500
|
|
|
|
Bug: 293199910
|
|
Test: manual - on "Add network"
|
|
|
|
(cherry picked from commit 855053ca4124f2d515b21c469096f8c18bd4829d)
|
|
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:092668676af741719d50ac0f121a8f8461aa21ad)
|
|
Merged-In: I303b8c6e0f3c3a1174a047ba98f302042e5db9ae
|
|
Change-Id: I303b8c6e0f3c3a1174a047ba98f302042e5db9ae
|
|
---
|
|
res/values/styles.xml | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/res/values/styles.xml b/res/values/styles.xml
|
|
index 88760723883..2ce29040f0d 100644
|
|
--- a/res/values/styles.xml
|
|
+++ b/res/values/styles.xml
|
|
@@ -147,6 +147,7 @@
|
|
<item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault.Medium</item>
|
|
<item name="android:textColorHint">?android:attr/textColorSecondary</item>
|
|
<item name="android:minHeight">@dimen/min_tap_target_size</item>
|
|
+ <item name="android:maxLength">500</item>
|
|
</style>
|
|
|
|
<style name="wifi_section">
|