Revert "[Mainline]Remove PhoneFactory.addLocalLog and PhoneFactory.localLog"

This reverts commit bf3c3c43792c7790dc6cc743c493d1c6eeca3401.

Reason for revert: This change was made to decouple TelephonyProvider
from telephony but that's not needed for R now. Adding local log back
to debug SMS db loss issue.

Bug: 153021568
Change-Id: I80b6c8dafe1d5b20572d40c0e730796ebe24807d
Merged-in: I80b6c8dafe1d5b20572d40c0e730796ebe24807d
(cherry picked from commit 0c1d0ddc7939069b0473f91af40dbd1fdd31994d)
2 files changed