Set the unique id in the AutoFillProfile class to fix AutoFill.

WebKit now needs to be aware of the non-zero profile unique id.

Change-Id: I1dad022e48a70cbe199013e441059da2d8ee47ca
diff --git a/src/com/android/browser/AutoFillSettingsFragment.java b/src/com/android/browser/AutoFillSettingsFragment.java
index 608c3de..7728149 100644
--- a/src/com/android/browser/AutoFillSettingsFragment.java
+++ b/src/com/android/browser/AutoFillSettingsFragment.java
@@ -43,6 +43,11 @@
     private EditText mCountryEdit;
     private EditText mPhoneEdit;
 
+    // For now we support just one profile so it's safe to hardcode the
+    // id to 1 here. In the future this unique identifier will be set
+    // dynamically.
+    private int mUniqueId = 1;
+
     public AutoFillSettingsFragment() {
 
     }
@@ -75,6 +80,7 @@
             public void onClick(View button) {
                 BrowserSettings.getInstance().setAutoFillProfile(getActivity(),
                         new AutoFillProfile(
+                                mUniqueId,
                                 mFullNameEdit.getText().toString(),
                                 mEmailEdit.getText().toString(),
                                 mCompanyEdit.getText().toString(),