Modify ambiguous getId method in LinkSpan
- getId() in LinkSpan.java returns a String type which clashes with the same method in its superclass, this will make developer confused, and even make compile failed when OEM using gradle to compile SUW.
- For now we just annotate the old method with Deprecated and add a new method as a suggestion, hoping to avoid compile errors for applications that already depend on it. The old method should be removed sooner or later.
Bug: 256046112
Test: mannual and compile successfully.
Change-Id: I91060901a090bb53ce52654436ebf3445e53118d
1 file changed