In the old version for Android, this worked. But Android changed that because "The main button should stay on the main button" and they don’t want anyone to redefine the Home button. And for this reason, your code will not work.
maybe you can implement this:
@Override
protected void onStop() {
super.onStop();
finish();
}
, , onStop() , (, , ), finish Activity, .
?