commit | b0f1352be15c0f669bd538fffee121ac2ec902a7 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Oct 31 15:48:50 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Nov 03 19:26:06 2017 +0000 |
tree | 9933f2201f15681b380c1eb8a83c505c0c3f70d3 | |
parent | b75425a0d6620d69b550c47f3d4860cbe7901bec [diff] |
Fix BatteryManager.getIntProperty returns 0 as invalid value. Long.MIN_VALUE cast to Integer.MIN_VALUE always returns 0. Change-Id: Ief7a1fd12a356c83a4ef3f28139c330034507dfa Fixes: 37090343 Test: BatteryManagerTest