Skip to content
Snippets Groups Projects
  1. Oct 23, 2023
  2. Oct 20, 2023
  3. Oct 19, 2023
  4. Oct 18, 2023
  5. Oct 17, 2023
    • Peiyong Lin's avatar
      [Cherry-pick] Revert "Load native GLES driver when specified." · e059399b
      Peiyong Lin authored
      This reverts commit a19c130b.
      
      Reason for revert: culprit of boot memory regression
      
      Original commit message:
      """
      Load native GLES driver when specified.
      
      Since ANGLE and native GLES drivers can coexist, when native is
      specified, the loader must load the native GLES drivers specified in
      ro.hardware.egl. This patch passes this information down to the native
      graphics environment so that the EGL loader can properly check.
      
      Bug: b/283858001
      Test: atest CtsAngleDeveloperOptionHostTest -c with ANGLE being default
      Test: atest CtsAngleDeveloperOptionHostTest -c with native being default
      """
      
      Bug: b/283858001
      Bug: b/289956225
      Test: forrest test
      Change-Id: Idb66f290801de1ef777c909be7b582703fe7e144
      Merged-In: Idb66f290801de1ef777c909be7b582703fe7e144
      e059399b
    • Treehugger Robot's avatar
    • Peiyong Lin's avatar
      [Cherry-pick] Load native GLES driver when specified. · 964092f9
      Peiyong Lin authored
      Since ANGLE and native GLES drivers can coexist, when native is
      specified, the loader must load the native GLES drivers specified in
      ro.hardware.egl. This patch passes this information down to the native
      graphics environment so that the EGL loader can properly check.
      
      Bug: b/283858001
      Test: atest CtsAngleDeveloperOptionHostTest -c with ANGLE being default
      Test: atest CtsAngleDeveloperOptionHostTest -c with native being default
      Change-Id: I5b0b6df40daf436eb81009c83a5b585531765f4c
      Merged-In: I5b0b6df40daf436eb81009c83a5b585531765f4c
      964092f9
    • Arnab Sen's avatar
      Unlock non-secure users automatically (1/2) · c4fff832
      Arnab Sen authored
      ...while moving apps or media content from internal storage to
      adopted storage and vice-versa.
      Currently, for FBE enabled devices, whenever move is triggered for
      either app or media content, there is a prompt for user to enter their
      lockscreen credential in order to unlock storage if the user has one.
      But if the user does not have a lockscreen credential set and is not
      running,the wizard page is stuck. This leads to a bad user experience.
      
      This CL adds a new binder method
      ILockSettings#unlockUserKeyIfUnsecured(int) which can be used for
      unlocking users which do not have a lockscreen credential. This replaces
      the LockSettingsInternal#unlockUserKeyIfUnsecured(int). This method is
      used by LockPatternUtils#unlockUserKeyIfUnsecured instead of
      LockSettingsInternal#unlockUserKeyIfUnsecured so that Settings app can
      unlock users for the use-case explained above. This also modifies
      SyntheticPasswordTests to use the binder method.
      
      Bug: 305978187
      Test: manual
      Steps:
      1. Create multiple users with atleast one user with an authentication
         method setup and one without authentication (apart from system user)
      2. Install same apps for all users and also add some content to the
         media storage.
      3. Format an SD Card as adopted.
      4. Attempt to move content.
      5. Check that the wizard is not stuck and it is prompting the locked
         users to authenticate.
      6. Reboot
      7. After reboot, Go to Settings > All Apps > app_name
         > Storage & Cache
      8. Tap on "Change" under Storage and Select Adopted storage.
      9. Check the same as Step#5
      
      Also, ran atest com.android.server.locksettings and checked that the
      all test cases are passing.
      
      Change-Id: I34741c8e25cce256c2bfcc4dafb50e5d3e16f7ea
      c4fff832
    • Peiyong Lin's avatar
    • Jean Chalard's avatar
      8aa7286f
    • Chalard Jean's avatar
      Remove unused methods from NMS · 92d59fc4
      Chalard Jean authored
      Test: treehugger
      Change-Id: I841125e1e7192abc2fc50ab710a4684e7267e469
      92d59fc4
    • Treehugger Robot's avatar
    • Paul Duffin's avatar
  6. Oct 16, 2023
    • Eric Biggers's avatar
      Merge changes from topic "locksettings-aosp-5" into main · ec6110bf
      Eric Biggers authored
      * changes:
        Fix system process crash
        Change log priority for ERROR_KEY_DOES_NOT_EXIST in RecoverableKeyStore
        Use a copy of lock screen secret in recoverablekeystore.
        Throw InsecureUserException when LSKF is not set in recoverablekeystore.
      ec6110bf
    • Paul Duffin's avatar
      Add additional overriding methods to signature files · d93cd390
      Paul Duffin authored
      This change adds overriding methods that are essential to compile the
      stubs generated from the signature files.
      
      More information and the background for this change is available at
      go/add-overriding-one-pager.
      
      Test: m checkbuild --build-from-text-stub
      Bug: 299366704
      Change-Id: Ia8f0ae4b4e47a2974016fd844242aa0564027131
      Merged-In: Ifc1876eb60a4b716f72c86003dc9bea0081e9a4c
      d93cd390
Loading