Loading src/com/android/calendar/AllInOneActivity.java +10 −3 Original line number Original line Diff line number Diff line Loading @@ -200,10 +200,17 @@ public class AllInOneActivity extends Activity implements EventHandler, @Override @Override protected void onQueryComplete(int token, Object cookie, Cursor cursor) { protected void onQueryComplete(int token, Object cookie, Cursor cursor) { mCheckForAccounts = false; mCheckForAccounts = false; try { // If the query didn't return a cursor for some reason return // If the query didn't return a cursor for some reason return if (cursor == null || cursor.getCount() > 0 || isFinishing()) { if (cursor == null || cursor.getCount() > 0 || isFinishing()) { return; return; } } } finally { if (cursor != null) { cursor.close(); } } Bundle options = new Bundle(); Bundle options = new Bundle(); options.putCharSequence("introMessage", options.putCharSequence("introMessage", getResources().getString(R.string.create_an_account_desc)); getResources().getString(R.string.create_an_account_desc)); Loading Loading
src/com/android/calendar/AllInOneActivity.java +10 −3 Original line number Original line Diff line number Diff line Loading @@ -200,10 +200,17 @@ public class AllInOneActivity extends Activity implements EventHandler, @Override @Override protected void onQueryComplete(int token, Object cookie, Cursor cursor) { protected void onQueryComplete(int token, Object cookie, Cursor cursor) { mCheckForAccounts = false; mCheckForAccounts = false; try { // If the query didn't return a cursor for some reason return // If the query didn't return a cursor for some reason return if (cursor == null || cursor.getCount() > 0 || isFinishing()) { if (cursor == null || cursor.getCount() > 0 || isFinishing()) { return; return; } } } finally { if (cursor != null) { cursor.close(); } } Bundle options = new Bundle(); Bundle options = new Bundle(); options.putCharSequence("introMessage", options.putCharSequence("introMessage", getResources().getString(R.string.create_an_account_desc)); getResources().getString(R.string.create_an_account_desc)); Loading