equal
deleted
inserted
replaced
21 #include <seconsdkcrkeys.h> |
21 #include <seconsdkcrkeys.h> |
22 |
22 |
23 #include <swi/sisregistryentry.h> // for searching app name from installer |
23 #include <swi/sisregistryentry.h> // for searching app name from installer |
24 #include <swi/sisregistrypackage.h> |
24 #include <swi/sisregistrypackage.h> |
25 #include <swi/sisregistrysession.h> |
25 #include <swi/sisregistrysession.h> |
26 // Currently Java is on APP layer, we can't have dependencies to APP layer |
26 #include <javaregistryincludes.h> |
27 //#include <javaregistryincludes.h> |
27 using namespace Java; |
28 //using namespace Java; |
|
29 |
28 |
30 #include "sconsyncservice.h" |
29 #include "sconsyncservice.h" |
31 #include "capability.h" |
30 #include "capability.h" |
32 #include "debug.h" |
31 #include "debug.h" |
33 |
32 |
287 } |
286 } |
288 else |
287 else |
289 { |
288 { |
290 // not sis app, might be java app. |
289 // not sis app, might be java app. |
291 LOGGER_WRITE("SIS package not found"); |
290 LOGGER_WRITE("SIS package not found"); |
292 /* |
|
293 CJavaRegistry* javaRegistry = CJavaRegistry::NewLC( ); |
291 CJavaRegistry* javaRegistry = CJavaRegistry::NewLC( ); |
294 TBool entryExist = javaRegistry->RegistryEntryExistsL( aPackageUid ); |
292 TBool entryExist = javaRegistry->RegistryEntryExistsL( aPackageUid ); |
295 if ( entryExist ) |
293 if ( entryExist ) |
296 { |
294 { |
297 CJavaRegistryEntry* entry = javaRegistry->RegistryEntryL( aPackageUid ); |
295 CJavaRegistryEntry* entry = javaRegistry->RegistryEntryL( aPackageUid ); |
301 delete entry; |
299 delete entry; |
302 } |
300 } |
303 } |
301 } |
304 |
302 |
305 CleanupStack::PopAndDestroy( javaRegistry ); |
303 CleanupStack::PopAndDestroy( javaRegistry ); |
306 */ |
|
307 } |
304 } |
308 |
305 |
309 CleanupStack::PopAndDestroy( &sisRegistry ); |
306 CleanupStack::PopAndDestroy( &sisRegistry ); |
310 TRACE_FUNC_EXIT; |
307 TRACE_FUNC_EXIT; |
311 } |
308 } |