From f4622a8ac78299dc16cb857c5270a2c48f3a7fc0 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Fri, 24 Jun 2011 15:26:25 -0700 Subject: [PATCH] Yet another action bar fix... It's a temporary fix. Proper fix underway... Change-Id: I225e04168f7fae6a3b411659a27e79b28022ac40 --- src/com/android/email/activity/ActionBarController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com/android/email/activity/ActionBarController.java b/src/com/android/email/activity/ActionBarController.java index 217aeca4d..2a3997388 100644 --- a/src/com/android/email/activity/ActionBarController.java +++ b/src/com/android/email/activity/ActionBarController.java @@ -433,6 +433,10 @@ public class ActionBarController { @Override public void onLoadFinished(Loader loader, Cursor cursor) { + if (!cursor.moveToFirst()) { + clearMailboxInfo(); + return; + } // Update action bar FolderProperties fp = FolderProperties.getInstance(mContext); updateMailboxInfo(