-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature/issue 738 - Support for Short and Full UUID App ID #802
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #802 +/- ##
=============================================
+ Coverage 43.8% 43.83% +0.02%
- Complexity 3038 3057 +19
=============================================
Files 383 383
Lines 17795 17849 +54
Branches 1750 1753 +3
=============================================
+ Hits 7795 7824 +29
- Misses 9672 9698 +26
+ Partials 328 327 -1
Continue to review full report at Codecov.
|
public static final String GENERAL_APP_ID = "123e4567e8"; | ||
public static final String GENERAL_FULL_APP_ID = "123e4567-e89b-12d3-a456-426655440000"; | ||
|
||
|
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.
please remove extra white space
# Conflicts: # sdl_android/src/androidTest/java/com/smartdevicelink/test/Test.java
|
||
/** | ||
* Sets a unique ID, which an app will be given when approved | ||
* |
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.
Please add a note that this will automatically parse the full id into the smaller app id and set it
|
||
@Override | ||
public void format(Version rpcVersion, boolean formatParams) { | ||
if (getFullAppID() == null){ |
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.
Please add a check here if(rpcVersion == null || rpcVersion.getMarjor() >= 5)
Fixes #738
This PR is ready for review.
Risk
This PR makes minor API changes.
Testing Plan
fullAppID
field inRegisterAppInterface
.Summary
This PR adds a new
fullAppID
parameter toRegisterAppInterface
RPC as described in the proposal.CLA