Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Add the @IntRange annotation to requestCode to prevent invalid input #325

Merged
samtstern merged 2 commits into googlesamples:master from tall-nuts:master
Apr 26, 2021
Merged

Conversation

@tall-nuts
Copy link
Contributor

@tall-nuts tall-nuts commented Apr 25, 2021

Fix the requestCode is not valid lead to FragmentActivity java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode

gaopengfei added 2 commits April 25, 2021 13:21
...llegalArgumentException: Can only use lower 16 bits for requestCode
...llegalArgumentException: Can only use lower 16 bits for requestCode
Copy link

google-cla bot commented Apr 25, 2021

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

i️ Googlers: Go here for more info.

Copy link
Contributor Author

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.

What to do if you already signed the CLA

Individual signers
Corporate signers

i️ Googlers: Go here for more info.

@googlebot I signed it!

@samtstern samtstern added this to the 3.0.1 milestone Apr 26, 2021
Copy link
Contributor

@PengfeiGao thank you! This seems like a good change.

@samtstern samtstern merged commit 1d8c6e0 into googlesamples:master Apr 26, 2021
vmadalin added a commit to vmadalin/easypermissions-ktx that referenced this pull request May 4, 2021
* Put in defense for issue 278 (googlesamples#290)
* Updating project to support Android Studio 4.0 (googlesamples#307)
* Updating module 'app' to Java 8 syntax (googlesamples#308)
* Changed getContext() to requireContext(), to ensure it is not null. (googlesamples#309)
* Add link to easypermissions-ktx
* Move from JCenter to Maven Central (googlesamples#323)
* Add the @IntRange annotation to requestCode to prevent invalid input (googlesamples#325)
Co-authored-by: gaopengfei <gaopengfei@huobi.com>
* Move to GitHub Actions (googlesamples#326)
* Start migrating project to maven central
* Fix build
* Update with correct maven central links
Co-authored-by: Sam Stern <samstern@google.com>
Co-authored-by: Fung <seventhmoon@gmail.com>
Co-authored-by: Fung <chofung@google.com>
Co-authored-by: coder1024 <gaopengfeidev@gmail.com>
Co-authored-by: gaopengfei <gaopengfei@huobi.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer

@samtstern samtstern samtstern approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

3.0.1

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /