This project is mirrored from https://github.com/LineageOS/android_frameworks_base.git. Updated .
  1. 19 Nov, 2018 1 commit
  2. 15 Nov, 2018 2 commits
  3. 13 Nov, 2018 1 commit
  4. 12 Nov, 2018 1 commit
  5. 10 Nov, 2018 1 commit
    • Kevin F. Haggerty's avatar
      Merge tag 'android-8.1.0_r50' into staging/lineage-15.1_merge-android-8.1.0_r50 · 7bb7f41c
      Kevin F. Haggerty authored
      Android 8.1.0 Release 50 (OPM7.181105.004)
      
      * tag 'android-8.1.0_r50':
        RESTRICT AUTOMERGE: Revert "RESTRICT AUTOMERGE: Check both self and shared user id package for requested permissions."
        Verify number of Map entries written to Parcel
        RESTRICT AUTOMERGE: Check both self and shared user id package for requested permissions.
        RESTRICT AUTOMERGE: Hide overlay windows when requesting media projection permission.
      
      Change-Id: I0c42757d48299ffe3b2a60391a67f0c8f2e466bb
      7bb7f41c
  6. 04 Nov, 2018 1 commit
  7. 02 Nov, 2018 2 commits
  8. 31 Oct, 2018 1 commit
  9. 30 Oct, 2018 1 commit
  10. 24 Oct, 2018 1 commit
  11. 13 Oct, 2018 1 commit
  12. 07 Oct, 2018 1 commit
  13. 01 Oct, 2018 1 commit
    • Kevin F. Haggerty's avatar
      Merge tag 'android-8.1.0_r47' into staging/lineage-15.1_merge-android-8.1.0_r47 · 23a9ff60
      Kevin F. Haggerty authored
      Android 8.1.0 release 47
      
      * tag 'android-8.1.0_r47':
        Revert "RESTRICT AUTOMERGE: Revoke permissions defined in a to-be removed package."
        Fix crash during cursor moving on BiDi text
        RESTRICT AUTOMERGE: Revoke permissions defined in a to-be removed package.
        DO NOT MERGE. Extend SQLiteQueryBuilder for update and delete.
        DO NOT MERGE. Execute "strict" queries with extra parentheses.
        DO NOT MERGE. Persistable Uri grants still require permissions.
        Optimise the hit test algorithm
      
      Change-Id: I5a266009dbb7a5d0da9811c5b129138af2b4cce0
      23a9ff60
  14. 28 Sep, 2018 2 commits
  15. 11 Sep, 2018 4 commits
  16. 10 Sep, 2018 1 commit
  17. 09 Sep, 2018 1 commit
    • Kevin F. Haggerty's avatar
      Merge tag 'android-8.1.0_r46' into staging/lineage-15.1_merge-android-8.1.0_r46 · 5464c812
      Kevin F. Haggerty authored
      Android 8.1.0 Release 46 (OPM6.171019.030.K1)
      
      * tag 'android-8.1.0_r46': (23 commits)
        Fix TrackInfo parcel write
        vpn: allow IPSec traffic through Always-on VPN
        Resolve inconsistent parcel read in NanoAppFilter
        Backport Prevent shortcut info package name spoofing
        Fix DynamicRefTable::load security bug
        ResStringPool: Prevenet boot loop from se fix
        Make safe label more safe
        WM: Prevent secondary display focus while keyguard is up
        DO NOT MERGE: Add unit tests to ensure VPN meteredness
        DO NOT MERGE: Fix ConnectivityController meteredness checks
        clearCallingIdentity before calling into getPackageUidAsUser
        Nullcheck to fix Autofill CTS
        Osu: fixed Mismatch between createFromParcel and writeToParcel
        DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name
        Fix broken check for TelephonyManager#getForbiddenPlmns
        DO NOT MERGE (O) Revoke permision when group changed
        ResStringPool: Fix security vulnerability
        RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to oc-mr1-dev)
        Use concrete CREATOR instance for parceling lists
        Rework thumbnail cleanup
        ...
      
      Change-Id: I1376977831bf2ab308765234b9ae4f3f7da3ee8b
      5464c812
  18. 08 Sep, 2018 3 commits
    • Michael W's avatar
      LocationTile: Replace deprecated MetricsLogger calls · 4d1735f7
      Michael W authored
      * The action(Context, int, boolean) call is deprecated and
        links to the non-static method action(int, boolean)
      * To use that, we need an instance variable of MetricsLogger
      * There are other tiles using the deprecated calls as well but
        those are maintained by aosp so hopfully updated by them at
        next source drop
      
      Change-Id: I25358a9cf70c7a721c66ffe90d315a2ffcd2abcc
      4d1735f7
    • Michael W's avatar
      Tiles: SystemProfiles: Adapt behaviour · 36ac9b3a
      Michael W authored
      * Opening the detail view should enable profiles
      * Disabling the switch should also close the details
      * The tile's title should just be "System profiles"
        when disabled, we also don't say "Wifi off" on wifi tile
      * Set dualTarget to true so the tile indicates expandability
      
      Change-Id: I4eb463bc84ad78fcabb8acef1829c990ab04f19b
      36ac9b3a
    • Roman Birg's avatar
      System Profiles in QS Tiles · cc0c2d39
      Roman Birg authored
      Contains also commit by Joey Rizzoli:
      
      SystemUI: Profiles tile should require authentication
      
      A profile with the option to disable secure lockscreen could be
      used to bypass the lockscreen security.
      Require the user to unlock their device when tapping on the profile
      quick tile.
      
      BUGBASH-1095
      
      Change-Id: I2a438af301212241533b969bf2c6c8390ef09cbc
      cc0c2d39
  19. 30 Aug, 2018 2 commits
  20. 22 Aug, 2018 1 commit
  21. 16 Aug, 2018 8 commits
    • Michael Bestas's avatar
      Automatic translation import · 3eb510cf
      Michael Bestas authored
      Change-Id: I70bf5793e485dfcad44f1c7bbedf8c9f1d19105b
      3eb510cf
    • android-build-team Robot's avatar
      Merge cherrypicks of [4787603, 4787134, 4787604, 4786834, 4787135, 4787488,... · e94adc9b
      android-build-team Robot authored
      Merge cherrypicks of [4787603, 4787134, 4787604, 4786834, 4787135, 4787488, 4786835, 4787489, 4787490, 4787548, 4787549, 4787550, 4787551, 4787552, 4787553, 4787502, 4786836, 4785839, 4787620, 4787621, 4787622, 4787623, 4787624, 4787625, 4787626, 4787627, 4787628] into oc-m7-release
      
      Change-Id: I601b76d218a5f03fb1506cbd22a2c9d2cec85469
      e94adc9b
    • Seigo Nonaka's avatar
      Fix crash during cursor moving on BiDi text · 6033d76b
      Seigo Nonaka authored
      The crash was introduced by Ib66ef392c19c937718e7101f6d48fac3abe51ad0
      The root cause of the crashing is requesting out-of-line access for the
      horizontal width. This invalid access is silently ignored by
      TextLine#measure() method but new implementation end up with out of
      bounds access.
      
      To makes behavior as old implementation, calling getHorizontal instead
      of accessing measured result array.
      
      Bug: 78464361, 111580019
      Test: Manually done
      Change-Id: I5c5778718f6b397adbb1e4f2cf95e9f635f6e5c8
      (cherry picked from commit 960647d582911ae7ab8b9491097898e6c313aaf1)
      Merged-In: I5c5778718f6b397adbb1e4f2cf95e9f635f6e5c8
      (cherry picked from commit d30c55e3)
      6033d76b
    • akirilov's avatar
      RESTRICT AUTOMERGE: Revoke permissions defined in a to-be removed package. · 1cd46563
      akirilov authored
      Bug: 67319274
      Test: run cts-dev --module CtsPermissionTestCases --test android.permission.cts.RemovePermissionTest#permissionShouldBeRevokedIfRemoved
      Change-Id: I2771c048e13529e168121c5a5501aa26fc21e30f
      (cherry picked from commit 82107644)
      1cd46563
    • Jeff Sharkey's avatar
      DO NOT MERGE. Extend SQLiteQueryBuilder for update and delete. · 136692bd
      Jeff Sharkey authored
      Developers often accept selection clauses from untrusted code, and
      SQLiteQueryBuilder already supports a "strict" mode to help catch
      SQL injection attacks.  This change extends the builder to support
      update() and delete() calls, so that we can help secure those
      selection clauses too.
      
      Bug: 111085900
      Test: atest packages/providers/DownloadProvider/tests/
      Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
      Test: atest cts/tests/tests/database/src/android/database/sqlite/cts/SQLiteQueryBuilderTest.java
      Change-Id: Ib4fc8400f184755ee7e971ab5f2095186341730c
      Merged-In: Ib4fc8400f184755ee7e971ab5f2095186341730c
      (cherry picked from commit 09d49531)
      136692bd
    • Jeff Sharkey's avatar
      DO NOT MERGE. Execute "strict" queries with extra parentheses. · 1a161653
      Jeff Sharkey authored
      SQLiteQueryBuilder has a setStrict() mode which can be used to
      detect SQL attacks from untrusted sources, which it does by running
      each query twice: once with an extra set of parentheses, and if that
      succeeds, it runs the original query verbatim.
      
      This sadly doesn't catch inputs of the type "1=1) OR (1=1", which
      creates valid statements for both tests above, but the final executed
      query ends up leaking data due to SQLite operator precedence.
      
      Instead, we need to continue compiling both variants, but we need
      to execute the query with the additional parentheses to ensure
      data won't be leaked.
      
      Test: atest cts/tests/tests/database/src/android/database/sqlite/cts/SQLiteQueryBuilderTest.java
      Bug: 111085900
      Change-Id: I6e8746fa48f9de13adae37d2990de11c9c585381
      Merged-In: I6e8746fa48f9de13adae37d2990de11c9c585381
      (cherry picked from commit 5a55a72f)
      1a161653
    • Jeff Sharkey's avatar
      DO NOT MERGE. Persistable Uri grants still require permissions. · ab8e82d8
      Jeff Sharkey authored
      When FLAG_GRANT_PERSISTABLE_URI_PERMISSION is requested, we still
      need to check permissions between the source and target packages,
      instead of shortcutting past them.
      
      The spirit of the original change is remains intact: if the caller
      requested FLAG_GRANT_PERSISTABLE_URI_PERMISSION, then we avoid
      returning "-1", which would prevent the grant data structure from
      being allocated.
      
      Bug: 111934948
      Test: atest android.appsecurity.cts.AppSecurityTests
      Change-Id: Ief0fc922aa09fc3d9bb6a126c2ff5855347cd030
      Merged-In: Ief0fc922aa09fc3d9bb6a126c2ff5855347cd030
      (cherry picked from commit 05519b7e)
      ab8e82d8
    • Mihai Popa's avatar
      Optimise the hit test algorithm · 89be24c6
      Mihai Popa authored
      Layout#getOffsetForHorizontal was running in O(n^2) time, where n is the
      length of the current line. The method is used when a touch event
      happens on a text line, to compute the cursor offset (and the character)
      where it happened. Although this is not an issue in common usecases,
      where the number of characters on a line is relatively small, this can
      be very inefficient as a consequence of Unicode containing 0-width
      (invisible) characters. Specifically, there are characters defining the
      text direction (LTR or RTL), which cause our algorithm to touch the
      worst case quadratic runtime. For example, a person is able to send a
      message containing a few visible characters, and also a lot of these
      direction changing invisible ones. When the receiver touches the message
      (causing the Layout#getOffsetForHorizontal method to be called), the
      receiver's application would become not responsive.
      
      This CL optimizes the method to run in O(n) worst case. This is achieved
      by computing the measurements of all line prefixes at first, which can
      be done in a single pass. Then, all the prefix measurement queries will
      be answered in O(1), rather than O(n) as it was happening before.
      
      Bug: 79215201
      Test: manual testing
      Change-Id: Ib66ef392c19c937718e7101f6d48fac3abe51ad0
      Merged-In: Ib66ef392c19c937718e7101f6d48fac3abe51ad0
      (cherry picked from commit 69b589b2)
      89be24c6
  22. 13 Aug, 2018 1 commit
  23. 10 Aug, 2018 2 commits
    • android-build-team Robot's avatar
      Merge cherrypicks of [4741663, 4741664, 4741665, 4741666, 4743080, 4743081,... · 3c2c834a
      android-build-team Robot authored
      Merge cherrypicks of [4741663, 4741664, 4741665, 4741666, 4743080, 4743081, 4743082, 4743083, 4741262, 4741263, 4741264, 4741265, 4741266, 4741667, 4743084, 4741242, 4741243, 4741741, 4741742, 4741743, 4741744, 4741822, 4743085, 4741668, 4741338, 4743055, 4743056, 4743070, 4743073, 4743075, 4743076, 4743078, 4743079, 4743161, 4743162, 4743164, 4743165, 4743167, 4743168, 4743169, 4743170, 4741681, 4741682, 4741683, 4741684, 4741685, 4741686, 4741687, 4741688, 4741689, 4741690, 4741691, 4741692, 4741693, 4741694, 4741695, 4741696, 4741697, 4741698, 4741699, 4743240, 4743241, 4743242, 4743243, 4741745, 4741823, 4741824, 4741825, 4741267, 4741268, 4743244, 4743280, 4743281, 4743224, 4743203, 4743204, 4743205, 4741746, 4741747, 4743245, 4741826, 4741827, 4741828, 4741829, 4741748, 4741749, 4741750, 4743233, 4743282, 4741244, 4741245, 4741246, 4741247, 4743206, 4743207, 4743208, 4743209, 4743210, 4743211, 4743212, 4743213, 4743214, 4743215, 4743216, 4743217, 4743218, 4743219, 4743360, 4743361, 4743362, 4743363, 4743364, 4743365, 4743366, 4743367, 4743368, 4743369, 4743370, 4743371, 4743372, 4743373, 4743374, 4743375, 4743376, 4743377, 4743283, 4743284, 4741830, 4742501, 4743246, 4743086, 4743087, 4743378, 4743379, 4741751] into sparse-4749909-L04200000199131547
      
      Change-Id: I1492186998ee5230a67cd2efaf8c68d8b008cb7e
      3c2c834a
    • Robert Shih's avatar
      Fix TrackInfo parcel write · f28568c9
      Robert Shih authored
      Bug: 77600398
      Change-Id: Ia316f1c5dc4879f6851fdb78fe8b9039579be7bc
      (cherry picked from commit 0d2dc943)
      f28568c9