commit | cc3fad30975e66875588d87e7e6c7af9a35b62fd | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Tue Nov 01 11:48:24 2016 -0400 |
committer | Andreas Gampe <agampe@google.com> | Tue Dec 06 17:45:34 2016 -0800 |
tree | bae5af9fe283a2ec5272c9c1787b2e5b34d7b625 | |
parent | 82834baa358f55acb542e17da828b2d497cf8332 [diff] |
Workaround for javac compilation issue of lambda code Since ag/32554459 some Robolectric tests are compiling framework code with javac. For reasons unclear so far this code fails to compile with javac: > ShortcutService.java:408: error: variable ri might not have been initialized https://android-build.googleplex.com/builds/submitted/3416256/angelfish-userdebug/latest/logs Removing the lambda expressions corrects the issue. (cherry picked from commit e065f7c5a9ad4e47f5490793401445660af37624) BUG: 32554459 Test: m Change-Id: I189c8ef02dc93b46ef6418c1ff14f2312097898a