diff options
author | Siyamed Sinir <siyamed@google.com> | 2016-03-02 16:02:38 -0800 |
---|---|---|
committer | Siyamed Sinir <siyamed@google.com> | 2016-03-21 10:27:31 -0700 |
commit | 6eccafd3394f977d44c329dc75eb12739a818f4b (patch) | |
tree | 40dda13a873073b921bbb5c0c10ad40caa461167 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1981e602ad97e3a21bc987dbeb0625e87a58ff8d (diff) |
New Linkify.addLinks function with set of known schemes
A new addLinks function is added that accepts a default scheme and a
set of known schemes. Default scheme is applied whenever the link found
does not start with one of the given known schemes.
Moreover, previously JavaDoc for addLinks functions with a single scheme
parameter described that the scheme attribute will be prepended to the
links that do not have 'a' scheme. The code actually checks if the link
starts with the given scheme and prepends if not. JavaDoc updated
accordingly.
Bug: 26985901
Change-Id: I94ea81dcf83ba7a6b6cd47c10fe8fb277964eb15
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions