|
|
|
@ -178,6 +178,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
|
private TextView tvMemoryClass;
|
|
|
|
|
private TextView tvMemoryUsage;
|
|
|
|
|
private TextView tvStorageUsage;
|
|
|
|
|
private TextView tvContactInfo;
|
|
|
|
|
private TextView tvSuffixes;
|
|
|
|
|
private TextView tvAndroidId;
|
|
|
|
|
private TextView tvFingerprint;
|
|
|
|
@ -343,6 +344,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
|
tvMemoryClass = view.findViewById(R.id.tvMemoryClass);
|
|
|
|
|
tvMemoryUsage = view.findViewById(R.id.tvMemoryUsage);
|
|
|
|
|
tvStorageUsage = view.findViewById(R.id.tvStorageUsage);
|
|
|
|
|
tvContactInfo = view.findViewById(R.id.tvContactInfo);
|
|
|
|
|
tvSuffixes = view.findViewById(R.id.tvSuffixes);
|
|
|
|
|
tvAndroidId = view.findViewById(R.id.tvAndroidId);
|
|
|
|
|
tvFingerprint = view.findViewById(R.id.tvFingerprint);
|
|
|
|
@ -1481,6 +1483,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
|
@Override
|
|
|
|
|
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
|
|
|
|
super.onViewCreated(view, savedInstanceState);
|
|
|
|
|
setContactInfo();
|
|
|
|
|
setSuffixes();
|
|
|
|
|
setPermissionInfo();
|
|
|
|
|
}
|
|
|
|
@ -1826,6 +1829,11 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
|
time < 0 ? "-" : DTF.format(time)));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void setContactInfo() {
|
|
|
|
|
int[] stats = ContactInfo.getStats();
|
|
|
|
|
tvContactInfo.setText(getString(R.string.title_advanced_contact_info, stats[0], stats[1]));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void setSuffixes() {
|
|
|
|
|
new SimpleTask<Integer>() {
|
|
|
|
|
@Override
|
|
|
|
|