| 224 | } |
| 225 | |
| 226 | void |
| 227 | BundlePrivate::SetStateInstalled(bool sendEvent) |
| 228 | { |
| 229 | // Make sure that bundleContext is invalid |
| 230 | std::shared_ptr<BundleContextPrivate> ctx; |
| 231 | if ((ctx = bundleContext.Exchange(ctx))) |
| 232 | { |
| 233 | ctx->Invalidate(); |
| 234 | } |
| 235 | |
| 236 | state = Bundle::STATE_INSTALLED; |
| 237 | if (sendEvent) |
| 238 | { |
| 239 | operation = OP_UNRESOLVING; |
| 240 | coreCtx->listeners.BundleChanged({ BundleEvent::BUNDLE_RESOLVED, MakeBundle(this->shared_from_this()) }); |
| 241 | } |
| 242 | operation = OP_IDLE; |
| 243 | } |
| 244 | |
| 245 | void |
| 246 | BundlePrivate::FinalizeActivation() |
no test coverage detected