javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/rt/installer/ApplicationUtilsImpl.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
83 Log.log("ApplicationUtilsImpl.notifyExitCmd"); |
83 Log.log("ApplicationUtilsImpl.notifyExitCmd"); |
84 // Cancel installation/uninstallation. |
84 // Cancel installation/uninstallation. |
85 Installer.cancel(); |
85 Installer.cancel(); |
86 } |
86 } |
87 |
87 |
|
88 public void uiDisposed() |
|
89 { |
|
90 Log.log("ApplicationUtilsImpl.uiDisposed"); |
|
91 } |
|
92 |
88 public void checkPermission(Permission aPermission) |
93 public void checkPermission(Permission aPermission) |
89 throws AccessControlException, NullPointerException |
94 throws AccessControlException, NullPointerException |
90 { |
95 { |
91 checkPermission(null, aPermission); |
96 checkPermission(null, aPermission); |
92 } |
97 } |
110 return; |
115 return; |
111 } |
116 } |
112 |
117 |
113 boolean userPromptAllowed = false; |
118 boolean userPromptAllowed = false; |
114 if (aPermission.toString().equals( |
119 if (aPermission.toString().equals( |
115 "javax.microedition.io.PushRegistryPermission")) |
120 "javax.microedition.io.PushRegistry")) |
116 { |
121 { |
117 // PushRegistryPermission is the only permission which |
122 // PushRegistryPermission is the only permission which |
118 // must be prompted from the user during installation. |
123 // must be prompted from the user during installation. |
119 userPromptAllowed = true; |
124 userPromptAllowed = true; |
120 } |
125 } |