Project

General

Profile

« Previous | Next » 

Revision 2dcbfabb

Added by osmith about 4 years ago

IMSIPseudo.java: rename menuItemText to title

View differences:

sim-applet/src/org/osmocom/IMSIPseudo/IMSIPseudo.java
17 17
	private byte helloMenuItem;
18 18

  
19 19
	static byte[] LUCounter = new byte[] { '0', 'x', ' ', 'L', 'U' };
20
	static byte[] menuItemText = new byte[] { 'I', 'M', 'S', 'I', ' ', 'P', 's', 'e', 'u', 'd', 'o', 'n', 'y', 'm',
21
						  'i', 'z', 'a', 't', 'i', 'o', 'n'};
20
	static byte[] title = new byte[] { 'I', 'M', 'S', 'I', ' ', 'P', 's', 'e', 'u', 'd', 'o', 'n', 'y', 'm',
21
					   'i', 'z', 'a', 't', 'i', 'o', 'n'};
22 22

  
23 23
	private IMSIPseudo() {
24 24
		// This is the interface to the STK applet registry (which is separate
......
26 26
		ToolkitRegistry reg = ToolkitRegistry.getEntry();
27 27

  
28 28
		// Define the applet Menu Entry
29
		helloMenuItem = reg.initMenuEntry(menuItemText, (short)0, (short)menuItemText.length,
29
		helloMenuItem = reg.initMenuEntry(title, (short)0, (short)title.length,
30 30
				PRO_CMD_SELECT_ITEM, false, (byte)0, (short)0);
31 31
		reg.setEvent(EVENT_EVENT_DOWNLOAD_LOCATION_STATUS);
32 32
	}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 48.8 MB)