Bug P2
Status Update
Comments
da...@well.co <da...@well.co> #2
I face with the same problem. I have different pageMargin in landscape and portrait and when viewpager is scrolled for the more than first position, after rotating device it is shifted.
I beleive the problem is inside onSizeChanged that is called after onConfigurationChanged, it has following code:
if (w != oldw) {
recomputeScrollPosition(w, oldw, mPageMargin, mPageMargin);
}
w always not equals oldw when changing orientation, so recomputeScrollPosition is called, but whit the same values for margin and oldMargin.
This should be fixed.
I beleive the problem is inside onSizeChanged that is called after onConfigurationChanged, it has following code:
if (w != oldw) {
recomputeScrollPosition(w, oldw, mPageMargin, mPageMargin);
}
w always not equals oldw when changing orientation, so recomputeScrollPosition is called, but whit the same values for margin and oldMargin.
This should be fixed.
da...@well.co <da...@well.co> #3
[Comment deleted]
ic...@yahoo.com <ic...@yahoo.com> #4
Comment has been deleted.
Description
Feature Request:
It would be great if you can add in the documentation how to work around when KeyPermanentlyInvalidatedException is thrown.
Per docs, KeyPermanentlyInvalidatedException, indicates that the key can no longer be used because it has been permanently invalidated. But, it is not too clear what should be the next step when this happen.
Catching the exception, deleting the invalid key and generating a new one is maybe part of the solution, but with the new key we are not able anymore to decrypt already encrypted data(with the previous key). So, for this we should have a fallback flow where we ask the user for the data to be encrypted again with the new key.