Merge "Update usage of DPM.getLongSupportMessageForUser." into nyc-dev am: 91f2879
am: 033f12b
* commit '033f12b680e916a241709c317e261c05bbfbdd60':
Update usage of DPM.getLongSupportMessageForUser.
Change-Id: I529bfbdc9b4c6f9d05035f6ae4ba98d4b11040e8
This commit is contained in:
@@ -558,7 +558,7 @@ public class DeviceAdminAdd extends Activity {
|
||||
mActionButton.setText(R.string.remove_device_admin);
|
||||
}
|
||||
}
|
||||
String supportMessage = mDPM.getLongSupportMessageForUser(
|
||||
CharSequence supportMessage = mDPM.getLongSupportMessageForUser(
|
||||
mDeviceAdmin.getComponent(), UserHandle.myUserId());
|
||||
if (!TextUtils.isEmpty(supportMessage)) {
|
||||
mSupportMessage.setText(supportMessage);
|
||||
|
Reference in New Issue
Block a user