Merge pull request #7446 from Marenz/patch-1

Aidl file: Fix wrong associated method documentation
This commit is contained in:
max-klaus 2019-08-20 13:35:15 +03:00 committed by GitHub
commit af835f7913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,6 +305,13 @@ interface IOsmAndAidlInterface {
*/ */
boolean addFavoriteGroup(in AddFavoriteGroupParams params); boolean addFavoriteGroup(in AddFavoriteGroupParams params);
/**
* Remove favorite group with given name.
*
* @param name (String) - name of favorite group.
*/
boolean removeFavoriteGroup(in RemoveFavoriteGroupParams params);
/** /**
* Update favorite group with given params. * Update favorite group with given params.
* *
@ -315,13 +322,6 @@ interface IOsmAndAidlInterface {
* @param colorNew (String) - group color (new). * @param colorNew (String) - group color (new).
* @param visibleNew (boolean) - group visibility (new). * @param visibleNew (boolean) - group visibility (new).
*/ */
boolean removeFavoriteGroup(in RemoveFavoriteGroupParams params);
/**
* Remove favorite group with given name.
*
* @param name (String) - name of favorite group.
*/
boolean updateFavoriteGroup(in UpdateFavoriteGroupParams params); boolean updateFavoriteGroup(in UpdateFavoriteGroupParams params);
/** /**
@ -338,6 +338,16 @@ interface IOsmAndAidlInterface {
*/ */
boolean addFavorite(in AddFavoriteParams params); boolean addFavorite(in AddFavoriteParams params);
/**
* Remove favorite at given location with given params.
*
* @param lat (double) - latitude.
* @param lon (double) - longitude.
* @param name (String) - name of favorite item.
* @param category (String) - category of favorite item.
*/
boolean removeFavorite(in RemoveFavoriteParams params);
/** /**
* Update favorite at given location with given params. * Update favorite at given location with given params.
* *
@ -356,16 +366,6 @@ interface IOsmAndAidlInterface {
* "lightgreen", "green", "lightblue", "blue", "purple", "pink", "brown". * "lightgreen", "green", "lightblue", "blue", "purple", "pink", "brown".
* @param visibleNew (boolean) - should new category be visible after creation. * @param visibleNew (boolean) - should new category be visible after creation.
*/ */
boolean removeFavorite(in RemoveFavoriteParams params);
/**
* Remove favorite at given location with given params.
*
* @param lat (double) - latitude.
* @param lon (double) - longitude.
* @param name (String) - name of favorite item.
* @param category (String) - category of favorite item.
*/
boolean updateFavorite(in UpdateFavoriteParams params); boolean updateFavorite(in UpdateFavoriteParams params);
/** /**