This project is mirrored from https://github.com/LineageOS/android_frameworks_base.git. Pull mirroring updated .
  1. 01 Mar, 2021 2 commits
  2. 18 Feb, 2021 2 commits
  3. 16 Feb, 2021 1 commit
  4. 15 Feb, 2021 1 commit
  5. 11 Feb, 2021 2 commits
  6. 10 Feb, 2021 1 commit
  7. 09 Feb, 2021 1 commit
    • Siarhei Vishniakou's avatar
      Add uhid group to system_server · 86d76dab
      Siarhei Vishniakou authored
      Ensure that uhid group (AID_UHID) is added to system_server, which would
      allow it to read/write /dev/uhid and /dev/uinput nodes. This will allow
      ATV devices to inject events.
      
      Bug: 138311400
      Test: none
      Change-Id: Ie20fef5b5facff109bc4e068e648f335dd3a1e2c
      86d76dab
  8. 07 Feb, 2021 1 commit
  9. 06 Feb, 2021 1 commit
  10. 05 Feb, 2021 3 commits
  11. 20 Jan, 2021 1 commit
  12. 17 Jan, 2021 3 commits
    • /e/ robot's avatar
      e464a3b8
    • Aaron Kling's avatar
      Add nvcpl hook interfaces · 51d126e0
      Aaron Kling authored
      NvCPL works in conjunction with the PowerHAL in order to adjust various
      performance knobs based on the app or device specific profiles.
      
      Change-Id: I4953cbb96d729dbe0cee6d7071b5933586770330
      51d126e0
    • Aaron Kling's avatar
      Add nvidia profile manager · c7c48b01
      Aaron Kling authored
      This implements and API for apps to interface with NvCPL and by
      extension the PowerHAL.
      
      Reverse engineered from the Shield Experience 8.2.0 update then cleaned
      up to match Android standards.
      
      Change-Id: I774ac62c8867151f21712cfeee25f96a591415ad
      c7c48b01
  13. 16 Jan, 2021 1 commit
    • Michael W's avatar
      NfcTile: Don't create an error when editing tiles · 4be11d7d
      Michael W authored
      Repro:
      * Make sure no NfcTile is in your expanded QS (not tested what happens if
        it's there)
      * Hit the Edit-button:
      
      Error in handleSetListeningInternal
      java.lang.IllegalArgumentException: Receiver not registered: com.android.systemui.qs.tiles.NfcTile$1@7c00b87
      	at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1434)
      	at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1543)
      	at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:664)
      	at com.android.systemui.qs.tiles.NfcTile.handleSetListening(NfcTile.java:64)
      	at com.android.systemui.qs.tileimpl.QSTileImpl.handleSetListeningInternal(QSTileImpl.java:371)
      	at com.android.systemui.qs.tileimpl.QSTileImpl.access$700(QSTileImpl.java:80)
      	at com.android.systemui.qs.tileimpl.QSTileImpl$H.handleMessage(QSTileImpl.java:496)
      	at android.os.Handler.dispatchMessage(Handler.java:107)
      	at android.os.Looper.loop(Looper.java:214)
      	at android.os.HandlerThread.run(HandlerThread.java:67)
      
      * Only register or unregister the receiver if we actually need to change
        registered-state
      * Same code is in AirPlaneModeToggle.java, presumably was also added to
        prevent unnecessary registering/unregistering
      
      Change-Id: I6cd8f9bffccb68596b736cc0a3a38e9c12b9c489
      4be11d7d
  14. 15 Jan, 2021 2 commits
  15. 14 Jan, 2021 1 commit
  16. 05 Jan, 2021 1 commit
    • Kevin F. Haggerty's avatar
      Merge tag 'android-security-10.0.0_r50' into staging/lineage-17.1_merge_android-security-10.0.0_r50 · 3a6c4af3
      Kevin F. Haggerty authored
      Android security 10.0.0 release 50
      
      * tag 'android-security-10.0.0_r50':
        Ignore GrantCredentials call with unexpected calling uid.
        Protect GrantCredentialsPermissionActivity against overlay.
        [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
        Revoke permission on non-runtime -> runtime upgrade
        Ensure permissions are revoked on state changes
        Hide overlays over uninstall confirm dialog
        RESTRICT AUTOMERGE Fix CDM package check
        remove sensitive pii from safetynet logging
        DO NOT MERGE Revoke install permissions when the permission defining app is uninstalled.
        DO NOT MERGE Check fingerprint client against top activity in auth callback
        Fix the issue provider can be wrong when requesting slice permission
      
      Conflicts:
      	packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java
      
      Change-Id: Ia4cc8559d85770ac2d7abfaa0160b80094c8d619
      3a6c4af3
  17. 01 Jan, 2021 2 commits
  18. 30 Dec, 2020 1 commit
  19. 29 Dec, 2020 3 commits
    • Riddle Hsu's avatar
      Use associated display to get real size · 6343aa2a
      Riddle Hsu authored
      The display may be removed when initializing navigation bar
      for the display (add and remove quickly). Display manager
      will return null by the removed display id, then NPE.
      
      By using the display context, it makes sure the display is
      non-null because the context is created from createDisplayContext.
      The getRealSize just does nothing if the display was removed.
      And since the window will be removed soon, the states of these
      pending remove components are not important.
      
      Bug: 148952431
      Test: atest MultiDisplaySystemDecorationTests
      Change-Id: Iea5a0cab6e033418a93900627622034cd491b0fa
      6343aa2a
    • Winson Chung's avatar
      Disallow back gesture in the bottom gesture area · 20c41861
      Winson Chung authored
      Test: Manual
      Bug: 143285809
      Change-Id: I425ad13b0585661469dc37a1510ab36c12fe85f8
      20c41861
    • Vinit Nayak's avatar
      Set gesture exclusion rect for IMEs · 350010d2
      Vinit Nayak authored
      Use visible inset values provided by
      IMEs to set gesture exclusion rects
      for the EdgeBackGestureHandler to ignore
      regions where the keyboard is.
      If the IME has not overridden
      onComputeInsets(), InputMethodService
      uses the location of R.id.inputArea
      to approximate the location of where
      the IME region starts.
      
      Fixes: 141215181
      Test: Tested full screen landscape keyboards
      (Messenger, Hangouts), non full screen landscape
      keyboards (SMS Messages), searching from the top
      of the screen in the Toolbar (Google Play Store)
      
      [AdrianDC] Backported from Android 11 to 10 to resolve
                 back gesture navigation over the IME surface
                 while built with Go's "ro.config.low_ram=true"
                 which disables "mSupportsPictureInPicture" in
                 WindowManagerService::registerPinnedStackListener
      
      Change-Id: I359d719493fb92d49cd309c2d00371134cd758fe
      Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
      350010d2
  20. 16 Dec, 2020 1 commit
  21. 15 Dec, 2020 2 commits
  22. 14 Dec, 2020 2 commits
  23. 11 Dec, 2020 1 commit
  24. 09 Dec, 2020 4 commits
    • Songchun Fan's avatar
      [SettingsProvider] fix font size scale validator · 6d9efc67
      Songchun Fan authored
      BUG: 156260178
      Test: builds
      Change-Id: I32f3b7ece78ec8cc97c52a0484151a6a777aa9da
      Merged-In: I32f3b7ece78ec8cc97c52a0484151a6a777aa9da
      (cherry picked from commit 9af8c6364f34c7d7be6c6dff23d3b7052c0a914d)
      6d9efc67
    • Varun Shah's avatar
      RESTRICT AUTOMERGE · da91f3a8
      Varun Shah authored
      Ensure caller identity is restored in CP quick-path.
      
      Bug: 172935267
      Test: PoC in bug
      Change-Id: I469bde7d0a0f89c94f1234cf40983395048962e2
      (cherry picked from commit e05538421f8c4ad2acbd8d08cc76b4d6fd87b2fc)
      da91f3a8
    • Winson's avatar
      Remove updateIntentVerificationStatusAsUser from ResolverActivity · d8acde42
      Winson authored
      DO NOT CHERRY PICK ANYWHERE: Security issue
      
      This API is meant to grant an app complete verification over the
      domains it has declared, meaning it will always resolve the domains it
      declares for web links.
      
      This can allow an app to take over links that are unowned. Any time a
      user selects "Always" when resolving an Intent in the diambiguation
      dialog, this API would be called, and all subsequent resolutions of any
      domain declared by the app selected would be automatically directed to
      that app, with no prompt to the user.
      
      From a quick search, it's possible that all usages of this API are
      actually unintended and should be removed. Should be considered for
      deprecation in the future.
      
      Bug: 163358811
      
      Test: none, this is not generally testable, see linked bug for context
      
      Merged-In: Iff7f788a83af68c7fbb1c6b9a8be7b47136be2b6
      Change-Id: Iff7f788a83af68c7fbb1c6b9a8be7b47136be2b6
      (cherry picked from commit 0220a57ec509c16aea0f6afcf4b5abfac25529ea)
      d8acde42
    • Ivan Chiang's avatar
      Revoke the uri permission when the file is deleted · cd463d0e
      Ivan Chiang authored
      When the file is deleted, renamed or moved, revoke all uri
      permissions with the file
      
      Bug: 157474195
      Test: manual test with DocumentsUI
      Test: atest DocumentsTest#testAfterMoveDocumentInStorage_revokeUriPermission
      Change-Id: I4ffb183630aadb2d87b0965e8cecf88af15f4534
      Merged-In: I4ffb183630aadb2d87b0965e8cecf88af15f4534
      (cherry picked from commit 9efd606f43abe36f9fcf7f0d1ab0d059c51be514)
      (cherry picked from commit 773bec18)
      cd463d0e