Snap for 10776546 from 54f96175a2
to udc-qpr1-release
Change-Id: I4b3fa452c0a0d34a8d133507a02385c6ed569613
This commit is contained in:
@@ -30,6 +30,4 @@ public class FeatureFlags {
|
|||||||
public static final String CONTEXTUAL_HOME = "settings_contextual_home";
|
public static final String CONTEXTUAL_HOME = "settings_contextual_home";
|
||||||
public static final String SETTINGS_SEARCH_ALWAYS_EXPAND =
|
public static final String SETTINGS_SEARCH_ALWAYS_EXPAND =
|
||||||
"settings_search_always_expand";
|
"settings_search_always_expand";
|
||||||
public static final String PRESS_HOLD_NAV_HANDLE_TO_SEARCH =
|
|
||||||
"settings_press_hold_nav_handle_to_search";
|
|
||||||
}
|
}
|
||||||
|
@@ -47,6 +47,11 @@ public class SettingsUIDeviceConfig {
|
|||||||
*/
|
*/
|
||||||
public static final String BT_LE_AUDIO_DEVICE_DETAIL_ENABLED =
|
public static final String BT_LE_AUDIO_DEVICE_DETAIL_ENABLED =
|
||||||
"bt_le_audio_device_detail_enabled";
|
"bt_le_audio_device_detail_enabled";
|
||||||
|
/**
|
||||||
|
* {@code true} if press and hold nav handle to search is enabled.
|
||||||
|
*/
|
||||||
|
public static final String PRESS_HOLD_NAV_HANDLE_TO_SEARCH =
|
||||||
|
"press_hold_nav_handle_to_search";
|
||||||
/**
|
/**
|
||||||
* {@code true} if long press home button to search is enabled.
|
* {@code true} if long press home button to search is enabled.
|
||||||
*/
|
*/
|
||||||
|
@@ -121,9 +121,7 @@ public class SetNewPasswordActivity extends Activity implements SetNewPasswordCo
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void launchChooseLock(Bundle chooseLockFingerprintExtras) {
|
public void launchChooseLock(Bundle chooseLockFingerprintExtras) {
|
||||||
final boolean isInSetupWizard = WizardManagerHelper.isAnySetupWizard(getIntent());
|
Intent intent = new Intent(this, SetupChooseLockGeneric.class);
|
||||||
Intent intent = isInSetupWizard ? new Intent(this, SetupChooseLockGeneric.class)
|
|
||||||
: new Intent(this, ChooseLockGeneric.class);
|
|
||||||
intent.setAction(mNewPasswordAction);
|
intent.setAction(mNewPasswordAction);
|
||||||
intent.putExtras(chooseLockFingerprintExtras);
|
intent.putExtras(chooseLockFingerprintExtras);
|
||||||
if (mCallerAppName != null) {
|
if (mCallerAppName != null) {
|
||||||
|
@@ -256,6 +256,12 @@ public class SetupChooseLockGeneric extends ChooseLockGeneric {
|
|||||||
return InternalSetupChooseLockGenericFragment.class;
|
return InternalSetupChooseLockGenericFragment.class;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isToolbarEnabled() {
|
||||||
|
// Hide the action bar from this page.
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public static class InternalSetupChooseLockGenericFragment
|
public static class InternalSetupChooseLockGenericFragment
|
||||||
extends ChooseLockGenericFragment {
|
extends ChooseLockGenericFragment {
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user