Merge "Update usage of DPM.getLongSupportMessageForUser." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
91f287908b
@@ -558,7 +558,7 @@ public class DeviceAdminAdd extends Activity {
|
|||||||
mActionButton.setText(R.string.remove_device_admin);
|
mActionButton.setText(R.string.remove_device_admin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String supportMessage = mDPM.getLongSupportMessageForUser(
|
CharSequence supportMessage = mDPM.getLongSupportMessageForUser(
|
||||||
mDeviceAdmin.getComponent(), UserHandle.myUserId());
|
mDeviceAdmin.getComponent(), UserHandle.myUserId());
|
||||||
if (!TextUtils.isEmpty(supportMessage)) {
|
if (!TextUtils.isEmpty(supportMessage)) {
|
||||||
mSupportMessage.setText(supportMessage);
|
mSupportMessage.setText(supportMessage);
|
||||||
|
Reference in New Issue
Block a user