• Show log

    Commit

  • Hash : e19377af
    Author : Cody Northrop
    Date : 2024-08-21T14:52:09

    Tests: Support multiple users on Android
    
    On most Android platforms, the userId is '0' and many of our defaults
    just work. But on some, the default is non-zero, and that complicates
    things.
    
    To support this, we have to specify which user is correct, which can
    be determined with:
    
        adb shell am get-current-user
    
    Update everywhere we were using sdcard directly and use:
    
        Before: /sdcard
        After:  /storage/emulated/<userId>
    
    Incorporate the userId to find the application's home directory:
    
        Before: /data/data/com.android.angle.test
        After:  /data/user/<userId>/com.android.angle.test
    
    This CL:
    - Starts using a user flag in our Android scripts
    - Updates where tests look for test data and binaries
    - Updates where scripts use temp and external storage
    - Updates script to not use sdcard at all when root
    - Disables run-as when user is not default
    
    Bug: b/361388557
    Change-Id: I0fb556ecb2d0f6bc6569a858c290b127217d4638
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5825122
    Commit-Queue: Cody Northrop <cnorthrop@google.com>
    Reviewed-by: Roman Lavrov <romanl@google.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags