Fix up-navigation for different levels of Settings screens.

No up affordance for 2-pane screens since there's already
a fragment breadcrumb for navigating up.

Bug: 6452961

Change-Id: Iad9a5c2d0b68cc8f2aec7d5ed8e2ab14d023d48c
This commit is contained in:
Amith Yamasani
2012-05-11 15:22:04 -07:00
parent e5050b1be7
commit 3d384f4ca2
2 changed files with 15 additions and 3 deletions

View File

@@ -21,4 +21,10 @@ package com.android.settings;
* since for our app it is a special singleTask class.
*/
public class SubSettings extends Settings {
@Override
public boolean onNavigateUp() {
finish();
return true;
}
}