177177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook/******************************************************************************* 277177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * Copyright (C) 2012 Google Inc. 377177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * Licensed to The Android Open Source Project. 477177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * 577177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * Licensed under the Apache License, Version 2.0 (the "License"); 677177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * you may not use this file except in compliance with the License. 777177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * You may obtain a copy of the License at 877177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * 977177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * http://www.apache.org/licenses/LICENSE-2.0 1077177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * 1177177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * Unless required by applicable law or agreed to in writing, software 1277177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * distributed under the License is distributed on an "AS IS" BASIS, 1377177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1477177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * See the License for the specific language governing permissions and 1577177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook * limitations under the License. 1677177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook *******************************************************************************/ 1777177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook 1877177b171c483d485bdbff0178564394e8f57d0fPaul Westbrookpackage com.android.mail.providers; 1977177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook 202388c5d208acd4e4e658aaacbbc5f080ee8e9f7cPaul Westbrookimport android.content.Context; 212388c5d208acd4e4e658aaacbbc5f080ee8e9f7cPaul Westbrookimport android.content.Intent; 2277177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook 23c2074c4442eacf5604dd3cecd06b363e8fc574dePaul Westbrookpublic class UnifiedAccountCacheProvider extends MailAppProvider { 2477177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook // The authority of our conversation provider (a forwarding provider) 2577177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook // This string must match the declaration in AndroidManifest.xml 2677177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook private static final String sAuthority = "com.android.mail.accountcache"; 2777177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook 2877177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook @Override 2977177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook protected String getAuthority() { 3077177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook return sAuthority; 3177177b171c483d485bdbff0178564394e8f57d0fPaul Westbrook } 322388c5d208acd4e4e658aaacbbc5f080ee8e9f7cPaul Westbrook 332388c5d208acd4e4e658aaacbbc5f080ee8e9f7cPaul Westbrook @Override 34c6801eb828627c37b8992584767c095dfe11df62Jin Cao protected Intent getNoAccountsIntent(Context context) { 35c6801eb828627c37b8992584767c095dfe11df62Jin Cao return null; 366a62146d0af3bf33ff472e4fbfad64f6c582dd8eVikram Aggarwal } 372388c5d208acd4e4e658aaacbbc5f080ee8e9f7cPaul Westbrook} 38