<table><tr><td style="">cacahueto updated this revision to Diff 76684.<br />cacahueto added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27528">View Revision</a></tr></table><br /><div><div><p>Adapt action numbering in Android to work like in KNotifications</p>
<p>Summary:<br />
KNotifications assigns the ID 0 to the default action on a notification (the<br />
one when the notification itself is selected). Additional actions (buttons on<br />
the notification) are counted starting with 1.</p>
<p>In the Android backend however, the default action has ID 0 and the additional<br />
actions are counted starting with 0 as well. This has been fixed to work as<br />
described above.</p>
<p>Reviewers: <a href="https://phabricator.kde.org/tag/frameworks/" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">#frameworks</a>, nicolasfella, vkrause</p>
<p>Subscribers: kde-frameworks-devel</p>
<p>Tags: <a href="https://phabricator.kde.org/tag/frameworks/" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">#frameworks</a></p>
<p>Differential Revision: <a href="https://phabricator.kde.org/D27528" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D27528</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R289 KNotifications</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D27528?vs=76065&id=76684">https://phabricator.kde.org/D27528?vs=76065&id=76684</a></div></div><br /><div><strong>BRANCH</strong><div><div>adapt-action-numbering-in-android-as-in-knotifications (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27528">https://phabricator.kde.org/D27528</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/android/org/kde/knotifications/NotifyByAndroid.java</div></div></div><br /><div><strong>To: </strong>cacahueto, Frameworks, nicolasfella, vkrause<br /><strong>Cc: </strong>jbbgameich, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>