javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/install/steps/CheckJarPackages.java
branchRCL_3
changeset 83 26b2b12093af
parent 71 d5e927d5853b
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
     1 /*
     1 /*
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2009 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".
    36 
    36 
    37         // Let the security framework know the unique id of
    37         // Let the security framework know the unique id of
    38         // the installation drive. This is needed to determine
    38         // the installation drive. This is needed to determine
    39         // if tamper detection is needed.
    39         // if tamper detection is needed.
    40         AuthenticationModule.getInstance().setMediaId(
    40         AuthenticationModule.getInstance().setMediaId(
       
    41             ball.iStorageHandler.getSession(),
    41             ball.iSuite.getUid(), ball.iSuite.getMediaId());
    42             ball.iSuite.getUid(), ball.iSuite.getMediaId());
    42 
    43 
    43         // Application package scanning must be skipped if instructed so
    44         // Application package scanning must be skipped if instructed so
    44         if (ball.iArgs.get("skipjarcheck") != null)
    45         if (ball.iArgs.get("skipjarcheck") != null)
    45         {
    46         {
    70         }
    71         }
    71 
    72 
    72         // Application touch support detection is not needed
    73         // Application touch support detection is not needed
    73         // if Nokia-MIDlet-On-Screen-Keypad has been defined.
    74         // if Nokia-MIDlet-On-Screen-Keypad has been defined.
    74         boolean touchDetection = true;
    75         boolean touchDetection = true;
    75         if (ball.getAttributeValue("Nokia-MIDlet-On-Screen-Keypad") != null &&
    76         if (ball.getAttributeValue("Nokia-MIDlet-On-Screen-Keypad") != null)
    76             ball.iSuite.getOnScreenKeypad() != SuiteInfo.OSK_UNDEFINED)
       
    77         {
    77         {
    78             touchDetection = false;
    78             touchDetection = false;
    79         }
    79         }
    80 
    80 
    81         // Application package scanning must not be skipped for
    81         // Application package scanning must not be skipped for