OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.webapk.lib.client; | 5 package org.chromium.webapk.lib.client; |
6 | 6 |
7 import android.app.PendingIntent; | 7 import android.app.PendingIntent; |
8 import android.content.ComponentName; | 8 import android.content.ComponentName; |
9 import android.content.Context; | 9 import android.content.Context; |
10 import android.content.Intent; | 10 import android.content.Intent; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 if (actionPendingIntents != null) { | 126 if (actionPendingIntents != null) { |
127 for (int actionIndex = 0; actionIndex < actionPendingIntents.length; | 127 for (int actionIndex = 0; actionIndex < actionPendingIntents.length; |
128 actionIndex++) { | 128 actionIndex++) { |
129 notificationBuilder.addAction(actionIcons[actionIndex], | 129 notificationBuilder.addAction(actionIcons[actionIndex], |
130 actionTitles[actionIndex], | 130 actionTitles[actionIndex], |
131 actionPendingIntents[actionIndex]); | 131 actionPendingIntents[actionIndex]); |
132 } | 132 } |
133 } | 133 } |
134 } | 134 } |
135 } | 135 } |
OLD | NEW |