equal
deleted
inserted
replaced
559 TBool exists = javaRegistry->RegistryEntryExistsL( aUid ); |
559 TBool exists = javaRegistry->RegistryEntryExistsL( aUid ); |
560 |
560 |
561 CleanupStack::PopAndDestroy( javaRegistry ); |
561 CleanupStack::PopAndDestroy( javaRegistry ); |
562 return exists; |
562 return exists; |
563 */ |
563 */ |
|
564 return EFalse; |
564 |
565 |
565 } |
566 } |
566 |
567 |
567 #endif |
568 #endif |
568 |
569 |
1837 // |
1838 // |
1838 void CNcdInstallationService::InitializeRomApplicationListL() |
1839 void CNcdInstallationService::InitializeRomApplicationListL() |
1839 { |
1840 { |
1840 DLTRACEIN(("")); |
1841 DLTRACEIN(("")); |
1841 |
1842 |
1842 TApaAppInfo info; |
1843 /* TApaAppInfo info; |
1843 ConnectApaLsL(); |
1844 ConnectApaLsL(); |
1844 User::LeaveIfError( iApaLs.GetAllApps() ); |
1845 User::LeaveIfError( iApaLs.GetAllApps() ); |
1845 |
1846 |
1846 iRomUids.Reset(); |
1847 iRomUids.Reset(); |
1847 |
1848 |
1865 |
1866 |
1866 do |
1867 do |
1867 { |
1868 { |
1868 appErr = iApaLs.GetNextApp( info ); |
1869 appErr = iApaLs.GetNextApp( info ); |
1869 if ( appErr == KErrNone ) |
1870 if ( appErr == KErrNone ) |
1870 { |
1871 { |
|
1872 DLTRACE(("After GetNextApp")); |
1871 // App is considered a ROM app if its not found either |
1873 // App is considered a ROM app if its not found either |
1872 // in SIS registry or midlet registry |
1874 // in SIS registry or midlet registry |
1873 // Note: ROM apps can be in SIS registry also but that doesn't |
1875 // Note: ROM apps can be in SIS registry also but that doesn't |
1874 // matter because we just want to get a list of apps that are |
1876 // matter because we just want to get a list of apps that are |
1875 // not found anywhere else but apparc |
1877 // not found anywhere else but apparc |
1908 } |
1910 } |
1909 } |
1911 } |
1910 while( appErr == KErrNone && retryCount >= 0 ); |
1912 while( appErr == KErrNone && retryCount >= 0 ); |
1911 |
1913 |
1912 iApaLs.Close(); |
1914 iApaLs.Close(); |
1913 CleanupStack::PopAndDestroy( &midletUids ); |
1915 CleanupStack::PopAndDestroy( &midletUids );*/ |
1914 |
1916 |
1915 DLTRACEOUT(("ROM apps: %d", iRomUids.Count() )); |
1917 DLTRACEOUT(("ROM apps: %d", iRomUids.Count() )); |
1916 } |
1918 } |
1917 |
1919 |
1918 |
1920 |
2143 CJavaRegistry* registry = CJavaRegistry::NewLC(); |
2145 CJavaRegistry* registry = CJavaRegistry::NewLC(); |
2144 TUid midletUid = LatestMidletUidL( *registry ); |
2146 TUid midletUid = LatestMidletUidL( *registry ); |
2145 CleanupStack::PopAndDestroy( registry ); |
2147 CleanupStack::PopAndDestroy( registry ); |
2146 return midletUid; |
2148 return midletUid; |
2147 */ |
2149 */ |
|
2150 |
|
2151 return KNullUid; |
|
2152 |
2148 } |
2153 } |
2149 |
2154 |
2150 #endif // USE_OLD_JAVA_API |
2155 #endif // USE_OLD_JAVA_API |
2151 |
2156 |
2152 |
2157 |