[Physical Keyboard Setting] Update navigation path
When launch setting page for specific keyboard, it will route to PK setting first, add flag NO_HISTORY to make PK setting not been added in stack. So that when user navigate back, it will not back to PK setting, which will be more consistent. Update navigation path from: Device Detail -> Physical Keyboard Setting -> Keyboard Detail Setting to Device Detail -> Keyboard Detail Setting Bug: 330130137 Flag: N/A Test: verify on device Change-Id: I8d6d6a8a534dec5cd7330c4d47b38a46be76fc4d
This commit is contained in:
committed by
Shaowei Shen
parent
38236869ee
commit
0dc2d69d85
@@ -58,6 +58,7 @@ public class KeyboardSettingsPreferenceController extends BasePreferenceControll
|
||||
intent.putExtra(
|
||||
Settings.EXTRA_INPUT_DEVICE_IDENTIFIER,
|
||||
hardKeyboardDeviceInfo.mDeviceIdentifier);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
|
||||
mContext.startActivity(intent);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user