Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base: Port all CLO's framework boost #90

Open
wants to merge 723 commits into
base: tirimbino
Choose a base branch
from

Conversation

matt0301
Copy link

@matt0301 matt0301 commented Apr 2, 2023

No description provided.

jhenrique09 and others added 30 commits January 14, 2023 16:22
Change-Id: I1897aa22a9c29627b2f03e14f093151453df7be4
- bypassEnabled will always evaluate to false now.
- Introduce bypassEnabledBiometric which is only used to tell the biometric service whether we can bypass lockscreen without swipe dependant on Settings.Secure.FACE_UNLOCK_DISMISSES_KEYGUARD.

Signed-off-by: Ethan Halsall <ethan.halsall@gmail.com>
Change-Id: Ibdbf16df18543382219a75ce1aaf4e25f3fb4ddb
Based on: PixelExp-Project/frameworks_base@be8d037

Change-Id: I758cfc7346d0038371892d3446c9ffb7c99c577e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
There is currently no feedback or indication that biometric authentication is in progress.

The user must explicitly tap the "Unlock to Pay" button for biometrics to be requested.

Change-Id: Ife8a25db1d64a487ed7eaaa9c4959158d3dfd93c
Change-Id: I237f1bbb49dec279a22cfd78004f93a71843d25e
Fixes face unlock authentication on some 3rd apps

Follow T changes on PixelExperience/frameworks_base@4f75555

Change-Id: Ibb9464b604b6613de290408c3b0a866ca00a44c8
Checking if IPC is whitelisted causes an fc. So use
a more direct approacy and assume it is.

Change-Id: I0f8ab8ee816466e64f54dccd80de1a09e6c09d01
Change-Id: I9a8e812bbe869dead94d631fa0a2f53f3bf67cc6
Google removed the animation on Android 12, let's use a text instead

Change-Id: I93c4121c57137764edb0b31678d103fd5f7d4dcc
Change-Id: I28869635ba9d7361b4db042a1049c6afe501dbf9
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Change-Id: I23f414b341a309b32b378503fe58d7ba11b0e6f4
I can't believe I still have to do this in 2023, what is reality?
Problem: {
    1. Open youtube video premium. Start any video.
    2. Press back make the video smaller.
    3. Then press home or back from navigation buttons.
    4. Observe animation surface is very weird.
}

Solution: {
    1. Youtube itself has set very small pip args. That causes surface to first scale then animate.
    2. So set the sourceHintRect to null. To show only color overlay and animate the task snapshot only.
    3. Will make better user effect.
}

Bug: 263842271
Signed-off-by: pioush.kumar-IN009423 <pioush.kumar@oppo.com>
Change-Id: I33e29c504a33be992ab4dc74d23240ad98720c91
…US_GAIN in looping mode

A voip app will usually use notification with FLAG_INSISTENT when a new voip call comes, if the duration hint was AUDIOFOCUS_GAIN the music app will not continue after the voip call end.

Signed-off-by: wumin3 <wumin3@xiaomi.com>
Change-Id: I6270bb08181b8fb94c84ec0f69bd226f3a7d0f01
When there is only single SIM, the signal icon disappears
from expanded QS header on switching dark theme QS tile.
Ensure that the signal icon is always shown on single SIM.

Change-Id: I089731fe5815a0b2bcbbed1002ca65aa5d3301cd
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Now that we're flipping QS colors by theme (dark/light), we can no longer
rely on wallpaper colors for QS clock. Instead, we now can rely on clock color
being updated correctly on QS re-inflation (via
QuickStatusBarHeader.updateResources).

Change-Id: Icdf2484793cb63b7c0ab6ab87e94185e6bdc9ca4
Signed-off-by: DennySPb <dennyspb@gmail.com>
neobuddy89: Update NFC icon and use it in tuner pref as well.

Change-Id: I69cbe658d5571807b5ee8631ded57ecb7b7c622e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
Based on the following changes:

Author: Steve Kondik <steve@cyngn.com>
Date:   Mon Sep 12 12:49:59 2016 -0700

    systemui: Enable navbar tuner

     * And add an action for it

    Change-Id: I23a51cc8e33f3498deec9ed60281423c66bbc4ca

Author: Steve Kondik <steve@cyngn.com>
Date:   Wed Sep 14 05:08:02 2016 -0700

    systemui: Fix a few issues with Tuner

     * Allow launching PreferenceScreens directly by setting the
       "tuner" extra to a valid key.
     * Remove the silly warning. There are no dragons here.
     * Move CM stuff to CM manifest.
     * Fix the ActionBar title when navigating.

    Change-Id: Ideac31dbfd71d7c0aa7fc3c20395c24128c598fc

Author: Joey Rizzoli <joey@cyanogenmoditalia.it>
Date:   Tue Nov 8 15:44:25 2016 +0100

    Tuner: allow power notif controls to be launched externally

    Change-Id: I8a9e1a2080640938c99125ab04986dfc99e004bf
    Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>

Author: Gabriele M <moto.falcon.git@gmail.com>
Date:   Sat Sep 16 19:35:28 2017 +0200

    SystemUI: Revert some Tuner changes

    These changes were done to start the status bar tuner directly without
    showing the main Tuner screen. However, they negatively affect the
    management of the fragments. Revert them so that a different solution
    can be implemented in a follow-up change.

    This reverts the following commits:

     - 338de6728d8910d450f8962a44bbe69feba1ced4
       "Handle onOptionsItemSelected for TunerActivity"

     - b3eba6af8e3253efc1332b55821fd08e4fbf77b0
       "SystemUI: Remove nav bar and status bar options from SystemUI Tuner"

     - 82b9f95f761e7b5cc94ea2542b30460e48f8fb02 (partially)
       "systemui: Fix a few issues with Tuner"

    BUGBASH-661

    Change-Id: I35182248566ff31ed08d2836d66d5bd3f947ee9a

Author: Gabriele M <moto.falcon.git@gmail.com>
Date:   Sat Sep 16 19:35:38 2017 +0200

    SystemUI: Add separate pref screen for the status bar tuner

    Keep the status bar preferences separate and allow to start them
    directly without loading the main tuner fragment.

    Change-Id: Ie1a0d9395b7bc01d585616a1976adeda3c457a0d

[ghostrider-reborn edits]
- adapt to android 12
- nuke navbar and notification tuner
- add back clock options
- improve settings title
- TODO: use android 12 silk settings layout

Change-Id: Icc84575db18931d3a43bd9e640f2a55a51b460c1
Signed-off-by: Adithya <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: I817083aa49ae6c8102cfd9c5dd9969de5d0e893f
Change-Id: I579d1ec7a6d66ac7055cce7d7e905bae7dc5cd9a
Signed-off-by: Adithya <gh0strider.2k18.reborn@gmail.com>
Change-Id: I326e1d54019179f0505a558b7e57ab6a2479cdf2
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: I827fa7552280f3a1a2615e266ebfd64d662287a7
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
- Icons from aosp base and settings
- Minor edits for width, height, tint and color

From 'core/res/res/drawable' dir:
- ic_statusbar_auto_rotate - ic_qs_auto_rotate
- ic_statusbar_camera - ic_camera
- ic_statusbar_mute - ic_audio_ring_notif_mute
- ic_statusbar_wifi - ic_wifi_signal_4
- ic_statusbar_alarm - ic_audio_alarm

From 'packages/SystemUI/res/drawable' dir:
- ic_statusbar_headset - ic_headset
- ic_statusbar_cast - ic_cast

From 'packages/apps/Settings/res/drawable' dir:
- ic_statusbar_work - ic_enterprise
- ic_statusbar_hotspot - ic_hotspot
- ic_statusbar_do_not_disturb - ic_do_not_disturb_on_24dp
- ic_statusbar_ethernet - ic_settings_ethernet
- ic_statusbar_mobile_network - ic_network_cell
- ic_statusbar_airplane - ic_airplanemode_active
- ic_statusbar_clock - ic_settings_date_time

@ Stallix: Include Data saver and VPN icons as well

From 'packages/SystemUI/res/drawable' dir:
- ic_statusbar_data_saver - ic_data_saver
- ic_statusbar_vpn - ic_qs_vpn

@ ghostrider-reborn: Include roaming icon

From 'packages/SystemUI/res/drawable' dir:
- ic_statusbar_roaming - stat_sys_roaming_large

@ nurkeinneid: Change Bluetooth icon

From 'core/res/res/drawable' dir:
- ic_statusbar_bluetooth - ic_qs_bluetooth

Change-Id: Id30e5039e73068d0c73dd5fc7d0305865af1d791
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
- Comment out pointless menu code

Change-Id: I6af8f972830e88908852b9ce59ec8568dafc5514
Change-Id: I8125f09376abff5f03c4ca3534f363c8b95d9802
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
neobuddy89: Use Tuner API.
Change-Id: I4b3b43441089d1955ce667ea92d911f2b9735d63
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
* adapted to A12 L
* ditch TunerService and use ContentObserver
* added setting key to backup array
* move settings observer to StatusBarIconControllerImpl class
* set style when an icon manager is added and update it whenever settings changes, this way we don't update all icons whenever addMobileIcon is called

Change-Id: Ie93ae57e4fdd34a035d4c8e1e2733ed31fee6c41
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
* Device side dimen overlays should reflect the maximum resolution.
* Inspired by: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/339290

@neobuddy89:
Clean up redundancy chaos.

Signed-off-by: AnierinB <anierin@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: offender6969 <divye.singh92@gmail.com>
Signed-off-by: darkphnx <dark.phnx12@gmail.com>
Signed-off-by: Roxor-007 <koyande72@gmail.com>
Signed-off-by: darkphnx <dark.phnx12@gmail.com>
Signed-off-by: Roxor-007 <koyande72@gmail.com>
Signed-off-by: darkphnx <dark.phnx12@gmail.com>
Signed-off-by: revolwoc <imsakshisharma04@gmail.com>
Signed-off-by: darkphnx <dark.phnx12@gmail.com>
Signed-off-by: Ghosuto <clash.raja10@gmail.com>
eyosen and others added 28 commits March 17, 2023 16:44
Choose from Omni style with dedicated line of
location, conditionimage, temperature
or KeygardSlice style added to the dateline with
conditionimage, temperature. Care is taken to properly
display in ambient display, and ambient music.

Change-Id: I6f09967843d360a82b6c98b8e3d1c9a269af798f
Change-Id: Icdfc9a56303bdae94fc0c739b3af548306f71fb4
Change-Id: I786b29a6adb1adf330f5011636878e9907f296c9
looks out of place else

Change-Id: Ib4108832d93755086a007cfb9c719b9fdc454eb0
Also includes
	Grant default location permissions to OmniJaws
	Author: Ali B.
	Change-Id: I2988eea61414dafc94e52729b997d07f4673a9ad

Change-Id: I50349a910aa604959def70377da135c6d94c7774
Until this change, the temperature strings were combined together with the weather condition images. This caused the temperature string to be clipped when using some icon packs.

Let's just uncouple the text and the image and set the text to a separate Textview. Also improves readability

Change-Id: I9dbef7d946599f07a1ac8e8ec018e305baa5c6f2
- The weather panel don't always render custom icons properly, so force the default icon pack for qs tile
-  Fix some padding on detailed weather view
- Drop some unused code
Change-Id: I81ccec06dc24db56ca7e9588bdee9bf5412d2dc7
Change-Id: Ia60a44a046ab50ebc3bc28433f07a25201d426f7
Adapted to 12

Original commit credits to @ neobuddy89

Change-Id: I797239cd72c0f509ac2580214555b941912dfde1
With dedicated weather style enabled, weather line
and top line of notifications or music player overlap.
Push notifications container down sufficiently to
prevent overlap.

Change-Id: I4162625d35394e66de4eff9e5218b61ca42bfea8
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/WeatherTile.
java:56: error: symbol not found com.android.systemui.plugins.qs.DetailAdapter

import com.android.systemui.plugins.qs.DetailAdapter;

DetailAdapter.java was removed here: AICP/frameworks_base@c292eff

Change-Id: Ie78d7ed5d6eff9797bafb00a9817bdf67a6ccecb
Keeping the weather at centre horizontal was looking a bit weird, so align it with the clock with some margin so as not to irk anybody

The city string might get long in some cases so keep the view on top of the clock view
Change-Id: I95245233cf0cabc67242279c557182778039fbab
This reverts commit e939949a3f2ddd57a326041441a1784d71830532.
RIP DetailAdapter. Let's make the tile work for now
Instead of making the actual status the title, let's show it as
secondary text, else it's a bad, ugly, meanie QS tile.

Change-Id: Ifc4c5f12e6759d016ce77a35c6bdf0d8df2db8ce
Bootleggers note: This originally was intended to work on longclick,
but that behavior was intended if the detailed view still was there.

Now that the detailed view is gone? let's make the third party apps a priority

Change-Id: I049e026bcdcdea34ed61a07e6de953d91c6e57c1
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
…installed

Change-Id: I2ea721a53d63dbd80edcc7a29e791f89c8cc0859
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
This will make the weather tile, on long press, start the alternative weather apps instead of shoveling google weather no matter what
Thanks @ishubhamsingh for the help with the code part

Change-Id: I92839d79ec6e472fc619fee2dfb9fd4d27605708
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
Disable city by default
Enable temp by default
also correct the default icon

Change-Id: I8403edfd69492d5a6a588ce7dc4a153528d821cb
Change-Id: Iffa6a36ea8b66df5a83824e207ea4e3c2a818186
go now the easy way of just using Build.TIME
there is no need to add back Build.DATE as we did in 11

Change-Id: I731d762885cd418cce816be8bd1bc4fc0deb65d7
This was before in PackageManagerService.jave like
 final String cacheName = FORCE_PACKAGE_PARSED_CACHE_ENABLED ? "debug"
                : SystemProperties.digestOf(ro.build.date.utc);

Now they switched to PackagePartitions.FINGERPRINT which broke
the invalidate of the cache for new builds

also add a missed usage of changed fingerprint in StorageEventHelper.java

Change-Id: I6cca07659a8e7a4f99ed58761dc727e0e5e20ef8
we anyway made sure cache gets invalidated correctly
does not matter if userdebug eng or whatevber

Change-Id: Idfe319b38d36d56df687a01fb62c468e643a8b60
* This works just as well as it does on CLO. Ofc relies on CLO's Perf libs

Change-Id: Icc2f6d5aa244ffcc43931c993d1a116ff7ec0bf5
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
(cherry picked from commit c1f593f59b6cdd480f16023716baef2564643b52)
As the initialization function can be accessed from multiple threads,
need to add lock protection to avoid data race issue.

Change-Id: I22e9ae8392cdc00e36131b257e24bb17e9d8e361
CRs-Fixed: 3343100
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
(cherry picked from commit 2ec1f76c32f6b8c4e1904bf554dcbdea275ded9c)
Multi-layer rendering can result in unexpected pending between UI
thread and render thread if pre-rendering enabled. Need to disable
pre-rendering for multi-layer cases.

Change-Id: I569e6eb77e4feb2071b9f172d3d9ea9e7eddbacb
CRs-Fixed: 3333436
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
(cherry picked from commit c8e8711ffbc36661ea4b3a1cd7daa88ef0b21737)
Change-Id: I1faf475d3b935b0b9a62c5ae4225d04b078004d9
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
(cherry picked from commit 32723942cbc2df78fbf37b4db5882a79e1b0bc27)
Change-Id: I5e22a590b0f1f0e9a678d45d06bb262021cf84bb
Signed-off-by: aswin7469 <aswinas@pixysos.com>
@itsHanibee
Copy link

surprised that we didn't have this yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet