synchronized (BundleFrameworkManager.SHARED_FRAMEWORK_LOCK) {
BundleFramework framework = getBundleFramework(b);
if (framework != null) // App Content
{
for (Bundle bundle : framework.getBundles())
framework.stop(bundle);
}
// Do not stop shared bundles
}
}