commit | 86ef9827dabc05832997898e8d85504e007a206b | [log] [tgz] |
---|---|---|
author | Abodunrinwa Toki <toki@google.com> | Thu May 11 20:05:50 2017 +0100 |
committer | Abodunrinwa Toki <toki@google.com> | Fri May 12 13:13:25 2017 +0100 |
tree | b142130383bf2299921ea6f3c9e6480bc808d7d2 | |
parent | 6bf9b9a5f3cb1a72d013ddc133233301b93d5d99 [diff] |
TextClassifier: Ensure url scheme is in lowercase packageManager.resolveActivity(intentWithUppercaseScheme, 0) returns null. This means we don't find an activity to handle the browser intent. Create a browser intent with url's scheme in lowercase instead. Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Fixes: 36504599 Change-Id: Idb0c5b73d54cf77d5d6fb4ee0af4478ec11e8b82