diff --git a/build.py b/build.py index 8cf81b1e..7bd5606b 100755 --- a/build.py +++ b/build.py @@ -225,7 +225,7 @@ if buildMobile: except: pass shutil.rmtree("mobile/assets/plugins") - shutil.copytree(os.path.join(outDir,"plugins"), "mobile/assets/plugins", ignore=shutil.ignore_patterns('*.meta.js', 'force-https*')) + shutil.copytree(os.path.join(outDir,"plugins"), "mobile/assets/plugins", ignore=shutil.ignore_patterns('*.meta.js', 'force-https*', 'privacy-view*')) if buildMobile != 'copyonly': diff --git a/mobile/AndroidManifest.xml b/mobile/AndroidManifest.xml index 8249bf42..25606ea8 100644 --- a/mobile/AndroidManifest.xml +++ b/mobile/AndroidManifest.xml @@ -16,7 +16,8 @@ android:allowBackup="true" android:icon="@drawable/ic_iitcm" android:label="@string/app_name" - android:theme="@style/AppTheme" android:uiOptions="splitActionBarWhenNarrow"> + android:theme="@style/AppTheme" + android:uiOptions="splitActionBarWhenNarrow"> asset_list = new ArrayList(); ArrayList asset_values = new ArrayList(); @@ -70,4 +75,16 @@ public class IITC_Settings extends Activity { getFragmentManager().beginTransaction() .replace(android.R.id.content, settings).commit(); } + + @Override + public boolean onOptionsItemSelected(MenuItem item) { + switch (item.getItemId()) { + // exit settings when home button (iitc icon) is pressed + case android.R.id.home : + this.finish(); + return true; + default: + return super.onOptionsItemSelected(item); + } + } } \ No newline at end of file