Remove some debug code from MessageListXL.

Change-Id: I26e373d2e570c49a812ffbee98095f9e84599335
This commit is contained in:
Makoto Onuki 2010-09-01 14:46:52 -07:00
parent 62f9c4d280
commit ed035c20a1
3 changed files with 0 additions and 24 deletions

View File

@ -31,7 +31,4 @@
android:title="@string/account_settings_action"
android:icon="@android:drawable/ic_menu_preferences"
/>
<item android:id="@+id/change_orientation"
android:title="@string/menu_change_orientation"
/>
</menu>

View File

@ -770,7 +770,4 @@
<string name="title_fix_all_bugs_preference" translatable="false">Fix All Bugs</string>
<!-- STOPSHIP remove this fake preference -->
<string name="summary_fix_all_bugs_preference" translatable="false">Cheaper than beer</string>
<!-- Do Not Translate. STOPSHIP: Dev version only. Remove this. -->
<string name="menu_change_orientation" translatable="false">Change orientation</string>
</resources>

View File

@ -591,11 +591,6 @@ public class MessageListXL extends Activity implements View.OnClickListener,
return true;
case R.id.account_settings:
return onAccountSettings();
case R.id.change_orientation: // STOPSHIP remove this
Utility.changeOrientation(this);
return true;
case R.id.add_new_account: // STOPSHIP remove this
return onAddNewAccount();
}
return super.onOptionsItemSelected(item);
}
@ -729,19 +724,6 @@ public class MessageListXL extends Activity implements View.OnClickListener,
}
}
/**
* STOPSHIP: Remove this.
* Rotate screen when the R key is pressed. Workaround for auto-orientation not working.
*/
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_R) {
Utility.changeOrientation(this);
return true;
}
return super.onKeyDown(keyCode, event);
}
// TODO It's a temporary implementation. See {@link MoveMessagetoDialog}
@Override
public void onMoveToMailboxSelected(long newMailboxId, long[] messageIds) {