am 17a18d64
: Merge "Fix NPE caused by I34451000" into froyo
Merge commit '17a18d644af54b98087f3ec7a9b1e6d55e604e67' into froyo-plus-aosp * commit '17a18d644af54b98087f3ec7a9b1e6d55e604e67': Fix NPE caused by I34451000
This commit is contained in:
commit
aab0d339da
@ -214,11 +214,9 @@ public class AccountFolderList extends ListActivity implements OnItemClickListen
|
||||
Utility.cancelTask(mDeleteAccountTask, false); // Don't interrupt if it's running.
|
||||
mDeleteAccountTask = null;
|
||||
|
||||
mListAdapter.changeCursor(null);
|
||||
mListAdapter = null;
|
||||
|
||||
mHandler = null;
|
||||
mControllerCallback = null;
|
||||
if (mListAdapter != null) {
|
||||
mListAdapter.changeCursor(null);
|
||||
}
|
||||
}
|
||||
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||
|
@ -199,9 +199,6 @@ public class MailboxList extends ListActivity implements OnItemClickListener, On
|
||||
mMessageCountTask = null;
|
||||
|
||||
mListAdapter.changeCursor(null);
|
||||
mListAdapter = null;
|
||||
mHandler = null;
|
||||
mControllerCallback = null;
|
||||
}
|
||||
|
||||
public void onClick(View v) {
|
||||
|
@ -396,18 +396,13 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
||||
|
||||
if (mAddressAdapterTo != null) {
|
||||
mAddressAdapterTo.changeCursor(null);
|
||||
mAddressAdapterTo = null;
|
||||
}
|
||||
if (mAddressAdapterCc != null) {
|
||||
mAddressAdapterCc.changeCursor(null);
|
||||
mAddressAdapterCc = null;
|
||||
}
|
||||
if (mAddressAdapterBcc != null) {
|
||||
mAddressAdapterBcc.changeCursor(null);
|
||||
mAddressAdapterBcc = null;
|
||||
}
|
||||
mHandler = null;
|
||||
mListener = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -328,9 +328,6 @@ public class MessageList extends ListActivity implements OnItemClickListener, On
|
||||
mSetFooterTask = null;
|
||||
|
||||
mListAdapter.changeCursor(null);
|
||||
mListAdapter = null;
|
||||
mHandler = null;
|
||||
mControllerCallback = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -502,9 +502,6 @@ public class MessageView extends Activity implements OnClickListener {
|
||||
mMessageContentView = null;
|
||||
}
|
||||
// the cursor was closed in onPause()
|
||||
|
||||
mHandler = null;
|
||||
mControllerCallback = null;
|
||||
}
|
||||
|
||||
private void onDelete() {
|
||||
|
Loading…
Reference in New Issue
Block a user