Bouncer

KeyguardBouncer is the component responsible for displaying the security method set by the user (password, PIN, pattern) as well as SIM-related security methods, allowing the user to unlock the device or SIM.

Components

The bouncer contains a hierarchy of controllers/views to render the user's security method and to manage the authentication attempts.

  1. KeyguardBouncer - Entrypoint for managing the bouncer visibility.
    1. KeyguardHostViewController - Intercepts media keys. Can most likely be merged with the next item.
      1. KeyguardSecurityContainerController - Manages unlock attempt responses, one-handed use
        1. KeyguardSecurityViewFlipperController - Based upon the KeyguardSecurityModel#SecurityMode, will instantiate the required view and controller. PIN, Pattern, etc.