Add Toast to show notification importance reset is completed.
Test: make RunSettingsRoboTests, manual test on device Bug: 172467473 Change-Id: I5f024c82fedf4dc596dcece9ea2f2444f9d86ad5
This commit is contained in:
@@ -19,6 +19,7 @@ package com.android.settings.notification;
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.preference.Preference;
|
||||
|
||||
@@ -57,6 +58,8 @@ public class ImportanceResetPreferenceController extends BasePreferenceControlle
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
mBackend.resetNotificationImportance();
|
||||
Toast.makeText(mContext, R.string.reset_importance_completed, Toast.LENGTH_SHORT)
|
||||
.show();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user