Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

@fazilsheik96
Copy link
Contributor

No description provided.

minaripenguin and others added 27 commits February 9, 2025 15:29
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: mukesh22584 <mks22584@gmail.com>
Squash commits:

Author: Albert I <kras@raphielgang.org>
Date:   Thu May 12 05:37:43 2022 +0800

    core: pm: Wipe package cache when upgrading system

    As we keep adding and removing features with each build, it's necessary to have
    package cache wiped out to avoid certain potential issues from arising due to a
    dirty flash.

    This commit is meant to supplement existing check for builds with incremental
    version that starts with "eng" (not eng build type, which skips generating
    package cache by design) which will continue to behave as expected.

    Signed-off-by: Albert I <kras@raphielgang.org>

Author: Albert I <kras@raphielgang.org>
Date:   Fri Apr 8 18:59:52 2022 +0800

    core: Wipe package cache on upgrade even on user build

    As we're spoofing builds by pretending it to be user, let's just do this
    for everyone.

    Signed-off-by: Albert I <kras@raphielgang.org>
    Change-Id: I5d967c25bd9c4890549d5d20f5e66b0c6845528c

Author: Pranav Vashi <neobuddy89@gmail.com>
Date:   Thu Nov 14 01:40:35 2019 +0530

    Restore cache clean up code in PackageManagerService

    [AnierinBliss]: Forward port to Android 13

    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    Signed-off-by: AnierinB <anierin@evolution-x.org>

Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ieebe379853b69eb9268814169f58cf7794d8a0a5
(cherry picked from commit 593e13511d3872cdc2040a429beac702be9b7d7b)
Media files take up a lot of spce. Deleting them cuts the size of frameworks
almost in half.

Change-Id: Ia540bdd22b5de3c141718107df62c3dc491e6cc7
Signed-off-by: Evan Anderson <evan1124@gmail.com>

base: Remove unnecessary videos

PureNexus Edits:
*also remove the makefiles as well since they are useless without the videos

Change-Id: I7be80ddfbe5cd5502fbd77467216a5b67ac620c4
Change-Id: I84303ee26d0232e471f44ae6eff6e41a2210e42e
Signed-off-by: spezi77 <spezi7713@gmx.net>
- Conversations: enabled by default on Pixel
- Charging ripple: enabled by default on Pixel
Taken from ProtonAOSP/android_vendor_proton@a32d8c4
This saves memory without a noticeable loss in quality.

Extracted from the Pixel stock ROM.

Change-Id: I9d2cf3890c4815f45b8ad6965d0ccb37c0a23b26
Signed-off-by: minaripenguin37 <alexfinhart@gmail.com>
Signed-off-by: rk134 <rahul@aospa.co>
Change-Id: I6627916d00c869e313d12fd073ac88517fcab471
Signed-off-by: mukesh22584 <mks22584@gmail.com>
Change-Id: I1a49ad197627f0577b97d0c583f17d713e2aecd2
* similar to lottie animations seen on OEMS like oplus and samsung

Change-Id: I2cd29394cdb4072ac4d039652fd6bedbef010f91
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: S I P U N <sipunkumar85@gmail.com>
…lor scheme

Change-Id: I6fb389bdfaf40c195ac02f9ec67563b024db5189
Inspired by nothing ;)

Shrink down the dialog a bit to make way for it.

Change-Id: I56b8c70011c90103e87ee298d83d9f93270d8bc5
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
Bootanimation process will read the persist.sys.somethingos.bootanimation property
And then play the right bootanimation depending on this value

The fallback is bootanimation.zip

Change-Id: Ibda2df8d8d49e52e7872f38e41816fad7c2dab75
Can be useful in some cases.

Change-Id: I999337cc55e9675cedde35191a6438d90744e5aa
Signed-off-by: LibXZR <i@xzr.moe>

Adapt to Android 13
Signed-off-by: someone5678 <nemui3353@gmail.com>
Resets package signatures without wiping data.

Based on the commit below from Sam Mortimer at LineageOS,
but refactored for Android 13 as Google moved most code
outside PackageManagerService. We also use a property,
ro.persist.sys.signatures.reset, to make sure this
only happens once instead of occurring every boot.

Reset all package signatures on boot

Can be used to make a special build that resets all
package signatures without wiping any data.

Change-Id: Iff65f2ed3c9d0f80be7221ff90803eda4732cac0

Change-Id: I526b9f155c238a946181023cd16d07e0b6cd9430
Co-Authored-By: Sam Mortimer <sam@mortimer.me.uk>
Co-Authored-By: Anay Wadhera <anay@aospa.co>
Squashed:
* FlashlightStrengthTile: Ignore sliding when tile is inactive
* FlashlightStrengthTile: Use correct default value for percentage drawable
* FlashlightStrengthTile: Hide percentage when tile is inactive
* FlashlightStrengthTile: Don't turn off for percentage > 0
* FlashlightStrengthTile: Refresh state on torch strength level changes
* SliderQSTile: Use different bg color for =>90%
* QSTileViewImpl: Allow to override getBackgroundColorForState()
* QsTileViewImpl: Make setColor() as protected
* Update to Android 15

Co-authored-by: Jake Weinstein <jake@aospa.co>
Co-authored-by: ralph950412 <ralph950412@gmail.com>
Co-authored-by: Dhina17 <dhinalogu@gmail.com>
Change-Id: Ic9b423f1701b0047c148e90a772db84f8dea0b35
Change-Id: I5164c68b3f161ea594cc24ebe90db90bfebf3e94
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/5667
Reviewed-by: Sourajit Karmakar <sourajit@live.com>
Tested-by: Sourajit Karmakar <sourajit@live.com>
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7145
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/8666
Reviewed-by: Sourajit Karmakar <sourajitk@statixos.com>
Tested-by: Sourajit Karmakar <sourajitk@statixos.com>
Improves responsiveness

Change-Id: I18a52ac84ba9c8274adc757e41ca2ca995d514f6
Modern devices now has a blazing fast NAND that storage speed is not the bottle-neck when it comes to reading apks.

So use 0 compression ratio for improving speed and memory usage.

Change-Id: I20820ed514eddb02164df5d65e870a80f9332172
Signed-off-by: arter97 <qkrwngud825@gmail.com>
Author: Adithya <gh0strider.2k18.reborn@gmail.com>
Date:   Fri Sep 10 14:20:54 2021 +0530

    SystemUI: Show daily data usage in QS footer

     * Refactor existing build text view
     * Adapt to T

    Squashed:

     * SettingsLib: Add method to get daily data usage
     * SystemUI: Show wifi usage in QS footer when available
     * SystemUI: Move QS page indicator to the right

    Change-Id: Ifcd39167e6522935a8a29dc89d7e5f415893d266
    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Thu Sep 29 00:49:35 2022 +0530

    SystemUI: Hide QS data usage if no wifi/sims

    Instead of showing dummy text like '0 B used today'.

    Change-Id: I066751ad7f791e2efcaab43a20b6228f144d0c0d

Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Tue Oct 11 01:00:28 2022 +0530

    SystemUI: Avoid NPE in QS footer data usage

    In some rare cases, can hit this NPE.

    10-09 12:32:52.244  2316  2316 E AndroidRuntime: FATAL EXCEPTION: main
    10-09 12:32:52.244  2316  2316 E AndroidRuntime: Process: com.android.systemui, PID: 2316
    10-09 12:32:52.244  2316  2316 E AndroidRuntime: java.lang.NullPointerException: Attempt to get length of null array
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at java.util.Set.of(Set.java:692)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.settingslib.net.DataUsageUtils.getNormalizedMobileTemplate(DataUsageUtils.java:67)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.settingslib.net.DataUsageUtils.getMobileTemplate(DataUsageUtils.java:57)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.settingslib.net.DataUsageController.getDailyDataUsageInfo(DataUsageController.java:109)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.systemui.qs.QSFooterView.setUsageText(QSFooterView.java:117)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.systemui.qs.QSFooterView.setNoSims(QSFooterView.java:184)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.systemui.qs.QSFooterViewController$2.setNoSims(QSFooterViewController.java:73)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.systemui.statusbar.connectivity.CallbackHandler.handleMessage(CallbackHandler.java:84)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7898)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    10-09 12:32:52.244  2316  2316 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

    Change-Id: Ib5ab5da259a80b7f1e3a12b0c8a5078eb976fd20

Co-authored-by: AnkitGourav <Ankitgourav035@gmail.com>
Co-authored-by: Anushek Prasal <anushekprasal@gmail.com>
Co-authored-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Change-Id: I316b2a2cbdd69307cacd444bb6100c5c7dc56af4
Feature: yt/KSCOPE-23
Change-Id: Ia9447ca17f6b24152b64526c25710a77e1388ce6
Signed-off-by: LibXZR <i@xzr.moe>
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
@DylanAkp: Enable by default, adapt for AOSPA overlay

Change-Id: Ic6695dfe929db443f169d59f153e14a6de249590
Highly inspired from AOSPA/android_frameworks_base-old@d4f3047

Except we'll do it differently over time, so renaming it to avoid confusion, and starting from the most basic version seems to be the best idea
- Conversations: enabled by default on Pixel
- Charging ripple: enabled by default on Pixel
Taken from ProtonAOSP/android_vendor_proton@a32d8c4
If there are two visible rows and the user touches the default (music)
row, the other row disappears immediately. Avoid this behaviour by
tracking the row with which this panel was created and keep showing
that row if the user adjusts the music stream.

Test: While receiving a call both rows are touchable and the additional
      row does not disappear when adjusting the music stream.
Change-Id: I4e14a0ea50c5cc41cb279c6fbfc8a7d6e6d1ba61
nift4 and others added 19 commits February 11, 2025 04:53
* useful to test proper operation of home controls modifications
* easier than buying an smart home :)

Change-Id: I7fb23089611be6d50f252e2d8f6c1d1bba202cb6
* Fixes device control crash when interacting with cat control

stacktrace: java.lang.RuntimeException: java.lang.IllegalArgumentException: 0|com.android.egg|1|com.android.egg.neko:allcats|10100 Not posted. PendingIntents attached to bubbles must be mutable
	at android.app.job.JobServiceEngine$JobHandler.handleMessage(JobServiceEngine.java:109)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7837)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Change-Id: I1e755ce8a38cfefb1474bbfefd307767a436e9d0
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
* Replace deprecated methods with the ones the android doc recommends
  as a replacement

Change-Id: I1be5ba74da6f9a8e68bed4a0478675f90c9c28c6
Signed-off-by: Joey Huab <joey@evolution-x.org>
This reverts commit 7370241.

Change-Id: Idc55a0515983652fff1f68cd6503f46c607591cd
This partially reverts commit ffb1601.

This revert does keep Controls in QS 100% intact, but it allows the
power menu to have controls as well. You can even have both, if you
want.

2022/11/05 - nift4: port to T
2023/01/20 - nift4: QPR rebase
		    trick for future rebases: for i in packages/SystemUI/res/values-*/strings.xml; do git show de1606e:$i | grep quick_controls_subtitle && sed -i "s#</resources>#$(git show de1606e:$i | grep quick_controls_subtitle)\n</resources>#g" $i; done
2024/04/30 - ikeramat: port to u-qpr2
2024/10/16 - dhina17: port to V

Change-Id: I384b9fe5ed0422a5ec2abcedaf624252f72e19fd
2024/05/07 - ikeramat & dhina17: port to u-qpr2
2024/10/16 - dhina17: port to 15

Squashed:
- SystemUI: power menu styles refresh

Change-Id: I8e4a29ab0f65e3051b898e49e96ed0b2ef43acca

fixup! Power menu styles: Initial checkin for 15 [1/3]

Fixes no background scrim in global actions when blur
is disabled.

Change-Id: Icdf786b661fe23773af1ad33ed8a902c68ee67a2
Fixes crash on launching A11 power menu with device controls.

Test
1) Set the power menu style to "Full (A11)".
2) Install the Google Home app.
3) Add your home to the device controls.
4) Long press the power button.

The power menu should open without crashing.

Change-Id: I6b7a96f75ef9b6b06491925a918122fdb2b0caad
This looks better with more number of users.

Change-Id: I16227e297abda84ab192d1d9e9e480ac3dc142ce
Google made it very easy on this cycle (systemui can just kill its own pid).

Change-Id: I91021e906907737c47b09da57c0181ee23cbcde7
[nurkeinneid] partial pick of DirtyUnicorns/android_frameworks_base@9c53066
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
Required for power menu broadcast after new Dolby Implementation.

--------- beginning of crash
09-11 19:44:41.119  1924  1953 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: android.ui
09-11 19:44:41.119  1924  1953 E AndroidRuntime: java.lang.SecurityException: android: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at com.android.server.am.ActivityManagerService.registerReceiverWithFeature(ActivityManagerService.java:14125)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1852)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1792)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1780)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at com.android.server.policy.PhoneWindowManager.init(PhoneWindowManager.java:2403)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at com.android.server.policy.PhoneWindowManager.init(PhoneWindowManager.java:2194)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at com.android.server.wm.WindowManagerService$5.run(WindowManagerService.java:1146)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.os.Handler$BlockingRunnable.run(Handler.java:984)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:958)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:205)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:294)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at android.os.HandlerThread.run(HandlerThread.java:67)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at com.android.server.ServiceThread.run(ServiceThread.java:46)
09-11 19:44:41.119  1924  1953 E AndroidRuntime: 	at com.android.server.UiThread.run(UiThread.java:45)

Change-Id: Id7ca50784b2f6a843dcf9d246fe56d1210bfd07c
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
Change-Id: I8159e029f14896e1bae3bd1047618ffa69724ba9
When a row is added while the dialog was open, for example when a remote stream
is started, the row is added as the innermost row. Due to the hidden expandable
rows we need to set the x-translation for the new row for it to not be in the
middle of the screen.

Test: 1. Start a remote stream in spotify
      2. Force close spotify
      3. Open spotify and immediately open the volume dialog by pressing a volume key
      4. Ensure the row is placed next to the default row
Change-Id: I8d5731acf85cad9b50a00c0bed116fcb1cff4f92
so it can be applied for our sysui impl i.e ParanoidSystemUI

Change-Id: I0194eb27cc9f28d80630da13fc594afe6e24dcf5
This looks better with more number of users.

Change-Id: I16227e297abda84ab192d1d9e9e480ac3dc142ce
Passing control action to activityStarter.dismissKeyguardThenExecute()
is enough to toggle it post device unlock.

Test: Use a control action from locked device, notice that it's no
      longer toggled twice.
Change-Id: I48cb9e0ad2425d35063fddefc738ab36c01690b8
Change-Id: Icdc039d13fd2676c1eb979a81fb77f9a6ec59b4a
Co-Authored-By: Hendrik Hagendorn <git@finnq.de>
Co-Authored-By: kxxt <rsworktech@outlook.com>
Co-Authored-By: LuK1337 <priv.luk@gmail.com>
Co-Authored-By: Michael W <baddaemon87@gmail.com>
Co-Authored-By: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I7f27f135ae0d1e731c936792f655c115f107d20c
Co-Authored-By: Dhina17 <dhinalogu@gmail.com>
* Follow height dimension of left clock.

Change-Id: I58cf1a4814e4af8a2e8e8353001ff7d85a27589b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I4a38ecab4f63e5400a956b4b342d97ab95f5c58f
tony-mak and others added 6 commits February 11, 2025 15:36
Error from StaleDataclassProcessor:
An annotation processor threw an uncaught exception:
Failed to detect repository root: no parent of /mnt/disks/build-disk/src/googleplex-android/main/. contains frameworks/base/services/core/java/com/android/server/pm/pkg/component/ParsedProviderImpl.java

Cause:
This file was moved in ag/25544330. But the generated class was not updated.
StaleDataclassProcessor was trying to read the file using the old path
and thus the exception.

Fix:
Rerun the codegen plugin on this file.

While I don't understand why this only happens now, but this looks like  a legit error (the file path mismatch). I verified the error goes away
with the fix.

Bug: 309596860
Test: m framework-minus-apex
Flag: EXEMPT bugfix
Change-Id: I4e89bbd34217de5454b563021c4306af98362032
Default to the old long press behaviour when the feature is enabled.

Change-Id: I5fc37f818b06db2bd2d315cffee2041a740781ed
Signed-off-by: Jesse Chan <jc@lineageos.org>

Implement click to take partial screenshot [1/3]

Default to the old long press behaviour when the feature is enabled.

Change-Id: I5fc37f818b06db2bd2d315cffee2041a740781ed
Signed-off-by: Jesse Chan <jc@lineageos.org>
…nshots

The partial screenshot UI is basically unusable. Replace it
with the long screenshot UI which offers cropping, saving,
canceling, and sharing capabilities.

Change-Id: I27f7a811838f7e3f2057f567c7a350255996a8cb
Add corner boundaries that allow resizing in both vertical and
horizontal directions at the same time.

To handle corner boundaries, split every boundary into vertical
and horizontal boundaries, and handle both vertical and horizontal
changes for all boundaries. If the boundary is a purely vertical
(top, bottom) or purely horizontal (left, right) boundary, the
opposite direction boundary will be none, and the selection won't
be changed on that selection.

Also, add a middle boundary that allows moving the current selection.

To achieve this, treat the middle boundary as composed of top and
left boundaries, and when trying to change either the top or the
left boundary while the currently dragged boundary is the middle
one, reposition the opposite boundary too.

Change-Id: I6dd703733b3d161f5979d91a124350fb1a8d52ae
Partial screenshots are screen-size and don't need a magnifying glass.

Change-Id: I472103352411d1482423230a4ff08ddda45cc53d
Change-Id: Ief5510c037b27be714f8f6cc8661d81931f3babd
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.