@@ -248,28 +248,28 @@ public OutOfResourcesException(String name) {
248248
249249 /** create a surface @hide */
250250 public Surface (SurfaceSession s ,
251- int pid , int display , int w , int h , int format , int flags )
251+ int pid , int displayId , int w , int h , int format , int flags )
252252 throws OutOfResourcesException {
253253 checkHeadless ();
254254
255255 if (DEBUG_RELEASE ) {
256256 mCreationStack = new Exception ();
257257 }
258258 mCanvas = new CompatibleCanvas ();
259- init (s ,pid ,null ,display ,w ,h ,format ,flags );
259+ init (s ,pid ,null ,displayId ,w ,h ,format ,flags );
260260 }
261261
262262 /** create a surface with a name @hide */
263263 public Surface (SurfaceSession s ,
264- int pid , String name , int display , int w , int h , int format , int flags )
264+ int pid , String name , int displayId , int w , int h , int format , int flags )
265265 throws OutOfResourcesException {
266266 checkHeadless ();
267267
268268 if (DEBUG_RELEASE ) {
269269 mCreationStack = new Exception ();
270270 }
271271 mCanvas = new CompatibleCanvas ();
272- init (s ,pid ,name ,display ,w ,h ,format ,flags );
272+ init (s ,pid ,name ,displayId ,w ,h ,format ,flags );
273273 mName = name ;
274274 }
275275
@@ -508,7 +508,7 @@ protected void finalize() throws Throwable {
508508 }
509509
510510 private native void init (SurfaceSession s ,
511- int pid , String name , int display , int w , int h , int format , int flags )
511+ int pid , String name , int displayId , int w , int h , int format , int flags )
512512 throws OutOfResourcesException ;
513513
514514 private native void init (Parcel source );
0 commit comments