Renaming fields and variables from "source" to "accountType"
Change-Id: Ie41036e35a45fc7d9a8c934a3cbe68399c567ad6
diff --git a/src/com/android/contacts/ContactsUtils.java b/src/com/android/contacts/ContactsUtils.java
index ee79dbb..7c54f62 100644
--- a/src/com/android/contacts/ContactsUtils.java
+++ b/src/com/android/contacts/ContactsUtils.java
@@ -459,13 +459,13 @@
* Utility for creating a standard tab indicator view.
*
* @param parent The parent ViewGroup to attach the new view to.
- * @param source The {@link AccountType} to build the tab view from.
+ * @param accountType The {@link AccountType} to build the tab view from.
* @return The tab indicator View.
*/
- public static View createTabIndicatorView(ViewGroup parent, AccountType source) {
+ public static View createTabIndicatorView(ViewGroup parent, AccountType accountType) {
Drawable icon = null;
- if (source != null) {
- icon = source.getDisplayIcon(parent.getContext());
+ if (accountType != null) {
+ icon = accountType.getDisplayIcon(parent.getContext());
}
return createTabIndicatorView(parent, null, icon);
}