1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2025-01-18 20:21:30 +01:00

通知タップ時に通知タブに移動しなかったバグの修正

This commit is contained in:
tateisu 2018-12-06 06:40:56 +09:00
parent ffee74f522
commit 24593db7d8

View File

@ -1532,7 +1532,7 @@ class PollingWorker private constructor(contextArg : Context) {
val intent_click = Intent(context, ActCallback::class.java)
intent_click.action = ActCallback.ACTION_NOTIFICATION_CLICK
intent_click.data =
"subwaytooter://notification_click/?db_id=$account.db_id".toUri()
"subwaytooter://notification_click/?db_id=${account.db_id}".toUri()
// FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY を付与してはいけない
intent_click.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
val pi_click = PendingIntent.getActivity(