Seta PIN2 input type after adding listener.

Bug: 15126665
Change-Id: Icfb347ca36866ecc390e5a53c84fa22f74b93447
diff --git a/src/com/android/phone/GetPin2Screen.java b/src/com/android/phone/GetPin2Screen.java
index a06b0cf..bf2e170 100644
--- a/src/com/android/phone/GetPin2Screen.java
+++ b/src/com/android/phone/GetPin2Screen.java
@@ -20,6 +20,7 @@
 import android.content.Intent;
 import android.net.Uri;
 import android.os.Bundle;
+import android.text.InputType;
 import android.text.TextUtils;
 import android.text.method.DigitsKeyListener;
 import android.util.Log;
@@ -49,6 +50,8 @@
         mPin2Field.setKeyListener(DigitsKeyListener.getInstance());
         mPin2Field.setMovementMethod(null);
         mPin2Field.setOnEditorActionListener(this);
+        mPin2Field.setInputType(
+                InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD);
 
         mOkButton = (Button) findViewById(R.id.ok);
         mOkButton.setOnClickListener(mClicked);