Skip to content

Commit 983d8e0

Browse files
author
git-core
committed
Reorder the code which stores intent into parcel for clarity
Data themself aren't changed actually, only comments around the code
1 parent cf50c02 commit 983d8e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activity.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ int send_intent(struct su_initiator *from, struct su_request *to, const char *so
7676
data.writeString16(NULL, 0); /* package name - DONUT ONLY, NOT IN CUPCAKE. */
7777
}
7878
data.writeString16(NULL, 0); /* ComponentName - package */
79-
data.writeInt32(0); /* Categories - size */
8079
if (sdk_version >= 7) {
8180
// added in eclair rev 7
82-
data.writeInt32(0);
81+
data.writeInt32(0); /* Rect - the bounds of the sender */
8382
}
83+
data.writeInt32(0); /* Categories - size */
8484
if (sdk_version >= 15) {
8585
// added in IceCreamSandwich 4.0.3
8686
data.writeInt32(0); /* Selector */

0 commit comments

Comments
 (0)