One does not simply become a Developer
Co-authored-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I64ab4d7ab9d8334275d2e4d493b716a8fc73ab4e
This commit is contained in:
committed by
Michael Bestas
parent
d58f018299
commit
5c7cd83ac5
@@ -25,4 +25,14 @@
|
|||||||
|
|
||||||
<!-- Device Info screen. LineageOS legal. -->
|
<!-- Device Info screen. LineageOS legal. -->
|
||||||
<string name="lineagelicense_title">LineageOS legal</string>
|
<string name="lineagelicense_title">LineageOS legal</string>
|
||||||
|
|
||||||
|
<!-- [CHAR LIMIT=NONE] Device Info screen. Countdown for user taps to enable development settings -->
|
||||||
|
<string name="show_dev_countdown_cm">{count, plural,
|
||||||
|
=1 {You are now # step away from enabling development settings.}
|
||||||
|
other {You are now # steps away from enabling development settings.}
|
||||||
|
}</string>
|
||||||
|
<!-- [CHAR LIMIT=NONE] Device Info screen. Confirmation that developer settings are enabled -->
|
||||||
|
<string name="show_dev_on_cm">You have enabled development settings!</string>
|
||||||
|
<!-- [CHAR LIMIT=NONE] Device Info screen. Okay we get it, stop pressing, you already have it on -->
|
||||||
|
<string name="show_dev_already_cm">No need, you have already enabled development settings.</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ public class BuildNumberPreferenceController extends BasePreferenceController im
|
|||||||
}
|
}
|
||||||
mDevHitToast = Toast.makeText(mContext,
|
mDevHitToast = Toast.makeText(mContext,
|
||||||
StringUtil.getIcuPluralsString(mContext, mDevHitCountdown,
|
StringUtil.getIcuPluralsString(mContext, mDevHitCountdown,
|
||||||
R.string.show_dev_countdown),
|
R.string.show_dev_countdown_cm),
|
||||||
Toast.LENGTH_SHORT);
|
Toast.LENGTH_SHORT);
|
||||||
mDevHitToast.show();
|
mDevHitToast.show();
|
||||||
}
|
}
|
||||||
@@ -201,7 +201,7 @@ public class BuildNumberPreferenceController extends BasePreferenceController im
|
|||||||
if (mDevHitToast != null) {
|
if (mDevHitToast != null) {
|
||||||
mDevHitToast.cancel();
|
mDevHitToast.cancel();
|
||||||
}
|
}
|
||||||
mDevHitToast = Toast.makeText(mContext, R.string.show_dev_already,
|
mDevHitToast = Toast.makeText(mContext, R.string.show_dev_already_cm,
|
||||||
Toast.LENGTH_LONG);
|
Toast.LENGTH_LONG);
|
||||||
mDevHitToast.show();
|
mDevHitToast.show();
|
||||||
mMetricsFeatureProvider.action(
|
mMetricsFeatureProvider.action(
|
||||||
@@ -264,7 +264,7 @@ public class BuildNumberPreferenceController extends BasePreferenceController im
|
|||||||
if (mDevHitToast != null) {
|
if (mDevHitToast != null) {
|
||||||
mDevHitToast.cancel();
|
mDevHitToast.cancel();
|
||||||
}
|
}
|
||||||
mDevHitToast = Toast.makeText(mContext, R.string.show_dev_on,
|
mDevHitToast = Toast.makeText(mContext, R.string.show_dev_on_cm,
|
||||||
Toast.LENGTH_LONG);
|
Toast.LENGTH_LONG);
|
||||||
mDevHitToast.show();
|
mDevHitToast.show();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user