[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-140.8.0esr-15.0-1] fixup! TB 42247: Android helpers for the TorProvider



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-140.8.0esr-15.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • a67a3014
    by Pier Angelo Vendrame at 2026-02-23T12:41:54+01:00
    fixup! TB 42247: Android helpers for the TorProvider
    
    TB 44620: Move the Android IPC directory.
    
    Move the the files we use to communicate with the tor process from the
    cache directory to the data directory, as some OEMs might be doing some
    strange things in the cache directory, which might result in proxy
    errors for users.
    

1 changed file:

Changes:

  • mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorAndroidIntegration.java
    ... ... @@ -100,7 +100,7 @@ public class TorAndroidIntegration implements BundleEventListener {
    100 100
       /* package */ TorAndroidIntegration(Context context) {
    
    101 101
         mLibraryDir = context.getApplicationInfo().nativeLibraryDir;
    
    102 102
         mCacheDir = context.getCacheDir().getAbsolutePath();
    
    103
    -    mIpcDirectory = mCacheDir + "/tor-private";
    
    103
    +    mIpcDirectory = new File(context.getFilesDir(), "tor-ipc").getAbsolutePath();
    
    104 104
         mDataDir = new File(context.getFilesDir(), "tor");
    
    105 105
         registerListener();
    
    106 106
       }
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx