So i followed karl999999's idea, and i made a more clean and stable changes.
This mod will :
- Not remove any log
- Set the Default Call logs type to "View All Call logs" (no SMS)
- Let you view/edit all other logs types
Edit "Contacts.apk\smali\com\android\contacts\activitie s\DialtactsActivity.smali" (Red changes) :
Code:
.method public onBackPressed()V
.locals 3
const/4 v2, 0x1
iget-object v0, p0, Lcom/android/contacts/activities/DialtactsActivity;->mDialpadFragment:Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;
if-eqz v0, :cond_0
Code:
.method public constructor()V
.locals 2
const/4 v1, 0x1
invoke-direct {p0}, Lcom/sec/android/app/dialertab/widget/DialtactsListFragment;->()V
const/4 v0, -0x1
iput v0, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mCallType:I
iput-boolean v1, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mSweepActionEnabled:Z
const/4 v0, 0x0
iput v1, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I
Uploaded patches to be used on stock deodexed Roms.
0 comments:
Post a Comment