Don't set the upload type unless in debug

 Bug: 5529012
 Reduce unnecessary JNI

Change-Id: Ie1fc504bf8a159bf0ee5b26e89cb29b445ad7723
1 file changed