diff options
author | Scott Su <scott.su@myriadgroup.com> | 2009-08-24 11:41:06 +0800 |
---|---|---|
committer | Wei Huang <weih@google.com> | 2009-08-23 23:39:37 -0700 |
commit | b15e8849f978b19856ead6d57e99006f6c52b490 (patch) | |
tree | 27f5d04a2792d8c1a1d022dc4d93023cdf6b36a8 /src/com/android/im/app/LandingPage.java | |
parent | 3a623dfea097ca2e30534a44df3600d7c1894e39 (diff) | |
download | IM-b15e8849f978b19856ead6d57e99006f6c52b490.tar.gz |
Fix bug that Google Talk is shown on IM's landing page
Copy consts defined in framework/base/im to IM app
Diffstat (limited to 'src/com/android/im/app/LandingPage.java')
-rw-r--r-- | src/com/android/im/app/LandingPage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/im/app/LandingPage.java b/src/com/android/im/app/LandingPage.java index cdbea1e..8020cd0 100644 --- a/src/com/android/im/app/LandingPage.java +++ b/src/com/android/im/app/LandingPage.java @@ -102,8 +102,8 @@ public class LandingPage extends ListActivity implements View.OnCreateContextMen mProviderCursor = managedQuery(Im.Provider.CONTENT_URI_WITH_ACCOUNT, PROVIDER_PROJECTION, - null /* selection */, - null /* selection args */, + Im.Provider.CATEGORY + "=?" /* selection */, + new String[]{ ImApp.IMPS_CATEGORY } /* selection args */, Im.Provider.DEFAULT_SORT_ORDER); mAdapter = new ProviderAdapter(this, mProviderCursor); setListAdapter(mAdapter); |