Loading core/java/com/android/internal/app/AssistUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -195,7 +195,7 @@ public class AssistUtils { return applicationInfo.isSystemApp() || applicationInfo.isUpdatedSystemApp(); } private static boolean isDisclosureEnabled(Context context) { public static boolean isDisclosureEnabled(Context context) { return Settings.Secure.getInt(context.getContentResolver(), Settings.Secure.ASSIST_DISCLOSURE_ENABLED, 0) != 0; } Loading packages/SystemUI/src/com/android/systemui/assist/AssistManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -339,7 +339,7 @@ public class AssistManager implements ConfigurationChangedReceiver { intent.setComponent(assistComponent); intent.putExtras(args); if (structureEnabled) { if (structureEnabled && AssistUtils.isDisclosureEnabled(mContext)) { showDisclosure(); } Loading Loading
core/java/com/android/internal/app/AssistUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -195,7 +195,7 @@ public class AssistUtils { return applicationInfo.isSystemApp() || applicationInfo.isUpdatedSystemApp(); } private static boolean isDisclosureEnabled(Context context) { public static boolean isDisclosureEnabled(Context context) { return Settings.Secure.getInt(context.getContentResolver(), Settings.Secure.ASSIST_DISCLOSURE_ENABLED, 0) != 0; } Loading
packages/SystemUI/src/com/android/systemui/assist/AssistManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -339,7 +339,7 @@ public class AssistManager implements ConfigurationChangedReceiver { intent.setComponent(assistComponent); intent.putExtras(args); if (structureEnabled) { if (structureEnabled && AssistUtils.isDisclosureEnabled(mContext)) { showDisclosure(); } Loading