OSDN Git Service

Fix marqueeing of OwnerText on CryptKeeper screens
authorPaul Lawrence <paullawrence@google.com>
Thu, 29 May 2014 17:19:08 +0000 (10:19 -0700)
committerPaul Lawrence <paullawrence@google.com>
Thu, 29 May 2014 17:19:08 +0000 (10:19 -0700)
Have to call setSelected to make marqueeing work.

Change-Id: Ic00012c150a9cacfff2b11f2938ea0674a1f45e9

src/com/android/settings/CryptKeeper.java

index 661e304..3dc15c5 100644 (file)
@@ -409,6 +409,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);
                     passwordEntryInit();
                 }
             }.execute();