diff options
author | Ray Chen <raychen@google.com> | 2014-07-11 15:24:54 +0200 |
---|---|---|
committer | Ray Chen <raychen@google.com> | 2014-07-16 00:46:06 +0200 |
commit | 4b0c0127d24e387a4f49d442b63b5c60cedb6922 (patch) | |
tree | f75fd18c0ee83bfed4d8fbdcfc23975482c19eec /tests | |
parent | bfeeaa17294f699c59adf86393160fdcccbd60c9 (diff) | |
download | android_packages_apps_UnifiedEmail-4b0c0127d24e387a4f49d442b63b5c60cedb6922.tar.gz android_packages_apps_UnifiedEmail-4b0c0127d24e387a4f49d442b63b5c60cedb6922.tar.bz2 android_packages_apps_UnifiedEmail-4b0c0127d24e387a4f49d442b63b5c60cedb6922.zip |
Delegate Account creation to builder class.
Account contructors are no longer public and clients need
to use Account.builder().buildFrom(...) instead.
Change-Id: I8f072e893b49b64d962fa7a075e5c15364c4c05f
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/mail/providers/AccountTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/mail/providers/AccountTests.java b/tests/src/com/android/mail/providers/AccountTests.java index 3a2bf1ba7..d5fd25da2 100644 --- a/tests/src/com/android/mail/providers/AccountTests.java +++ b/tests/src/com/android/mail/providers/AccountTests.java @@ -41,7 +41,7 @@ public class AccountTests extends AndroidTestCase { dest.writeString("settingIntentUri"); dest.writeInt(0); - final Account before = new Account(dest, null); + final Account before = Account.builder().buildFrom(dest, null); final Intent intent = new Intent(); intent.putExtra(Utils.EXTRA_ACCOUNT, before); |