Merge "[Settings] Expand the display area of PIN error message"

This commit is contained in:
Bonian Chen
2021-12-22 04:08:18 +00:00
committed by Gerrit Code Review

View File

@@ -587,6 +587,7 @@ public class IccLockSettings extends SettingsPreferenceFragment
.inflate(com.android.internal.R.layout.transient_notification, null);
final TextView tv = (TextView) v.findViewById(com.android.internal.R.id.message);
tv.setText(errorMessage);
tv.setSingleLine(false);
final WindowManager.LayoutParams params = new WindowManager.LayoutParams();
final Configuration config = v.getContext().getResources().getConfiguration();