Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • J jami-client-android
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 199
    • Issues 199
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • savoirfairelinux
  • jami-client-android
  • Issues
  • #472
Closed
Open
Created Mar 09, 2018 by RingBot@RingBotOwner

Add deprecated "onAttach()" to avoid compatibility in API level < 23.

Issue generated from Tuleap's migration script. Originally submitted by: Warren Wong (strooonger)

Hi,

I notice that you override callback function onAttach(Context) in class RingAccountCreationFragment, which is a subclass of android.app.Fragment. For your reference, onAttach(Context) was added in API level 23, which means it does not execute in API level < 23 (See this link). 

To test this issue, when RingAccountCreationFragment starts, the program runs normally in Android 6.0, but this function does not execute in Android 5.1 or earlier devices, meaning that the title of ActionBar will not be set.

You may consider adding deprecated onAttach(Activity) to fix this issue. 

Thanks.

Assignee
Assign to
Time tracking