Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 158dcb1d authored by maxwen's avatar maxwen Committed by Luca Stefani
Browse files

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: default avatarAlexander Diewald <Diewi@diewald-net.com>
parent 53d2dcbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment