Reapply more strings for "more settings"
Fixes: 29620816 Change-Id: Iabfcb3b762e1d7d105d2b4c417fc0902d7e7ca16
This commit is contained in:
@@ -1086,7 +1086,7 @@ public abstract class BaseStatusBar extends SystemUI implements
|
|||||||
((ImageView) guts.findViewById(R.id.app_icon)).setImageDrawable(pkgicon);
|
((ImageView) guts.findViewById(R.id.app_icon)).setImageDrawable(pkgicon);
|
||||||
((TextView) guts.findViewById(R.id.pkgname)).setText(appname);
|
((TextView) guts.findViewById(R.id.pkgname)).setText(appname);
|
||||||
|
|
||||||
final View settingsButton = guts.findViewById(R.id.more_settings);
|
final TextView settingsButton = (TextView) guts.findViewById(R.id.more_settings);
|
||||||
if (appUid >= 0) {
|
if (appUid >= 0) {
|
||||||
final int appUidF = appUid;
|
final int appUidF = appUid;
|
||||||
settingsButton.setOnClickListener(new View.OnClickListener() {
|
settingsButton.setOnClickListener(new View.OnClickListener() {
|
||||||
@@ -1096,13 +1096,16 @@ public abstract class BaseStatusBar extends SystemUI implements
|
|||||||
startAppNotificationSettingsActivity(pkg, appUidF);
|
startAppNotificationSettingsActivity(pkg, appUidF);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
settingsButton.setText(R.string.notification_more_settings);
|
||||||
} else {
|
} else {
|
||||||
settingsButton.setVisibility(View.GONE);
|
settingsButton.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
guts.bindImportance(pmUser, sbn, mNotificationData.getImportance(sbn.getKey()));
|
guts.bindImportance(pmUser, sbn, mNotificationData.getImportance(sbn.getKey()));
|
||||||
|
|
||||||
guts.findViewById(R.id.done).setOnClickListener(new View.OnClickListener() {
|
final TextView doneButton = (TextView) guts.findViewById(R.id.done);
|
||||||
|
doneButton.setText(R.string.notification_done);
|
||||||
|
doneButton.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
// If the user has security enabled, show challenge if the setting is changed.
|
// If the user has security enabled, show challenge if the setting is changed.
|
||||||
|
|||||||
Reference in New Issue
Block a user