Do I have any risk in using parentActivity in the manifest of my android application?

0

I have an activity with a text about terms of use. It can be called through a menu and opened directly. So for this reason I put the activity in parentActivityName in the manifest so that when it is open the arrow will appear to return to the main screen.

It looks like this:

    <activity
        android:name=".ActivityTerms"
        android:label="Declarações Legais"
        android:parentActivityName=".ActivityMain" />

Now after weeks of development, I realized that I need to call this same activity on a button on the signup screen, and some other places in the application.

Then it ceases to be related only to the main screen, and becomes of several other screens.

Until then I did some tests, and it worked normally, even if the arrow appears and the screen is not related to it, when clicking it is returning to the previous screen normally.

Now I ask ... can I have future problems in using it this way? Will not I have problems with other types of devices?

Because on my phone and the emulator it works normal, but my fear is when the application is launched, start giving some error because of this. Am I at risk?

    
asked by anonymous 16.03.2018 / 06:46

0 answers