Telephony: dont scare AOSP people
* On AOSP it's ok to not have QtiTelephonyComponentFactory
so don't scare them with a stack trace but a nice message only
Change-Id: I6644c4df91f1fbb775c368c62ef1ad90e1874cf7
telephony: Construct TelephonyComponentFactory correctly wo qti jar.
* In the absence of the file "/system/frameworks/qti-telephony-common.jar",
the default TelephonyComponentFactory shall be instantiated.
This fails in the current version, since the ClassLoader already
produces an exception in the absence of the jar. Hence, place
the ClassLoader construction in the try statement such that
a TelephonyComponentFactory is constructed for the singleton.
* No stack trace is shown when the jar is abscent, but an
informative message as intended before.
Change-Id: I3b7970ac3f58483d9a044a4252775bf7d32ac217
Signed-off-by:
Alexander Diewald <Diewi@diewald-net.com>
Loading
Please register or sign in to comment