How can I patch a system library in Android?
<p>I'd like to make a very minor patch to a file of the Android Core but even though I'm pretty well-versed with writing Android applications, I'm quite lost with how to go about this.</p>

<p>The line of the file I'm trying to patch is here: <a href="https://github.com/android/platform_frameworks_base/blob/master/core/java/android/provider/CallLog.java#L357" rel="nofollow">https://github.com/android/platform_frameworks_base/blob/master/core/java/android/provider/CallLog.java#L357</a></p>

<p>I'd like modify the code so that it is never invoked. (Just imagine it being commented out.)</p>

<p>How should I go about this? Is it possible to create a patch for this? My last resort would be to use the Xposed Framework.</p>
