Skip to content
Snippets Groups Projects
  • Stepan Salenikovich's avatar
    c6ff5011
    use user selected account when CM is not specified · c6ff5011
    Stepan Salenikovich authored
    When currentDefaultAccount() was being called with no CM as input
    (eg: from ther UserActionModel), then the scheme type was being
    set to NONE, and thus Ring accounts were not passing the check in
    validAccountForScheme(). This is because we can always detect the
    scheme for a Ring URI, so Ring accounts don't support the scheme
    of type NONE.
    
    However, in this situation we want the user selected account to
    be chosen, since there is no other information available.
    
    Change-Id: Ia2d9b02fb3bb0476f044541d276dba768468feb8
    c6ff5011
    History
    use user selected account when CM is not specified
    Stepan Salenikovich authored
    When currentDefaultAccount() was being called with no CM as input
    (eg: from ther UserActionModel), then the scheme type was being
    set to NONE, and thus Ring accounts were not passing the check in
    validAccountForScheme(). This is because we can always detect the
    scheme for a Ring URI, so Ring accounts don't support the scheme
    of type NONE.
    
    However, in this situation we want the user selected account to
    be chosen, since there is no other information available.
    
    Change-Id: Ia2d9b02fb3bb0476f044541d276dba768468feb8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.