This project is mirrored from https://github.com/LineageOS/android_frameworks_base.git. Updated .
  1. 12 Sep, 2019 1 commit
  2. 11 Sep, 2019 1 commit
  3. 06 Sep, 2019 2 commits
    • Mihai Popa's avatar
      Fix Layout.primaryIsTrailingPreviousAllLineOffsets · 07645c9d
      Mihai Popa authored
      The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
      The crash was happening when the method was called for a line beginning
      with an empty bidi run. This could happen, for example, for empty text -
      I was unable to find any other case. The CL improves the existing test
      for the method with this case, which was previously crashing.
      
      The CL also fixes a potential crash in getLineHorizontals. However, this
      bug could never happen as in the current code path clamped is always
      false (and kept as parameter for parity with getHorizontal).
      
      Bug: 135444178
      Bug: 78464361
      Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
      Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
      (cherry picked from commit 7ad499d0)
      (cherry picked from commit 42a6af7a)
      07645c9d
    • Chienyuan's avatar
      HidProfile: sync isPreferred() with HidHostService · ff37add2
      Chienyuan authored
      HidHostService allow to connect when priority is PRIORITY_UNDEFINED.
      HidProfile should return ture when priority is PRIORITY_UNDEFINED.
      Otherwise, the "Input device" toggle in off state when HID device
      connected.
      
      Bug: 132456322
      Test: manual
      Change-Id: Id7bae694c57aec17e019d591c0a677e3cb64f845
      (cherry picked from commit 830217f2)
      ff37add2
  4. 13 Aug, 2019 2 commits
    • Romain Hunault's avatar
    • Kevin F. Haggerty's avatar
      Merge remote-tracking branch 'aosp/oreo-mr1-security-release' into lineage-15.1 · 9b500577
      Kevin F. Haggerty authored
      * aosp/oreo-mr1-security-release: (68 commits)
        Clear the Parcel before writing an exception during a transaction
        Protect VPN dialogs against overlay.
        [RESTRICT AUTOMERGE] Make Lock task default consistent w/ Settings (oc-mr1-dev).
        HwBlob: s/malloc/calloc/
        SUPL ES Extension - June 2019 rollup
        [RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage
        Limit IsSeparateProfileChallengeAllowed to system callers
        Added missing permission check to isPackageDeviceAdminOnAnyUser.
        Permission Check For DPM.getPermittedAccessibilityServices
        DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot
        Revert "Adding SUPL NI Emergency Extension Time"
        DPM: Fix regression from I54376f60ac53451ace22965d331b47cd8c2e614e
        RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters.
        Adding SUPL NI Emergency Extension Time
        FRP: save password quality in DPM.resetPassword
        [DO NOT MERGE] Changing SUPL_ES=1 for SUPL end point control
        Bluetooth: Check descriptors size in BluetoothHidDeviceAppSdpSettings
        Revert "[DO NOT MERGE] Changing SUPL_ES=1 for SUPL end point control"
        RESTRICT AUTOMERGE: Recover shady content:// paths.
        [DO NOT MERGE] Changing SUPL_ES=1 for SUPL end point control
        ...
      
      Change-Id: Id108dc782e17da0d76595e162a3fcb72a108a684
      9b500577
  5. 12 Aug, 2019 1 commit
  6. 11 Aug, 2019 2 commits
  7. 09 Aug, 2019 1 commit
  8. 06 Aug, 2019 1 commit
  9. 08 Jul, 2019 1 commit
  10. 02 Jul, 2019 1 commit
    • Steven Moreland's avatar
      HwBlob: s/malloc/calloc/ · e0efa9f2
      Steven Moreland authored
      Since this blob is passed between processes.
      
      We could potentially only memset portions of the blob as it is
      written to. However, the JHwBlob API itself doesn't have to have
      writes in order (even though known usages of it do write in order).
      Because of this, keeping track of which bytes to pad would be too
      expensive.
      
      Bug: 131356202
      Test: boot, hidl_test_java
      Change-Id: I48f4d7cb20c4bfe747dd323ae3744d323ad097c9
      Merged-In: I48f4d7cb20c4bfe747dd323ae3744d323ad097c9
      (cherry picked from commit d8157bc0)
      e0efa9f2
  11. 21 Jun, 2019 1 commit
  12. 20 Jun, 2019 1 commit
  13. 19 Jun, 2019 1 commit
  14. 12 Jun, 2019 1 commit
  15. 10 Jun, 2019 3 commits
  16. 06 Jun, 2019 5 commits
    • WyattRiley's avatar
      Adding SUPL NI Emergency Extension Time · ebddf832
      WyattRiley authored
      Configurable by carrier config.xml resource
      
      Bug: 118839234
      Bug: 115361555
      Bug: 112159033
      Test: On device, see b/115361555#comment14
      Change-Id: I52e61656cca8b6fa6468d32d2e69bf60f4c83c61
      (cherry picked from commit a725dd66)
      ebddf832
    • Julia Reynolds's avatar
      Add cross user permission check - areNotificationsEnabledForPackage · 8f3ee1a0
      Julia Reynolds authored
      Test: atest
      Fixes: 128599467
      Change-Id: I13a0ca7590f8c4b44379730e0ee2088aba400c2a
      (cherry picked from commit 657d1641)
      (cherry picked from commit bed6193b)
      8f3ee1a0
    • Pavel Grafov's avatar
      Limit IsSeparateProfileChallengeAllowed to system callers · b8d17064
      Pavel Grafov authored
      Fixes: 128599668
      Test: build, set up separate challenge
      Change-Id: I2fef9ab13614627c0f1bcca04759d0974fc6181a
      (cherry picked from commit 1b6301cf)
      b8d17064
    • Varun Shah's avatar
      Added missing permission check to isPackageDeviceAdminOnAnyUser. · 0c41251f
      Varun Shah authored
      Added a check for the MANAGE_USERS permission to
      PackageManagerService#isPackageDeviceAdminOnAnyUser.
      
      To test that the method is still usable:
      1) Enable virtual storage via: adb shell sm set-virtual-disk true
      2) Follow instructions by clicking on notification to set up virtual storage
      3) Go to Settings -> Apps & notifications -> See all X apps
      4) Click on any non-system app (example Instagram)
      5) Tap Storage and you should see a "Change" button (if not, choose another app)
      6) Tap Change and you should see Internal and Virtual storage options listed
      7) The above step confirms the method is still usable by Settings
      
      Bug: 128599183
      Test: SafetyNet logging (steps listed above)
      Change-Id: I989f1daf52a71f6c778ebd81baa6f1bf83e9a718
      Merged-In: I36521fa43daab399e08869647326a7ac32d1e512
      (cherry picked from commit 18e7dedf)
      0c41251f
    • Eran Messeri's avatar
      Permission Check For DPM.getPermittedAccessibilityServices · 1cc8e0e5
      Eran Messeri authored
      Bug: 128599660
      Test: com.android.server.devicepolicy.DevicePolicyManagerTest
      Test: com.google.android.gts.devicepolicy.DeviceOwnerTest
      Change-Id: I8be915bd6a4ff99884d23005a4c6f0100806dbe8
      Merged-In: I8ee3f876fcaffa63636645f0f59709cd147254ef
      (cherry picked from commit 4fd13eef)
      1cc8e0e5
  17. 01 Jun, 2019 1 commit
  18. 29 May, 2019 1 commit
  19. 26 May, 2019 1 commit
  20. 16 May, 2019 2 commits
  21. 10 May, 2019 1 commit
    • Steven Moreland's avatar
      HwBlob: s/malloc/calloc/ · 325344e2
      Steven Moreland authored
      Since this blob is passed between processes.
      
      We could potentially only memset portions of the blob as it is
      written to. However, the JHwBlob API itself doesn't have to have
      writes in order (even though known usages of it do write in order).
      Because of this, keeping track of which bytes to pad would be too
      expensive.
      
      Bug: 131356202
      Test: boot, hidl_test_java
      Change-Id: I48f4d7cb20c4bfe747dd323ae3744d323ad097c9
      Merged-In: I48f4d7cb20c4bfe747dd323ae3744d323ad097c9
      (cherry picked from commit d8157bc0)
      325344e2
  22. 07 May, 2019 1 commit
  23. 19 Apr, 2019 1 commit
  24. 15 Apr, 2019 4 commits
    • Julia Reynolds's avatar
      [RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage · 6b375cae
      Julia Reynolds authored
      Test: atest
      Fixes: 128599467
      Change-Id: I13a0ca7590f8c4b44379730e0ee2088aba400c2a
      (cherry picked from commit 657d1641)
      (cherry picked from commit bed6193b)
      6b375cae
    • Pavel Grafov's avatar
      Limit IsSeparateProfileChallengeAllowed to system callers · 65b53756
      Pavel Grafov authored
      Fixes: 128599668
      Test: build, set up separate challenge
      Change-Id: I2fef9ab13614627c0f1bcca04759d0974fc6181a
      (cherry picked from commit 1b6301cf)
      65b53756
    • Varun Shah's avatar
      Added missing permission check to isPackageDeviceAdminOnAnyUser. · f6f32959
      Varun Shah authored
      Added a check for the MANAGE_USERS permission to
      PackageManagerService#isPackageDeviceAdminOnAnyUser.
      
      To test that the method is still usable:
      1) Enable virtual storage via: adb shell sm set-virtual-disk true
      2) Follow instructions by clicking on notification to set up virtual storage
      3) Go to Settings -> Apps & notifications -> See all X apps
      4) Click on any non-system app (example Instagram)
      5) Tap Storage and you should see a "Change" button (if not, choose another app)
      6) Tap Change and you should see Internal and Virtual storage options listed
      7) The above step confirms the method is still usable by Settings
      
      Bug: 128599183
      Test: SafetyNet logging (steps listed above)
      Change-Id: I989f1daf52a71f6c778ebd81baa6f1bf83e9a718
      Merged-In: I36521fa43daab399e08869647326a7ac32d1e512
      (cherry picked from commit 18e7dedf)
      f6f32959
    • Eran Messeri's avatar
      Permission Check For DPM.getPermittedAccessibilityServices · 471c263e
      Eran Messeri authored
      Bug: 128599660
      Test: com.android.server.devicepolicy.DevicePolicyManagerTest
      Test: com.google.android.gts.devicepolicy.DeviceOwnerTest
      Change-Id: I8be915bd6a4ff99884d23005a4c6f0100806dbe8
      Merged-In: I8ee3f876fcaffa63636645f0f59709cd147254ef
      (cherry picked from commit 4fd13eef)
      471c263e
  25. 12 Apr, 2019 1 commit
  26. 11 Apr, 2019 1 commit
  27. 02 Apr, 2019 1 commit