Commit 65a076bb authored by souch's avatar souch
Browse files

Fix typos. Fix notification do not showed up.

parent 1f271cec
......@@ -443,14 +443,15 @@ public class Settings extends SQLiteOpenHelper
messageViewerIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
messageViewerIntent.putExtra(MessageViewer.MESSAGE_ID_EXTRA, messageID);
PendingIntent pendingIntent = PendingIntent.getActivity(mContext, MessageViewer.REQUEST_CODE_MUTATED, messageViewerIntent, PendingIntent.FLAG_ONE_SHOT);
*/
// just do nothing
PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(), 0);
notification.setLatestEventInfo(
mContext,
mContext.getString(R.string.smsFilterBlockedAMessage),
mContext.getString(R.string.clickToViewBlockedMessage),
pendingIntent);
*/
// just do nothing
PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(), 0);
Notifier.notify(mContext, String.valueOf(messageID), Notifier.NEW_MESSAGE, notification);
}
......
......@@ -19,7 +19,7 @@
Forked from smsfilter (author: Jelle Geerts).
-->
<souch.smsbypas.CheckableLinearLayout
<souch.smsbypass.CheckableLinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -62,4 +62,4 @@
android:focusable="false"
android:clickable="false" />
</souch.smsbypas.CheckableLinearLayout>
</souch.smsbypass.CheckableLinearLayout>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment