how to obtain activity locale in android?
<p>i have made a multilingual application in android. On my language select activity i make the user select their language of preference. when the user selects i change the configuration of the application using the following code:</p>

<pre><code>    Locale locale = new Locale(lang);
    Locale.setDefault(locale);
    Configuration config = new Configuration();
    config.locale = locale;
    getBaseContext().getResources().updateConfiguration(config,
          getBaseContext().getResources().getDisplayMetrics());
</code></pre>

<p>now before loading a activity i want to check whether the user has changed the locale or is it the same.
i want to get the activity's locale. i know how to get the application locale...</p>
