From: Paul Lawrence Date: Mon, 2 Jun 2014 15:07:29 +0000 (-0700) Subject: Adding comment X-Git-Tag: android-x86-6.0-r1~2322 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f5ca71751ef12ff5f04906ae77540191a081bdd0;p=android-x86%2Fpackages-apps-Settings.git Adding comment To enable marquee'ing, you have to call setSelected on the relevant control. Comment added to explain this. Also see defect 15327172 filed against SDK documentation to properly explain this. Change-Id: If8f70baa1b682070b312fa689b2edd77b50d2d6e --- diff --git a/src/com/android/settings/CryptKeeper.java b/src/com/android/settings/CryptKeeper.java index 322bda057a..d24c741b69 100644 --- a/src/com/android/settings/CryptKeeper.java +++ b/src/com/android/settings/CryptKeeper.java @@ -408,7 +408,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList final TextView status = (TextView) findViewById(R.id.owner_info); status.setText(owner_info); - status.setSelected(true); + status.setSelected(true); // Required for marquee'ing to work passwordEntryInit(); } }.execute();