Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1445

When a component is deactivated due to the deactivation of a service to which it staticly 1..1 references, this component is not reactivated when that service is reregistered.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      According to the comments in the method serviceAdded of class DependencyManager, it looks like the first "if" is to check the unsatisfied state.
      But there are 2 unsatisfied state: STATE_ENABLED and STATE_UNSATISFIED.

      So the first "if" should be as follows.

      if ( (m_componentManager.getState() &
      (AbstractComponentManager.STATE_ENABLED | AbstractComponentManager.STATE_UNSATISFIED)) != 0)

      And in the following "else if", the method "handleServiceEvent" is going to check the statisfied state.
      So "STATE_UNSATISFIED" should be removed from DependencyManager.STATE_MASK.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fmeschbe Felix Meschberger
            agemocui Agemo Cui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment