This project is mirrored from https://github.com/LineageOS/android_frameworks_base.git. Updated .
  1. 06 Aug, 2019 1 commit
  2. 05 Aug, 2019 1 commit
  3. 04 Aug, 2019 3 commits
  4. 02 Aug, 2019 1 commit
  5. 01 Aug, 2019 1 commit
    • LuK1337's avatar
      SystemUI: Fix multiple issues with hiding unprovisioned SIMs · 2413c248
      LuK1337 authored
      * Use View.GONE instead of View.INVISIBLE when setting
        dot and mobile group's visibility so that we don't
        leave empty space.
      * Always fallback to STATE_HIDDEN when SIM is unprovisioned
        so that we don't end up showing unnecessary empty icon
        after toggling airplane mode twice with mobile data off.
      * Make sure to call IconController.setMobileIcons() after
        provisioning changes so that signal icon is always hidden.
      
      Change-Id: I546a326eb52b0496f5fbd9057d368b1a90827d58
      2413c248
  6. 28 Jul, 2019 1 commit
  7. 27 Jul, 2019 10 commits
    • Jordan Liu's avatar
      Fix sim pin on DSDS · 4d12c537
      Jordan Liu authored
      Fixes the issue where only one SIM's PIN is checked when unlocking.
      
      Test: manual
      Bug: 135496265
      Merged-In: I8db4565c4e5d5bcfb166b5962e878531a84dbafb
      Change-Id: I8db4565c4e5d5bcfb166b5962e878531a84dbafb
      (cherry picked from commit 560fe75f696c262fbe12985fe379c1b0868f348c)
      4d12c537
    • Jordan Liu's avatar
      Dismiss SIM lock page after correct SIM · 23042d81
      Jordan Liu authored
      Previously the criteria was to dismiss if:
      1. There is no pin/password/pattern set AND
      2. the lockscreen is disabled.
      
      This behaved incorrectly in the case where the lockscreen is enabled
      but there is no pin/password/pattern set.
      
      We fix the condition so that now we dismiss the SIM lock if:
      1. There is no pin/password/pattern set OR
      2. the lockscreen is disabled.
      
      Fixes: 115780994
      Test: manual
      Change-Id: I88da896add635126934eb0ed22e617ac2607f15a
      23042d81
    • Malcolm Chen's avatar
      When data switches during voice call, make sure signal bar updates it. · 90a791ed
      Malcolm Chen authored
      isDataEnabled only reflects user setting of mobile data is on or off.
      isDataCapable reflects better of whether the data could be setup or not,
      considering user settings and other restrictions and exceptions.
      
      We should use isDataCapable when deciding what to show in signal bar.
      
      When non default data SIM is in voice call, there could be an exception
      that we also setup data on that SIM.
      
      Bug: 134981077
      Test: manual
      Change-Id: I54fc4ca104cb451af847d7973fbffc7f0ed97c10
      Merged-In: I54fc4ca104cb451af847d7973fbffc7f0ed97c10
      90a791ed
    • Tobias Thierer's avatar
      Stop USB Debugging authorization window dismissing on tap outside. · af4eb1c0
      Tobias Thierer authored
      This dialog is onerous to trigger (requires disconnecting and
      reconnecting the device), and is too easy to dismiss accidentally
      by slightly mis-tapping (happens to me all the time).
      
      This code is mostly abandoned - it has barely been touched at
      all since it was introduced in 2012.
      
      This CL makes it not dismiss when the user clicks outside the
      dialog. To dismiss, the user now has to click either
      CANCEL or ALLOW.
      
      Test: Manually checked that clicking outside the dialog
            dismissed it before but not after this CL.
      
      Change-Id: I603bba9c79e0df8a52ba7db323fea3a13acaa0a5
      af4eb1c0
    • rleix's avatar
      Update navigation bar upon change of display density · 48c89fb2
      rleix authored
      Restart the navigation bar upon change of density or font scale, then
      the facet buttons of navigation bar will be scaled properly.
      
      Test: Settings->Display->Advanced->Display size->Largest
      
      bug: 122563094
      
      Change-Id: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507
      Merged-In: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507
      Signed-off-by: default avatarLei,RayX <rayx.lei@intel.com>
      Signed-off-by: default avatarGuobin Zhang <guobin.zhang@intel.com>
      Exempt-from-Owner-Approval: Car specific file
      48c89fb2
    • Wang, ArvinX's avatar
      Unable to input PIN with hardware keyboard · e18c1188
      Wang, ArvinX authored
      After typing a wrong PIN, the EditText view will be disabled and lose the focus,
      as a result, inputs from hardware keyboard won't be sent to PIN EditText.
      
      Test: 1. Enable PIN lock
      Test: 2. Lock the device with Power key
      Test: 3. Enter wrong PIN from a physical keyboard
      Test: 4. Try to enter PIN again with physical keyboard
      
      Bug: 119287260
      
      Change-Id: I04df523c19c99bef75ea481b44154f7ba2270689
      Signed-off-by: default avatarWang, ArvinX <arvinx.wang@intel.com>
      Signed-off-by: default avatarGuobin Zhang <guobin.zhang@intel.com>
      e18c1188
    • Wang, ArvinX's avatar
      Fix the behavior of keyguard bouncer in a corner case · 7042bf04
      Wang, ArvinX authored
      With Android Automotive, there's a cancel button on the bouncer
      that allows return to UserSwitcher. Due to specific implementation of
      CarStatusBarKeyguardViewManager, all KeyguardViews will be destroyed.
      With below steps, user can input PIN the 6th time. But it won't unlock
      the device even if it's the correct PIN.
      
      Test: 1. Set screen lock with pin, password or pattern
      Test:    in Settings ->Security & location
      Test: 2. Lock the device with Power key
      Test: 3. Input wrong pin/password for 5 times, 30s timeout is prompted
      Test: 4. Quickly click cancel button and select the same user
      Test: 5. User can input PIN/password again
      
      bug: 119068682
      
      Change-Id: Ia182902d38de93ad13cb39c333a1294764905e1f
      Signed-off-by: default avatarWang, ArvinX <arvinx.wang@intel.com>
      Signed-off-by: default avatarGuobin Zhang <guobin.zhang@intel.com>
      7042bf04
    • Fabian Kozynski's avatar
      Fixes context for tiles without longClick · b221a9a1
      Fabian Kozynski authored
      QSTile can declare whether it doesn't support (has no effect) long click
      and then TalkBack will not report it as an available option.
      
      Test: manual & atest
      Change-Id: Iec21181f4308c7c8c4962f191fa0787e053ae944
      Merged-In: Iec21181f4308c7c8c4962f191fa0787e053ae944
      Fixes: 117921787
      b221a9a1
    • Kyeongkab.Nam's avatar
      Fix to register the receiver for all users · e114b10c
      Kyeongkab.Nam authored
      To control Pip in secondary users, tv/PipManager needs to register the
      receiver handling ACTION_MEDIA_RESOURCE_GRANTED for all users.
      
      Test: manual - start video playback in restricted profile
      Change-Id: Iefceacf4a65229ab2ffaa0b607171cd6ee8ae272
      e114b10c
    • Tetsutoki Shiozawa's avatar
      Remove unnecessary right padding from time picker · f275ab8c
      Tetsutoki Shiozawa authored
      Symptom:
      When the device language was set to Spanish, "A.M." label was not fully
      displayed on the time picker widget. "M." was lacked.
      
      Root cause:
      There are unnecessary right paddings on the layout definition of time
      picker. It uselessly consumes the room for ampm_layout.
      
      Bug: 64498105
      Change-Id: Ie52fafc0fb7d6d6ea5b0ca2eaeb53755d4aebc19
      f275ab8c
  8. 26 Jul, 2019 1 commit
  9. 25 Jul, 2019 3 commits
    • Luca Stefani's avatar
      Default the network location provider to none · c854c295
      Luca Stefani authored
      Change-Id: I4d087827e3e1738c106c560928022be51a7664ab
      c854c295
    • Kevin Tang's avatar
      combo issue when location reported by providers do not come with extras · a405c905
      Kevin Tang authored
      LocationManagerService tries to create an extra bundle and stick it
      into the location object, but it is not doing it correctly. As a
      result, combo drops report.
      
      Change-Id: I6f5886dd7f14819ecc7a4ed96c867a0ec486faf7
      CRs-Fixed: 962746
      a405c905
    • Dante Russo's avatar
      NLP Combo feature · 7b20d435
      Dante Russo authored
      If Combo Provider is listening for network
      locations, it will want to screen these locations
      before they are sent out to clients.
      
      Get the package name for combo provider from resouce
      instead of hardcoding the name. Also, geofence services
      provider is renamed to differentiate from the hal
      geofence provider
      
      Only screen network locations if Combo provider is
      the connected network location provider.
      
      Resolved issue where MockProvider was being cast to
      LocationProviderProxy and would cause a fatal exception
      
      CRs-fixed: 483398, 608477, 619882
      
      Change-Id: I3156e85307b40aee9fb06b433c83153c84b8ed42
      7b20d435
  10. 24 Jul, 2019 2 commits
    • Romain Hunault's avatar
    • Han Wang's avatar
      jni: Fix improper call to createFromExisting() · 22c9c67a
      Han Wang authored
       * We need to pass "false" as another parameter to fix a jboolean
         check crash on eng builds.
      
      F system_server: runtime.cc:566] JNI DETECTED ERROR IN APPLICATION: unexpected jboolean value: 319040960
      F system_server: runtime.cc:566]     in call to CallStaticObjectMethodV
      F system_server: runtime.cc:566]     from android.graphics.GraphicBuffer android.view.SurfaceControl.nativeCaptureLayers(android.os.IBinder, android.graphics.Rect, float)
      
      Change-Id: I7a88225d3ebeb5d74b209cd1f962f1da3c1e8290
      22c9c67a
  11. 23 Jul, 2019 2 commits
  12. 22 Jul, 2019 2 commits
  13. 21 Jul, 2019 1 commit
  14. 16 Jul, 2019 1 commit
  15. 14 Jul, 2019 1 commit
  16. 13 Jul, 2019 2 commits
    • Luca Stefani's avatar
      Merge remote-tracking branch 'aosp/pie-gsi' into lineage-16.0-pie-gsi · 1fe7143a
      Luca Stefani authored
      * aosp/pie-gsi: (50 commits)
        Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev
        Stop invoke initAppOps in Camera default constructor.
        [RESTRICT AUTOMERGE] Careful with screenshots containing secure layers!
        HwBlob: s/malloc/calloc/
        [RESTRICT AUTOMERGE]: Exclude secure layers from most screenshots taken by the system server.
        Revert "DO NOT MERGE Refactor passwords/pins/patterns to byte[]"
        Revert "DO NOT MERGE Make a copy of data stored in LockSettingsStorage cache"
        Fix ExifInterface for .heic when meta is at the end
        Add cross user permission check - areNotificationsEnabledForPackage
        Limit IsSeparateProfileChallengeAllowed to system callers
        Added missing permission check to isPackageDeviceAdminOnAnyUser.
        Add cross user permission check - areNotificationsEnabledForPackage
        Limit IsSeparateProfileChallengeAllowed to system callers
        Added missing permission check to isPackageDeviceAdminOnAnyUser.
        Add cross user permission check - areNotificationsEnabledForPackage
        [RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage
        Limit IsSeparateProfileChallengeAllowed to system callers
        Limit IsSeparateProfileChallengeAllowed to system callers
        [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage
        [RESTRICT AUTOMERGE] Added missing permission check to isPackageDeviceAdminOnAnyUser.
        ...
      
      Change-Id: If1505a52445115853b2633049958a498467fb384
      1fe7143a
    • Romain Hunault's avatar
  17. 12 Jul, 2019 2 commits
    • Derek Sollenberger's avatar
      Improve performance of unclipped save layers. · 60ed54d8
      Derek Sollenberger authored
      Instead of allocating a separate renderTarget and switching
      between them on each draw the new implementation follows the same
      pattern that the old HWUI renderer used. The area of the layer is
      now copied to a buffer on the GPU, the area is then cleared, rendered
      as normal, and finally the texture is redrawn using dst_over blending.
      
      This results in no render target switches and is considerably faster
      on most hardware.
      
      This CL also addresses initial bugs where the fading edge effect was
      impacting neighboring pixels when the matrix contained fractional
      values.
      
      Bug: 129117085
      Test: skia unit tests and test cases described in the bug
      Change-Id: I9d898faf12fadc2a99d57de513d6a96d42733cdb
      60ed54d8
    • Romain Hunault's avatar
  18. 09 Jul, 2019 5 commits