File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353import android .provider .MediaStore .Images .Media ;
5454import android .graphics .Bitmap ;
5555import android .graphics .BitmapFactory ;
56- import android .Manifest ;
57- import java .lang .Object ;
5856
5957import java .net .*;
6058import java .io .*;
@@ -1922,20 +1920,6 @@ else if (p_source.equals("library"))
19221920
19231921 }
19241922
1925- private void onCameraPermissionGranted (String p_source )
1926- {
1927- if (p_source .equals ("camera" ))
1928- showCamera ();
1929- else if (p_source .equals ("album" ))
1930- showLibrary ();
1931- else if (p_source .equals ("library" ))
1932- showLibrary ();
1933- else
1934- {
1935- doPhotoPickerError ("source not available" );
1936- }
1937- }
1938-
19391923 // sent by the callback
19401924 public void onRequestPermissionsResult (int requestCode , String [] permissions , int [] grantResults )
19411925 {
Original file line number Diff line number Diff line change 1919import android .content .*;
2020import android .os .*;
2121import android .util .*;
22- import android .Manifest ;
23- import java .lang .Object .*;
24- import android .app .Activity ;
25-
2622import java .util .*;
2723
2824import android .hardware .*;
@@ -47,8 +43,6 @@ abstract class Tracker
4743 public static final int COARSE_TRACKING = 1 ;
4844 public static final int FINE_TRACKING = 2 ;
4945
50- public static final int LOCATION_PERMISSION_REQUEST_CODE = 3 ;
51-
5246 protected boolean m_paused ;
5347 protected int m_tracking_requested ;
5448 protected int m_tracking_internal ;
Original file line number Diff line number Diff line change @@ -2839,11 +2839,6 @@ JNIEXPORT void JNICALL Java_com_runrev_android_Engine_doAskPermissionDone(JNIEnv
28392839 MCAndroidBreakWait ();
28402840}
28412841
2842-
2843-
2844-
2845-
2846-
28472842// ///////////////////////////////////////////////////////////////////////////////
28482843
28492844bool android_run_on_main_thread (void *p_callback, void *p_callback_state, int p_options);
You can’t perform that action at this time.
0 commit comments