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.