Get the Image of the trusted icon for this Display.
Only callers with the internal AMS permission can use this method.
MIDletStateHandler midletStateHandler =
MIDletStateHandler.getMidletStateHandler();
MIDletSuite suite = midletStateHandler.getMIDletSuite();
suite.checkIfPermissionAllowed(Permissions.AMS);
if (trustedIcon == null) {
byte[] imageData = ResourceHandler.getSystemImageResource(
classSecurityToken, "trustedmidlet_icon");
if (imageData != null) {
trustedIcon = Image.createImage(imageData, 0, imageData.length);
} else {
// Use a empty immutable image as placeholder
trustedIcon = Image.createImage(Image.createImage(16, 16));
}
}
return trustedIcon;