Added Android Auto info button

This commit is contained in:
M66B
2021-10-01 17:46:58 +02:00
parent 92ab278644
commit dc515674c5
3 changed files with 41 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
private SwitchCompat swWearablePreview;
private ImageButton ibWearable;
private SwitchCompat swMessagingStyle;
private ImageButton ibCar;
private SwitchCompat swBiometricsNotify;
private SwitchCompat swAlertOnce;
private TextView tvNoGrouping;
@@ -176,6 +177,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
swWearablePreview = view.findViewById(R.id.swWearablePreview);
ibWearable = view.findViewById(R.id.ibWearable);
swMessagingStyle = view.findViewById(R.id.swMessagingStyle);
ibCar = view.findViewById(R.id.ibCar);
swBiometricsNotify = view.findViewById(R.id.swBiometricsNotify);
swAlertOnce = view.findViewById(R.id.swAlertOnce);
tvNoGrouping = view.findViewById(R.id.tvNoGrouping);
@@ -496,6 +498,13 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
}
});
ibCar.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(v.getContext(), 165);
}
});
swBiometricsNotify.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {