framework/src/org/apache/cordova/CameraLauncher.java
/**
     * Cleans up after picture taking. Checking for duplicates and that kind of stuff.
     */
Cleans up after picture taking. Checking for duplicates and that kind of stuff.
Cleans up after picture taking . Checking for duplicates and that kind of stuff .
private void cleanup(int imageType, Uri oldImage, Bitmap bitmap) {
        bitmap.recycle();
        (new File(FileUtils.stripFileProtocol(oldImage.toString()))).delete();
        checkForDuplicateImage(imageType);
        this.scanForGallery();
        System.gc();
    }
private void cleanup ( int imageType , Uri oldImage , Bitmap bitmap ) { bitmap . recycle ( ) ; ( new File ( FileUtils . stripFileProtocol ( oldImage . toString ( ) ) ) ) . delete ( ) ; checkForDuplicateImage ( imageType ) ; this . scanForGallery ( ) ; System . gc ( ) ; }
Cleans up after picture taking.
Cleans up after picture taking .
// Clean up initial camera-written image file. // Scan for the gallery to update pic refs in gallery