Skip to content
  • Eskil Abrahamsen Blomfeldt's avatar
    Android: Fix resuming app after locale change · eea10943
    Eskil Abrahamsen Blomfeldt authored
    
    
    The default reaction to configuration changes in Android
    is to destroy the activity. To avoid this happening for
    locale changes, we had the "locale" configuration change
    registered in the default AndroidManifest.xml, however,
    you also need to register that you are handling the
    layoutDirection change, otherwise Android will not
    call onConfigurationChange() for language changes, but
    tear down the activity instead.
    
    [ChangeLog][Android] Fixed bug where application was not
    resumable after user changed language in system settings.
    
    Change-Id: I3fe84a9332217b062b5352b2c977e2dbeacd5239
    Task-number: QTBUG-45430
    Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
    eea10943