@@ -120,17 +120,19 @@ public boolean onTransact(int code, Parcel data, Parcel reply, int flags)
120120 Uri [] grantedUriPermissions = data .createTypedArray (Uri .CREATOR );
121121 int grantedMode = data .readInt ();
122122 IBinder resultTo = data .readStrongBinder ();
123- String resultWho = data .readString ();
123+ String resultWho = data .readString ();
124124 int requestCode = data .readInt ();
125125 boolean onlyIfNeeded = data .readInt () != 0 ;
126126 boolean debug = data .readInt () != 0 ;
127+ boolean openglTrace = data .readInt () != 0 ;
127128 String profileFile = data .readString ();
128129 ParcelFileDescriptor profileFd = data .readInt () != 0
129130 ? data .readFileDescriptor () : null ;
130131 boolean autoStopProfiler = data .readInt () != 0 ;
131132 int result = startActivity (app , intent , resolvedType ,
132133 grantedUriPermissions , grantedMode , resultTo , resultWho ,
133- requestCode , onlyIfNeeded , debug , profileFile , profileFd , autoStopProfiler );
134+ requestCode , onlyIfNeeded , debug , openglTrace ,
135+ profileFile , profileFd , autoStopProfiler );
134136 reply .writeNoException ();
135137 reply .writeInt (result );
136138 return true ;
@@ -146,17 +148,19 @@ public boolean onTransact(int code, Parcel data, Parcel reply, int flags)
146148 Uri [] grantedUriPermissions = data .createTypedArray (Uri .CREATOR );
147149 int grantedMode = data .readInt ();
148150 IBinder resultTo = data .readStrongBinder ();
149- String resultWho = data .readString ();
151+ String resultWho = data .readString ();
150152 int requestCode = data .readInt ();
151153 boolean onlyIfNeeded = data .readInt () != 0 ;
152154 boolean debug = data .readInt () != 0 ;
155+ boolean openglTrace = data .readInt () != 0 ;
153156 String profileFile = data .readString ();
154157 ParcelFileDescriptor profileFd = data .readInt () != 0
155158 ? data .readFileDescriptor () : null ;
156159 boolean autoStopProfiler = data .readInt () != 0 ;
157160 WaitResult result = startActivityAndWait (app , intent , resolvedType ,
158161 grantedUriPermissions , grantedMode , resultTo , resultWho ,
159- requestCode , onlyIfNeeded , debug , profileFile , profileFd , autoStopProfiler );
162+ requestCode , onlyIfNeeded , debug , openglTrace ,
163+ profileFile , profileFd , autoStopProfiler );
160164 reply .writeNoException ();
161165 result .writeToParcel (reply , 0 );
162166 return true ;
@@ -1607,17 +1611,17 @@ public ActivityManagerProxy(IBinder remote)
16071611 {
16081612 mRemote = remote ;
16091613 }
1610-
1614+
16111615 public IBinder asBinder ()
16121616 {
16131617 return mRemote ;
16141618 }
1615-
1619+
16161620 public int startActivity (IApplicationThread caller , Intent intent ,
16171621 String resolvedType , Uri [] grantedUriPermissions , int grantedMode ,
16181622 IBinder resultTo , String resultWho ,
16191623 int requestCode , boolean onlyIfNeeded ,
1620- boolean debug , String profileFile , ParcelFileDescriptor profileFd ,
1624+ boolean debug , boolean openglTrace , String profileFile , ParcelFileDescriptor profileFd ,
16211625 boolean autoStopProfiler ) throws RemoteException {
16221626 Parcel data = Parcel .obtain ();
16231627 Parcel reply = Parcel .obtain ();
@@ -1632,6 +1636,7 @@ public int startActivity(IApplicationThread caller, Intent intent,
16321636 data .writeInt (requestCode );
16331637 data .writeInt (onlyIfNeeded ? 1 : 0 );
16341638 data .writeInt (debug ? 1 : 0 );
1639+ data .writeInt (openglTrace ? 1 : 0 );
16351640 data .writeString (profileFile );
16361641 if (profileFd != null ) {
16371642 data .writeInt (1 );
@@ -1651,7 +1656,7 @@ public WaitResult startActivityAndWait(IApplicationThread caller, Intent intent,
16511656 String resolvedType , Uri [] grantedUriPermissions , int grantedMode ,
16521657 IBinder resultTo , String resultWho ,
16531658 int requestCode , boolean onlyIfNeeded ,
1654- boolean debug , String profileFile , ParcelFileDescriptor profileFd ,
1659+ boolean debug , boolean openglTrace , String profileFile , ParcelFileDescriptor profileFd ,
16551660 boolean autoStopProfiler ) throws RemoteException {
16561661 Parcel data = Parcel .obtain ();
16571662 Parcel reply = Parcel .obtain ();
@@ -1666,6 +1671,7 @@ public WaitResult startActivityAndWait(IApplicationThread caller, Intent intent,
16661671 data .writeInt (requestCode );
16671672 data .writeInt (onlyIfNeeded ? 1 : 0 );
16681673 data .writeInt (debug ? 1 : 0 );
1674+ data .writeInt (openglTrace ? 1 : 0 );
16691675 data .writeString (profileFile );
16701676 if (profileFd != null ) {
16711677 data .writeInt (1 );
0 commit comments