Skip to content
  1. Apr 19, 2024
    • Jordibgzashtita's avatar
      Revert "Gestures nav: Make it cancelable" · a2e51c5a
      Jordibgzashtita authored
      This reverts commit 5121b50f.
      a2e51c5a
    • Jordibgzashtita's avatar
      9dc5132a
    • Jordibgzashtita's avatar
    • Jordibgzashtita's avatar
      Revert "Implement transient task mode" · 4daba46a
      Jordibgzashtita authored
      This reverts commit add7ca58.
      4daba46a
    • Jia Zekun's avatar
      OverlayManagerService: add a new thread to handle user receiver · 059a1552
      Jia Zekun authored
      
      
      We discovered a systemserver main thread blocking problem during the STS test.
      This problem caused a delay of 3 seconds in the systemserver main thread, which
      caused a delay of 3 seconds in sending the notify message of the change of
      hidden_api_policy field in SettingsProvider. As a result, the field does not take
      effect during testing and the test fails.
      
      Analyzing the code, we found that the code we added in the OverlayManagerService
      to dynamically change the theme using the RRO mechanism held mLock in advance,
      causing the ACTION_USER_ADDED message to wait for the lock in the systemserver
      main thread.
      
      Although we have added a lot of code that uses RRO, we still believe that the
      Handler of the receiver where ACTION_USER_ADDED is located needs to be placed in
      a new thread like the receiver of ACTION_PACKAGE_ADDED to avoid blocking the
      main thread.
      
      Related Testcase:
      
      CtsSecurityBulletinHostTestCases
      android.security.cts.CVE_2023_21244#testPocCVE_2023_21244
      
      Change-Id: Iea1e522c210140728832c6ecef1bcc2888bd5ddb
      Signed-off-by: default avatarJia Jia <jia.jia@zte.com.cn>
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      059a1552
    • nift4's avatar
      Implement transient task mode · add7ca58
      nift4 authored
      AKA "Tadi mode"
      
      Change-Id: I67a0ec743cd0084c2b63bdaf5aa78a20d269f47d
      add7ca58
    • someone5678's avatar
      Gestures nav: Make it cancelable · 5121b50f
      someone5678 authored
      
      
      * Referenced from commit "Implement edge long swipe gesture to new back gesture affordance"
      * Remove long back swipe timeout setting
      * Execute long swipe action when movement changed from down to up
      * Cancel when x pointer smaller than threshold
      * Use double click effect instead of heavy click
      
      Change-Id: Icab2864703d518f4fa78a438d0e225a094fa1308
      Signed-off-by: default avatarsomeone5678 <someone5678@users.noreply.github.com>
      5121b50f
    • dantmnf's avatar
      PhoneWindowManager: Check camera availability on camera key long press · e8d27fbf
      dantmnf authored
      And don't launch camera when camera is in use.
      
      Change-Id: I55a96d6c777104155d879251400956713cb119b5
      e8d27fbf
    • Dhina17's avatar
      fixup! SystemUI: Implement hide gestural navigation hint bar · a0f7fc21
      Dhina17 authored
      Views should be touched only from main thread.
      
      Change-Id: Ib2e464eba593e870d120aea7181b3ad8f4229fc6
      a0f7fc21
    • T.J. Mercier's avatar
      Throw exception for negative UIDs/GIDs · 3b8b6553
      T.J. Mercier authored
      UIDs and GIDs are unsigned on linux. Badly behaved callers are
      occasionally passing negative integers for UIDs through JNI to uid_t
      which is unsigned. Prevent this by throwing a JNI exception.
      
      12-08 23:15:34.542  1000  3354  3388 I ActivityManager: Force stopping com.android.cts.install.lib.testapp.A appid=10109 user=-1: deletePackageX
      12-08 23:15:34.543  1000  3354  3388 E libprocessgroup: No such cgroup attribute: /sys/fs/cgroup/uid_4294877405/cgroup.freeze
      12-08 23:15:34.543  1000  3354  3388 W libprocessgroup: Failed to apply Frozen process profile: No such file or directory
      
      Test: 12-11 18:43:23.145  3432  3466 I ActivityManager: Force stopping com.android.cts.install.lib.testapp.A appid=10109 user=-1: deletePackageX
      Test: 12-11 18:43:23.146  3432  3466 E ActivityManager: Unable to freeze cgroup uid: -89891: java.lang.IllegalArgumentException: uid is negative: -89891
      Test: 12-11 18:43:23.147  3432  3466 E ActivityManager: Unable to unfreeze cgroup uid: -89891: java.lang.IllegalArgumentException: uid is negative: -89891
      Bug: 316198981
      Change-Id: I24cb1e65e502ef6e09226538efe6ed54c8db7cdd
      3b8b6553
    • Steven Moreland's avatar
      HwParcel: Remove ambiguous nullability annotation. · bfe57ab8
      Steven Moreland authored
      This function throws IllegalArgumentException if the handle
      would be null.
      
      Fixes: 327499594
      Test: N/A
      Google: 2986669
      Change-Id: Iee6e3d671995d359968c3b2023e2c01a256f57a7
      bfe57ab8
    • Charles Munger's avatar
      Avoid string and varargs allocations for preconditions checks in hot methods · f7ea6b07
      Charles Munger authored
      Compiler explorer shows a 4x reduction in code size for the method on the hot path.
      
      BUG=327646201
      Google: 2985111
      Change-Id: Idcd1e3cc62ce5c9360e0ab334b01ecb2c3d73be1
      f7ea6b07
    • Paul Lawrence's avatar
      Prevent error message on svc power reboot · f3edaac9
      Paul Lawrence authored
      With the changes to sys.powerctl this variable is no longer set on a
      power event - the power action is simply carried out. (This is to avoid
      possible DoS of these power functions.) However, this means that this
      property can no longer be read to see if a power event is happening.
      Since there is no longer a way of telling if a remote exception is real
      or not, best not to print out an error.
      
      Note that this bug occurs on some devices, not all. I was able to
      reproduce it reliably on a Pixel 7a, but not on a Pixel 7 or Cuttlefish.
      
      Bug: 318323013
      Test: adb shell svc power reboot
      
      Google: 2983091
      Change-Id: Icbc1ec1b7882140d4d742b056ea2adaafae67ee9
      f3edaac9
  2. Apr 17, 2024
    • Subratam6296's avatar
      services: Handle single duration vibration patterns · 40d574ec
      Subratam6296 authored
      
      
      Signed-off-by: default avatarSubratam6296 <padraramesh420@gmail.com>
      Change-Id: Ic29fb38104be43342a2fc9d940ea3da67e0fdd69
      40d574ec
    • Subratam6296's avatar
      SystemUI: Ensure longPressText handler is not null in MediaViewHolder · ec3308d3
      Subratam6296 authored
      
      
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: marquee while longPressText.getHandler() is null
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: java.lang.Exception
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.media.controls.models.GutsViewHolder.marquee(GutsViewHolder.kt:53)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.media.controls.models.player.MediaViewHolder.marquee(MediaViewHolder.kt:98)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.media.controls.ui.MediaControlPanel.closeGuts(MediaControlPanel.java:1697)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.media.controls.ui.MediaCarouselController.closeGuts(MediaCarouselController.kt:1062)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.media.controls.ui.MediaCarouselController.closeGuts(MediaCarouselController.kt:1061)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.media.controls.ui.MediaHierarchyManager.closeGuts(MediaHierarchyManager.kt:609)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.shade.NotificationPanelViewController.onClosingFinished(NotificationPanelViewController.java:3120)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.shade.NotificationPanelViewController.endClosing(NotificationPanelViewController.java:4172)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.shade.NotificationPanelViewController.notifyExpandingFinished(NotificationPanelViewController.java:3983)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.shade.NotificationPanelViewController.onFlingEnd(NotificationPanelViewController.java:2236)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.systemui.shade.NotificationPanelViewController.onAnimationEnd(NotificationPanelViewController.java:2219)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.Animator.onAnimationEnd(Animator.java:711)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.Animator1121288ExternalSyntheticLambda1.call(Unknown Source:4)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.Animator.callOnList(Animator.java:669)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.Animator.notifyListeners(Animator.java:608)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.Animator.notifyEndListeners(Animator.java:633)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1306)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1566)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:344)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.AnimationHandler.-1121288Nest(Unknown Source:0)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.animation.AnimationHandler.doFrame(AnimationHandler.java:87)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.view.Choreographer.run(Choreographer.java:1341)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.view.Choreographer.run(Choreographer.java:1352)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.view.Choreographer.doCallbacks(Choreographer.java:952)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.view.Choreographer.doFrame(Choreographer.java:878)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.view.Choreographer.run(Choreographer.java:1326)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.os.Handler.handleCallback(Handler.java:958)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.os.Handler.dispatchMessage(Handler.java:99)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.os.Looper.loopOnce(Looper.java:205)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.os.Looper.loop(Looper.java:294)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at android.app.ActivityThread.main(ActivityThread.java:8297)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at java.lang.reflect.Method.invoke(Native Method)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.internal.os.RuntimeInit.run(RuntimeInit.java:554)
      03-05 08:55:14.942  2323  2323 D MediaViewHolder: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
      
      Signed-off-by: default avatarSubratam6296 <padraramesh420@gmail.com>
      Change-Id: If493cafcb72c722b285ece305995fc3aa8d8582b
      ec3308d3
    • Subratam6296's avatar
      SystemUI: Handle unexpected behavior · 2b860435
      Subratam6296 authored
      
      
      Signed-off-by: default avatarSubratam6296 <padraramesh420@gmail.com>
      Change-Id: Ib220680a5978de890de3f5a56e9c3c1539c9e3f1
      2b860435
    • Subratam6296's avatar
      Core: Ensure proper initialization · 57c4bc3b
      Subratam6296 authored
      
      
      Signed-off-by: default avatarSubratam6296 <padraramesh420@gmail.com>
      Change-Id: I9024eedcfa9342088b640b3d3e6f1a4c1e7ba752
      57c4bc3b
  3. Apr 16, 2024
  4. Apr 15, 2024
    • minaripenguin's avatar
      Integrate Pixel framework hooks and wrappers · f51ca5cd
      minaripenguin authored
      
      
      [someone5678]
      * Add collapseShade, animateCollapseShade, and animateExpandNotificationsPanel
        for Quick Tap gesture
      
      Change-Id: I6f4203391d544205ea77107303fe2a5b1468e3c7
      Signed-off-by: default avatarminaripenguin <minaripenguin@users.noreply.github.com>
      Signed-off-by: default avatarsomeone5678 <someone5678@users.noreply.github.com>
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      f51ca5cd
    • Joey Huab's avatar
      [SQUASH] SystemUI: Move to SystemUIGoogle Smartspace impl · 5bac47c9
      Joey Huab authored
      Revert "SystemUI: Smartspace: Update for 14"
      
      This reverts commit f2922ac21babc8f6a4c35a45bc26166d18f56ba4.
      
      Revert "SystemUI: smartspace: Adapt to 13-QPR2"
      
      This reverts commit f3662b25f289d6580004b5e538d10dbea740ace7.
      
      Revert "SystemUI: Open google weather on tapping smartspace"
      
      This reverts commit 07af2639d3ce306822d1c8193813420e86f6e94a.
      
      Revert "SystemUI: Update smartspace to 13-QPR1"
      
      This reverts commit 00796209aae32e459d32009087f871ab3ecc48cc.
      
      Revert "SystemUI: BcSmartspaceView: Allow setting current page"
      
      This reverts commit dec356e0238c833e3e82f25987df468f1a8915eb.
      
      Revert "Smartspace: Fix music indication not showing on doze/aod"
      
      This reverts commit 4adc91ae6f0cee196a2e4ef48bee3f3c567d5ada.
      
      Revert "SystemUI: Forward-port smartspace to Android 13"
      
      This reverts commit 06f12815b5bedf0091509f20697e39d07c5f87c3.
      
      Revert "SystemUI: Grant INTERACT_ACROSS_USERS_FULL permission for smartspace"
      
      This reverts commit 0e86e94d5eabeb64c49370f633cb5d887cc926dd.
      
      Revert "SystemUI: Grant additional permissions for smartspace"
      
      This reverts commit 810403b553059a1020b4958939b2bf19433cd2bf.
      
      Revert "SystemUI: Implement Reverse-engineered Smartspace"
      
      This reverts commit 2a02f911c47f476a725ecbf8a089f02c9d6444cb.
      5bac47c9
    • someone5678's avatar
      SystemUI: AntiFlickerTile: Catch NullPointerException · 60a4b4d3
      someone5678 authored
      Log:
      11-17 22:38:42.791 10389 10389 D AndroidRuntime: Shutting down VM
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: FATAL EXCEPTION: main
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: Process: com.android.systemui, PID: 10389
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: java.lang.NullPointerException: Parameter specified as non-null is null: method com.android.systemui.qs.QSHostAdapter.removeTile, parameter spec
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.QSHostAdapter.removeTile(Unknown Source:3)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.tiles.AntiFlickerTile.updateConfig(AntiFlickerTile.java:102)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.tiles.AntiFlickerTile.<init>(AntiFlickerTile.java:78)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.tiles.AntiFlickerTile_Factory.newInstance(AntiFlickerTile_Factory.java:87)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.tiles.AntiFlickerTile_Factory.get(AntiFlickerTile_Factory.java:71)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.tiles.AntiFlickerTile_Factory.get(AntiFlickerTile_Factory.java:19)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.tileimpl.QSFactoryImpl.createTileInternal(QSFactoryImpl.java:86)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.tileimpl.QSFactoryImpl.createTile(QSFactoryImpl.java:72)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.QSTileHost.createTile(QSTileHost.java:507)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.QSHostAdapter.createTile(QSHostAdapter.kt:188)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.customize.TileQueryHelper.addCurrentAndStockTiles(TileQueryHelper.java:129)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.customize.TileQueryHelper.queryTiles(TileQueryHelper.java:93)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.customize.QSCustomizerController.show(QSCustomizerController.java:195)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.QSPanelController.lambda$showEdit$1(QSPanelController.java:209)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.QSPanelController.$r8$lambda$z8OMM37iiXb3ks0E-1yg4Ohx0EE(QSPanelController.java:0)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.systemui.qs.QSPanelController$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:0)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:958)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:205)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:294)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8173)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
      11-17 22:38:42.792 10389 10389 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
      
      Change-Id: Iabe86b02056745ed2babf66fb4ef7d708fd74d09
      60a4b4d3
    • Arian's avatar
      SystemUI: Add anti flicker tile · d9739392
      Arian authored
      
      
      Change-Id: If2b23b509ff7f8c56abe427d8c35d27c453bd224
      
      [someone5678] Forward port to QPR3
      
      Signed-off-by: default avatarsomeone5678 <nemui3353@gmail.com>
      d9739392
    • Ido Ben-Hur's avatar
      SystemUI: screenshot: Also post a notification with a preview · 5bd2859b
      Ido Ben-Hur authored
      
      
      Make each notification unique so user can take many and still quick access em all
      This does not need a setting side as the notification channel is blockable
      No notification actions for now -
      the file can be accessed by pressing the notification. Gallery can manage it just fine
      
      Squashed:
      
          From: Ido Ben-Hur <idoybh2@gmail.com>
          Date: Tue, 27 Jun 2023 13:35:27 +0300
          Subject: SystemUI: screenshot: Add delete and share notification actions
      
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      
          From: Ido Ben-Hur <idoybh2@gmail.com>
          Date: Tue, 19 Dec 2023 10:49:58 +0200
          Subject: SystemUI: screenshot: Group the post action notifications
      
          And close the QS shade when the last is deleted
      
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      
          From: Ido Ben-Hur <idoybh2@gmail.com>
          Date: Mon, 15 Jan 2024 19:33:41 +0200
          Subject: base: SystemUI: Also use TAG to count group notifications
      
          So screenshot / screenrecord don't count each other's notifications.
          Fixes non dismissing group summary when there is a notification from the other service
          Also improve some code while at it
      
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      
      Fixes: https://github.com/crdroidandroid/issue_tracker/issues/370
      
      
      Change-Id: I24af5868f6cf4feb287257c8ef93f47e09e555a9
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      5bd2859b
    • Pranav Vashi's avatar
    • Pranav Vashi's avatar
      SystemUI: Fix secondary label alignment on A11 QS UI Style · d5fd2ea9
      Pranav Vashi authored
      
      
      * If there is no secondary label, we need to ensure INVISIBLE state
        else tile will look out of place.
      
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      d5fd2ea9
    • Pranav Vashi's avatar
      Add required priv-app permissions for SystemUIGoogle · 4c11fb04
      Pranav Vashi authored
      
      
      Fixes:
      
      11-25 01:42:00.604  2784  2784 E System  : ************ Failure starting system services
      11-25 01:42:00.604  2784  2784 E System  : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions allowlist: {com.android.systemui (/system_ext/priv-app/SystemUIGoogle): android.permission.ACCESS_CONTEXT_HUB, com.android.systemui (/system_ext/priv-app/SystemUIGoogle): android.permission.REGISTER_STATS_PULL_ATOM, com.android.systemui (/system_ext/priv-app/SystemUIGoogle): android.permission.SET_WALLPAPER_COMPONENT}
      
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      4c11fb04
    • Pranav Vashi's avatar
      SystemUI: biometrics: Follow user setting to confirm face unlock · 8768d47f
      Pranav Vashi authored
      
      
      * It seems that AOSP code migration has some pending clean up
        which creates issue of not honoring setConfirmationRequired(false)
        for biometric prompt.
      * Let's disregard app setting and follow only user setting whether or
        not confirm face unlock prompt is required.
      
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      8768d47f
    • Dhina17's avatar
      AppLock: Make kotlin libs available only within this module · b4468e39
      Dhina17 authored
      
      
      It causes conflict with Bluetooth system service
      (from apex module) in runtime.
      
      Change-Id: Iaa13ce9ad252ac27ea7ca3133148ef572c5f71e7
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      b4468e39
    • Pranav Vashi's avatar
      AppLock: Update for kotlin errors · b194240a
      Pranav Vashi authored
      
      
      Change-Id: I7dfb43cc118fcbdc966268ff4a7a1e6f42a718c1
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      b194240a
    • Pranav Vashi's avatar
    • Pranav Vashi's avatar
      AppLock: Move services to new package · 0358a79c
      Pranav Vashi authored
      
      
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      0358a79c
    • Pranav Vashi's avatar
      bd37bc25
    • Pranav Vashi's avatar
      AppLock: Update API to hide unprotected apps · 4e700dd8
      Pranav Vashi authored
      
      
      * To allow hiding apps in launcher even if app not protected
      
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      4e700dd8
    • jhonboy121's avatar
      base: Introduce app lock [1/4] · 99f95646
      jhonboy121 authored
      
      
      base: applock: refactor
      
      * encapsulate config data sources and add a data class for per app config
      * added support for migrating between different versions of data
      * fixed notification content not being redacted.
      
      services: applock: allow background authentication
      
      base: merge hidden app feature with applock
      
      services: AppLockConfig: fix a derp in hidePackage()
      
      services: applock: fix data migration and change secure notification parameter name
      
      * also fixed addPackage replacing data without checking if entry already exists
      
      services: AppLockManagerService: use the og calling uid for target intent
      
      * fixes launching app activites not exported
      
      * nift4: avoid changing public api
      
      * @neobuddy89: Add privapp permissions for Settings, updated for A14
      
      Change-Id: Ie35c6c7103b8bed644d510d8268d6c99cb71a1a2
      Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
      99f95646
    • Aditya Pratap Singh's avatar
      SystemUI: Fix NPE in VolumeDialogImpl causing system crash · ef76b23c
      Aditya Pratap Singh authored
      
      
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: FATAL EXCEPTION: main
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: Process: com.android.systemui, PID: 24331
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.LayoutInflater android.app.Dialog.getLayoutInflater()' on a null object reference
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at com.android.systemui.volume.VolumeDialogImpl.initRow(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:13)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at com.android.systemui.volume.VolumeDialogImpl.addRow(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:42)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at com.android.systemui.volume.VolumeDialogImpl.onStateChangedH(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:115)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at com.android.systemui.volume.VolumeDialogImpl$10.onStateChanged(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:3)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at com.android.systemui.volume.VolumeDialogControllerImpl$C$3.run(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:11)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:959)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:232)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:317)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8501)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
      04-13 17:21:25.286 24331 24331 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
      
      Signed-off-by: default avatarafterallafk <shivamatiet2001@gmail.com>
      ef76b23c
    • Ido Ben-Hur's avatar
      SystemUI: AODTile: This should be a BooleanState tile · 9c1232f2
      Ido Ben-Hur authored
      even though it has more than 2 states
      don't show the arrow if we don't lunch an activity or a dialog
      9c1232f2
    • Anushek Prasal's avatar
    • ezio84's avatar
      PackageInstaller: show current/new version on sideload · 998d700c
      ezio84 authored
      Change-Id: I5bb36cc935f81a8418309616e2daea0b14602b35
      998d700c
    • minaripenguin's avatar
      appwidget: Catch IllegalStateException when retrieving providers profiles · 9e77d92a
      minaripenguin authored
      
      
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: Nofity service of inheritance info
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: java.lang.IllegalStateException: User 0 must be unlocked for widgets to be available
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3019)
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at android.os.Parcel.createException(Parcel.java:2995)
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at android.os.Parcel.readException(Parcel.java:2978)
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at android.os.Parcel.readException(Parcel.java:2920)
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.getInstalledProvidersForProfile(IAppWidgetService.java:990)
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at android.appwidget.AppWidgetManager.getInstalledProvidersForProfile(AppWidgetManager.java:920)
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at android.appwidget.AppWidgetManager.getInstalledProvidersForPackage(AppWidgetManager.java:854)
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at android.appwidget.AppWidgetManager.lambda$new$3$android-appwidget-AppWidgetManager(AppWidgetManager.java:536)
      05-17 08:35:23.004 20883 20906 E AppWidgetManager: 	at android.appwidget.AppWidgetManager$$ExternalSyntheticLambda4.run(Unknown Source:2)
      
      Change-Id: I71eafa242246fd05efe69a2c153a6174a2fb304f
      Signed-off-by: default avatarminaripenguin <minaripenguin@users.noreply.github.com>
      9e77d92a
  5. Apr 12, 2024
Loading