- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
P4: Low
 - 
    None
 - 
    5.4.2
 - 
    None
 - 
    Android 4.2.2
 
When loading a QML file via QQUickWidget on Android and then pressing power button, reactivating the device and re-launching the app -> there are no further screen updates, the screen is frozen.
The app is not crashed because I'm still receiving keep alive messages via qDebug messages, just the screen won't refresh anymore. There are no error messages in the log...
camView = new QQuickWidget;
    QGridLayout *layout = new QGridLayout;
    layout->addWidget(camView);
    camView->setSource(QUrl("qrc:/cameraView.qml"));
    camView->setResizeMode(QQuickWidget::SizeRootObjectToView);
    QObject *item = camView->rootObject();
    connect(item, SIGNAL(qmlSignal(QString)), this, SLOT(camPicReady(QString)));
    ui->camBox->setLayout(layout);
    camView->show();
import QtQuick 2.0
import QtMultimedia 5.0
Item {
    id: item
    width: 640
    height: 480
    signal qmlSignal(string msg)
    Camera {
        id: camera
        focus.focusMode: Camera.FocusAuto
        onCameraStatusChanged: {
            if (camera.cameraStatus === Camera.LoadedStatus)
                handler.camera = camera;
        }
        imageCapture {
            onImageCaptured: {
                // Show the preview in an Image
                photoPreview.source = preview
            }
            onImageSaved: {
                item.qmlSignal(path)
            }
        }
    }
    VideoOutput {
        source: camera
        focus : visible
        anchors.fill: parent
        MouseArea {
            anchors.fill: parent;
            onClicked: camera.imageCapture.capture();
        }
    }
    Image {
         id: photoPreview
     }
}