Skip to content

DerpLauncher: Import Brazilian Portuguese translations#28

Open
franklin-albuquerque wants to merge 183 commits intoDerpFest-AOSP:15from
franklin-albuquerque:15
Open

DerpLauncher: Import Brazilian Portuguese translations#28
franklin-albuquerque wants to merge 183 commits intoDerpFest-AOSP:15from
franklin-albuquerque:15

Conversation

@franklin-albuquerque
Copy link
Copy Markdown

No description provided.

Riddle Hsu and others added 30 commits August 28, 2024 22:31
Currently the recents activity is started by a pending intent created
by launcher. And the sender is system server.
(HIERARCHY_OP_TYPE_PENDING_INTENT in WindowOrganizerController)

If the intent creator doesn't have visible windows, e.g. launcher is
occluded by its another embedded of another package, then the background
launch policy will check whether the intent sender is allowed. But
system server also doesn't have visible windows, which causes
BackgroundActivityStartController#
checkBackgroundActivityStartAllowedBySender to return BalVerdict.BLOCK.
Which will set MOVE_TO_FRONT_AVOID_PI_ONLY_CREATOR_ALLOWS to disallow
moving the target task to front.
See I72a6c22a5fb27aeac52a4e5d46c6a16e28ee6757 for the block policy.

Although currently the recents activity can still move to front because
some places miss to check blocking the launch. Then it is like just
using a security hole.

By adding the background launch permission hint to ActivityOptions,
BackgroundActivityStartController#hasBalPermission will check if the
real caller has permission START_ACTIVITIES_FROM_BACKGROUND. Then
it will pass because the intent sender is system server.

Bug: 341618283
Flag: EXEMPT bugfix
Test: atest NexusLauncherTests: \
            com.android.quickstep.TaskAnimationManagerTest
Test: Swipe to minus one screen. Click a news item to Launch chrome.
      Swipe from bottom to return to home. There should not have an
      error log:
      "Without Android 15 BAL hardening this activity would be moved
       to the foreground ... only the creator of the PendingIntent
       allows BAL. realCallingPackage: android.uid.system:1000 ..."
       (from ActivityStarter#logPIOnlyCreatorAllowsBAL)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a37161182e76cf445b660d1d4ac138476cfa278e)
Merged-In: I19153f6553c09421bca248d4ff9110d168b34f98
Change-Id: I19153f6553c09421bca248d4ff9110d168b34f98
…37873'] into 24Q3-release.

Change-Id: Iba44d4e0412fb8299af4210fff2ce512380529b5
Squash of commits 224af31 and 23817f7.

Change-Id: I7ccdab88f40a3c8a2075265a45dfe70e824d9f00
Signed-off-by: Joey <joey@lineageos.org>
Change-Id: I072a85e068de4017c8d401785a89dc49296060cf
Signed-off-by: Joey <joey@lineageos.org>
* We track QuickSearchBox for EPPE, but don't want it built.

Change-Id: I3b12b6493c3a191f3dabd1d3537da403a2c38349
Squash of commits 9eeb786 and c183526.
Includes:

Author: Joey <joey@lineageos.org>
Date:   Fri Nov 1 11:56:19 2019 +0100

    Update default workspace

    Change-Id: I852edb6dda3e2030f97eb244ee35c1a647366901
    Signed-off-by: Joey <joey@lineageos.org>

Author: Arne Coucheron <arco68@gmail.com>
Date:   Sat Jan 11 01:57:25 2020 +0100

    DerpLauncher: Replace LockClock widget with DeskClock

    Change-Id: Ic958dbabcd18ee02cbd8b7ea2513356d5a2e90de

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Thu Dec 3 16:07:35 2020 +0000

    DerpLauncher: Update GMS packages in the default workspaces

    Google Play Music is dead. Parter GMS has been updated to reflect
    this change, so apply it here as well.

    Change-Id: I13ad48964d826413e825fabb3aa8f9316ca2594d

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Thu Dec 3 16:44:59 2020 +0000

    DerpLauncher: Move Duo into Google folder as per GMS sample integration

    Change-Id: I588dd9092a2804ec197f6e0735f9f0bc43a0122f

Change-Id: I0ed2e193c8acbe52644412be82e906eab0cb5e30
Change-Id: I3f49937bd304b6e129ab8624fec1451146e49b38
Change-Id: Idc4d2622a4155854ff2762b2392a8d0f8cddb2c6
  Had a 5x6 grid (with 6 hotseat spots) on my fajita back in los 16.0
  and wanted one on los 17.1
  On my Shamu I used to have 6x6 (with 6 hotseat spots)
  5x7 has 5 hotseat spots

Includes:
Author: Sam Mortimer <sam@mortimer.me.uk>
Date:   Sun May 16 21:26:44 2021 -0700

    DerpLauncher: Set 5x6 grid to 5 hotseat icons

    * 5x5 and 5x7 have hotseat icon count 5 (matches column count)

    * 5x6 currently has hotseat icon count set to 6 which does not
      look good with the column count of 5.

    * The original commit message shows this was intentional:
      https://review.lineageos.org/q/Ib8d5dcc70d386376755c0a57b009ced1b2ee0834
      But a hotseat icon count of 5 for all of 5x5,5x6,5x7 looks more consistent.

    Change-Id: Ic55a258b8ef64d10b7440576af87d0e78d318cc3

Change-Id: Ib8d5dcc70d386376755c0a57b009ced1b2ee0834
The Pixel stock ROM offers this option in ThemePicker.

Change-Id: I059f81c24eeb42acdabdc29e0cc773830f778181
Change-Id: Id4c11eab1f2f2c8b33ede6491acb8e5b90d07fc7
Since we removed QSB on top it looks empty at the fist glance after boot.
So, add "At a glance" widget provided by Google to the default workspace,
this allows the user to move it around or remove it as per their choice.

Change-Id: I4c2d7007595ceedca454e31ed751e75b06093c8d
(cherry picked from commit 6d962cea2cd351142d92dc71e229bb76b78086a2)

DerpLauncher: Add smartspace widget to 3x3 and 6x5 grids

Change-Id: Ib1426c9e52e1ebc065bad41b04a7b7eb8c92531c
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
And also give it one extra span in Y for layouts that have 6 rows and above

Change-Id: Iaa0e4c8a38143b8b0b69bb24879edf4968cd4ed8
Change-Id: I8268a215257ae0e399c56ac8b44cdfdff8cc92a0
Change-Id: Ib94bac4546a328462ec83a7d2e1ffca56ef7343a
Change-Id: I44e9288c3de13a3604b7a03857ec400753317d9a
The logic was reversed. All apps view should dissmiss on back key when
the searchbox is focused but empty and clear when not empty.

Change-Id: Id11c991dae6c159b986966f278f0c792993b6abd
- Use new API to enable/disable SysUI taskbar integration
- User-facing setting to control taskbar eligibility
- Reload by restarting (live reload would be much more complicated)
- Update SysUI integration state before reloading

Depends on frameworks/base commit:
    SystemUI: Add API for runtime taskbar config

Change-Id: Id1889ca9b102f94cc0a1161f49de88428dcc0943
Depending on the navigation mode in use, the animation used
for the swipe down gesture may result in a NPE. While it works
perfectly fine with full gesture or 2-button navigation modes,
an NPE results when swiped down on 3-button navitation as recents
task is trigged with the third button instead of the swipe up
gesture.

Change-Id: Id276489a8d2acdd44d4e33fcc1bc6a9b193e0bf8
This is similar to, but not exactly the same as, Pixel stock:

- Background color with contrast in light mode
- Round, flat search bar surface with color matching the header
  background
- Solid rounded background when positioned at the beginning of the list
- Subtle placeholder text (medium weight) without icon
- Same font size as Settings search bar

Change-Id: Ifa9fabe3a8236513fad8030c0bd8ed4d27ebd549
Commit Ifa9fabe3a8236513fad8030c0bd8ed4d27ebd549 improved the look
of the search bar, however it had a few issues and the overall
look did not match Settings or Widget search style.

The following improvements have been made:
 - Centered the search bar text vertically inside the search bar
 - Fixed poor contrast of the search bar text against the background
 - Added back search icon that is always shown, matching Widget search
 - Changed paddings to match Widget search

Change-Id: Ia127da05adff45f8860f0870817aaa9fde8e171c
Change-Id: Ic779bf0bf20046bfe92385e6a09796e94ba68644
* Else text goes brrrr....

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ie7f872aaa5677ead3128ef2fbe410434d28953ef
Go to the recents page from all apps page and rotate to horizontal, at
last switch to one app that only support portrait display, we will see
the gesture navigation always at device right and not move to bottom.
At this scenario, launcher state switch from overview to all apps, but
launcher not notify systemui update gesture navigation display.

To slove this, launcher must notify systemui update gesture navigation
display when launcher state switch from overview to all apps.

CRs-Fixed: 2828560

Change-Id: Ib2319045d3851b43dadd6a0e06ac65be2e5227f7
Matches Pixel launcher look.

Change-Id: I3808763c13f25c12f31d6e6f98abd29dc3422d75
Redone, again. This time, many comments added.

Compared to I586f7332, this primarily results in some fixes for the
floating header row(s) (AiAi prediction row) if present.

Change-Id: Ib0f383fb89a6847fccbcc96d13b051983d76f0c5
* Entering and leaving search now takes effect right away.
* Should fix race in which tapping an app while search results are
  loading causes a tap on the previous app in the position, rather
  than on the search result.
* Helps prevent the scrollbar from appearing to be scrolled down
  somewhat when leaving search with floating header rows present;
  still happens sometimes, though (on stock OS launcher, too).

Issue: calyxos#1413
Change-Id: I67bc59456eb2e57e13b1b99509d3313ff0243b88
neobuddy89:
When app label in app drawer is disabled, there is an overlap.

Before: https://imgur.com/H2eQGer
After: https://imgur.com/4YqAN4Z

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Sorting behavior is different in the exact locale "zh-CN", but newer
setups will have "zh-Hans-CN" and miss the locale-specific behavior.

P.S. "zh-CN" locale is no longer accessible in settings UI.

Change-Id: I59afe38e1ea2ac507ff017e855d9810092604e99
* Supply the UserHandle to BitmapIcon, rather than FLAG_WORK, so that
  the proper badge icon can be used for a given profile (different
  colors).

Change-Id: I64f1b425eee5cc7994616050411a881d84ece99d
nift4 and others added 17 commits October 18, 2024 00:02
As per minaripenguin's now reverted commits

Change-Id: I4fc0918e5b39d225e09841fb2dc53ff52df87932
Signed-off-by: SahilSonar <sss.sonar2003@gmail.com>
Signed-off-by: Saalim Quadri <danascape@gmail.com>
Change-Id: I0fb6a013103f87ee8e31e8a183f3475a9c7e3f61
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: SahilSonar <sss.sonar2003@gmail.com>
Signed-off-by: Saalim Quadri <danascape@gmail.com>
Change-Id: Idf33016938fa5d7c0228312c8e2395ead3d43463
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Since top shadow is allowed to be disabled, use dark
  status bar is a good idea if a light wallpaper is in
  current.

* Inspired from lawnchair:
  LawnchairLauncher/lawnchair@fd2de21

Co-authored-by: Suphon Thanakornpakapong <paphonb@gmail.com>
Change-Id: I682fc4ba36415564086927ae1264e33c012fd28f
Background color is black when black theme is used. That looked bad
on QSB for obvious reasons.

Change-Id: I4733c4a3429b38c46328d4c8682760e98655aa8f
Limiting this to 3 does not make sense since most users keep at least
6 six apps in their app switcher. Having the thumbnail cached is much
more convinient and helps the user get contextual information even if
the app is unloaded from memory.

Change-Id: Ia6476799231ac303044859933538020294598894
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
* fixes: prediction row and all apps search icon not showing as themed icons

test: m Launcher3QuickStep, install apk, visuals

Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
* It may leads to poor UX on devices don't have a good
  vibration motor

Change-Id: Ie1b3532f2aae00b90fd39ac8f6294c79b8bc67a5
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
…erence

Change-Id: I81a58671ca5811ea18fb51c7689a0097eb103e87
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>²
Avoid recents getting stuck when Google Lens is "Unable to open image".

Change-Id: I61ac95a8b4603b63b7d7c4edf73804c3e9738f91
Dhina17: Adapted for 14.
Sahil: Adapted for 14 QPR1.

Change-Id: I13bee37cae645f50512f4d80cdfa25f84dce1b6b
Signed-off-by: LibXZR <i@xzr.moe>
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
Signed-off-by: SahilSonar <sss.sonar2003@gmail.com>
Parallel users also have badge so don't consider it as work profile.

Change-Id: I8b08f800b0178d3b4b09f2ab72d9de8b35cf1d64
 * Kill -> Force close
   Keeps a better consistence to describe its action
   (as it's going to force close the app)

Signed-off-by: Mesquita <mesquita@aospa.co>
Change-Id: Ibd0b1999cfbde7550457af4d4ca213452eeb4dd3
Co-authored-by: Alex Lseything <lseything@proton.me>
Co-authored-by: Alex Lseything <lseything@proton.me>
Co-authored-by: Alex Lseything <lseything@proton.me>
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.