Merge "Update string to reflect removed users." into jb-mr1-dev
This commit is contained in:
@@ -4032,6 +4032,8 @@
|
|||||||
|
|
||||||
<!-- Title of data usage item that represents all uninstalled applications. [CHAR LIMIT=48] -->
|
<!-- Title of data usage item that represents all uninstalled applications. [CHAR LIMIT=48] -->
|
||||||
<string name="data_usage_uninstalled_apps">Removed apps</string>
|
<string name="data_usage_uninstalled_apps">Removed apps</string>
|
||||||
|
<!-- Title of data usage item that represents all uninstalled applications or removed users. [CHAR LIMIT=48] -->
|
||||||
|
<string name="data_usage_uninstalled_apps_users">Removed apps and users</string>
|
||||||
<!-- Combination of total network bytes sent and received by an application. [CHAR LIMIT=NONE] -->
|
<!-- Combination of total network bytes sent and received by an application. [CHAR LIMIT=NONE] -->
|
||||||
<string name="data_usage_received_sent"><xliff:g id="received" example="128KB">%1$s</xliff:g> received, <xliff:g id="sent" example="1.3GB">%2$s</xliff:g> sent</string>
|
<string name="data_usage_received_sent"><xliff:g id="received" example="128KB">%1$s</xliff:g> received, <xliff:g id="sent" example="1.3GB">%2$s</xliff:g> sent</string>
|
||||||
<!-- Label displaying total network data transferred during a specific time period. [CHAR LIMIT=64] -->
|
<!-- Label displaying total network data transferred during a specific time period. [CHAR LIMIT=64] -->
|
||||||
|
@@ -101,7 +101,9 @@ public class UidDetailProvider {
|
|||||||
detail.icon = pm.getDefaultActivityIcon();
|
detail.icon = pm.getDefaultActivityIcon();
|
||||||
return detail;
|
return detail;
|
||||||
case TrafficStats.UID_REMOVED:
|
case TrafficStats.UID_REMOVED:
|
||||||
detail.label = res.getString(R.string.data_usage_uninstalled_apps);
|
detail.label = res.getString(UserManager.supportsMultipleUsers()
|
||||||
|
? R.string.data_usage_uninstalled_apps_users
|
||||||
|
: R.string.data_usage_uninstalled_apps);
|
||||||
detail.icon = pm.getDefaultActivityIcon();
|
detail.icon = pm.getDefaultActivityIcon();
|
||||||
return detail;
|
return detail;
|
||||||
case TrafficStats.UID_TETHERING:
|
case TrafficStats.UID_TETHERING:
|
||||||
|
Reference in New Issue
Block a user