diff options
| author | Malcolm Chen <refuhoo@google.com> | 2019-12-10 18:59:36 -0800 | 
|---|---|---|
| committer | Xiangyu/Malcolm Chen <refuhoo@google.com> | 2019-12-13 00:56:15 +0000 | 
| commit | e54a3031c97ce55c8b15410d7fb78442c451ecad (patch) | |
| tree | 9e3b71ad04dfbedc94326d7920a951e815e0caba /graphics/java/android/renderscript/ProgramVertexFixedFunction.java | |
| parent | 01e54d44b9f21005edb1d1673eedec86ced33735 (diff) | |
Do not get CM instance in getActiveModemCount unless needed.
TM#getActiveModemCount might be called before ConnectivityService is
initialized. So do not try to get ConnectivityService instance unless
it's needed (very rarely). Otherwise it will throw WTF exception.
Bug: 144373595
Test: sanity
Change-Id: I7a90ec45a0a3700a0c6852c505d68f438f26768c
Merged-In: I7a90ec45a0a3700a0c6852c505d68f438f26768c
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
