-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BugFix - Use Long For X-Activity-Last-Given #1672
base: master
Are you sure you want to change the base?
BugFix - Use Long For X-Activity-Last-Given #1672
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense since PHP int
size can be up to 2^63.
Likely will need to be changed elsewhere too - i.e.
- https://github.com/nextcloud/android/blob/87a2bc7e70801ad8260b9d8cc10ceb109c41a9da/app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivitiesServiceApiImpl.java#L58
- https://github.com/nextcloud/android/blob/87a2bc7e70801ad8260b9d8cc10ceb109c41a9da/app/src/main/java/com/owncloud/android/ui/fragment/FileDetailActivitiesFragment.java#L260
Signed-off-by: alperozturk <[email protected]>
86363c1
to
ee1fb0c
Compare
master-IT test failed: https://www.kaminsky.me/nc-dev/android-library-integrationTests/3933-IT-master-14-05/debug/ |
stable-IT test failed: https://www.kaminsky.me/nc-dev/android-library-integrationTests/3933-IT-stable-14-11/debug/ |
Issue : X-Activity-Last-Given, exceeding the integer limit.
@tobiasKaminsky In Java, if a constructor expects a
long
primitive type, you can still pass anint
primitive type, and it will compile successfully. See the video below for reference. Therefore, there is no need to modify the Android Files Client.Screen.Recording.2025-03-03.at.14.46.00.mp4