Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Solved: On screen rotation selected forms get unselected #120 #342

Closed
wants to merge 1 commit into from

Conversation

HarshitSachan1999
Copy link

Closes #

What has been done to verify that this works as intended?

I checked it by running the app in android device.

Why is this the best possible solution? Were any other approaches considered?

I found it best solution as it includes only one line of code in manifest file and it also solves bug #247. Yes, firstly I tried to save the changes within activity file but that wasn't working.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

I am not finding any regression risk.

Before submitting this PR, please make sure you have:

  • run ./gradlew checkCode and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.

Copy link
Contributor

@ajay-prabhakar ajay-prabhakar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @HarshitSachan1999 Thanks for the PR, looks like a duplicate of #248

@HarshitSachan1999
Copy link
Author

HarshitSachan1999 commented Jan 18, 2020

@Chromicle I had't seen #248. The issue is marked as open therefore i thought that no solution has been proposed. What should I do now ?

@@ -83,7 +83,8 @@

<activity
android:name=".views.ui.send.SendFormsActivity"
android:parentActivityName=".views.ui.main.MainActivity">
android:parentActivityName=".views.ui.main.MainActivity"
android:configChanges="keyboardHidden|orientation|screenSize">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HarshitSachan1999 we should not handle screen orientation changes using manifest changes.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lakshyagupta21 Does this mean that I have to look for some other method to resolve it ?

@lakshyagupta21
Copy link
Contributor

Closing this PR, @HarshitSachan1999 please go through the Github issue once you find any suitable issue and check if there are any open PR references or not, before start working on any issue. I know @opendatakit-bot is behaving very weird nowadays and we'll try to rectify the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants