Commit Graph

200 Commits

Author SHA1 Message Date
Pun Butrach
b67168f737 Allocate insane memory just for CI
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:44 +07:00
Pun Butrach
dd4a08be61 Merge tag 'android-16.0.0_r3' into 16-dev
Android 16.0.0 Release 3 (BP3A.250905.014)

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:04 +07:00
Shamali Patwa
868b2daa5f Listen to sizing changes to make rotation of picker smoother for widget picker activity
Bug: 408283627
Flag: EXEMPT not applicable
Test: See demo in comments.
Change-Id: I179fd17203eb4949ee9a1173bf686a54ab2b1636
2025-05-30 10:17:24 -07:00
Shamali Patwa
021c13c172 Extract widget picker intent extras in WidgetPickerActivity
This change refactors activity to move base activity to launcher3

This is to prepare for using it for launching widget picker for
homescreen and use compose.

Bug: 408283627
Flag: EXEMPT independent module
Test: Manual
Change-Id: I271748fb73b3691ba4d046ac8aceb51c4c8aea55
2025-05-27 17:21:31 -07:00
Jaewan Kim
0fc8aa7b8b Declare android.intent.action.ALL_APPS explictly
This helps to open all apps via adb command in standard way
when gesture action isn't convenient. (e.g. Cloud Android)

Note that the intent is defined in Intent.java and public,
and Launcher activity has handled the intent.

Test: Manually on Cloud Android
Flag: EXEMPT nitfix
Bug: 398109316
Change-Id: I61a33d9074d0bead42bdab3679777fbf892cf3bd
2025-02-20 21:52:02 -08:00
MrSluffy
77e0a795b5 Fix 2024-09-15 08:50:28 +08:00
Andy Wickham
b442235208 Update minSdk to 30.
Also update build.gradle to match.

Test: Build and install with gradle
Flag: NA
Change-Id: I74f2109a13cc662be2d66e472ff010a3acd139f5
2024-01-23 15:55:40 -08:00
Kieron Quinn
d96a511efe Implement Smartspacer as an alternative At a Glance provider (#3684) 2023-11-13 10:17:21 +01:00
MrSluffy
19bf26dd5a Merge branch 'aosp-13' into 13-wip 2023-10-21 09:52:01 +08:00
Goooler
2e3eae286a Mark the root project's namespace as com.android.launcher3 (#3242) 2023-01-12 21:15:13 +08:00
Yasan Ghaffarian
13a696ae0f Revert "Automatic icon reload on night mode change (#2930)"
This reverts commit 97d6c852c8.
2022-09-14 12:10:54 +04:30
Yasan Ghaffarian
97d6c852c8 Automatic icon reload on night mode change (#2930)
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-09-12 11:43:52 +04:30
Suphon Thanakornpakapong
11e1a2fdc8 Merge remote-tracking branch 'aosp/android12L-release' into 12.1-dev 2022-05-08 20:29:17 +07:00
Sunny Goyal
cd2ac0f3e9 Updating target SDK for Launcher
Bug: 229173942
Bug: 226461147
Test: Presubmit
Change-Id: Id9e303f113cba87adf26442f1417ed2814555c54
2022-04-18 13:55:01 -07:00
kholoud mohamed
ceec31b17c Expose action that allows landing on the work tab
Bug: 217385869
Bug: 203531272
Test: manual
Change-Id: I68a6add9f603105e0a2ee01ebdc3059e18c9a050
2022-02-07 18:53:49 +00:00
TreeHugger Robot
67cace3558 Merge "Make Launcher activity restart on density change" into sc-v2-dev am: e641701c9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183372

Change-Id: I8e26c801c530d4f2851fe7d41cc58ed83ff5d51b
2021-11-05 12:02:23 +00:00
Alex Chau
84fe75d72e Make Launcher activity restart on density change
- Launcher used to restart when density changes before http://ag/14234761, which added smallestScreenSize and density in configChange
- http://ag/14234761 aims to avoid restart when switching display in split dispalys, for which only size changes, therefore density is unnecessary in configChange
- Keeping density in configChange make Launcher acitvity to stay after changing display size, making all buttons stays in old size in previous denstiy, which is a bug

Bug: 204157738
Test: manual
Change-Id: Ib85326078c67c35d90dc5e9ae5c20eeb5286a610
2021-11-04 11:33:16 +00:00
Suphon Thanakornpakapong
1f095eb8cc Merge remote-tracking branch 'aosp/master' into 12-dev 2021-10-17 20:51:49 +07:00
Suphon Thanakornpakapong
cc2bd15873 Merge remote-tracking branch 'aosp/android12-release' into 12-dev 2021-10-05 14:13:08 +07:00
Sunny Goyal
19994afa41 Merge "Updating test build rules" into sc-v2-dev am: 741107cc53
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15605214

Change-Id: I3f62661c7597cb262393d7338906dbef44a2be6c
2021-08-18 19:47:25 +00:00
Sunny Goyal
4af8cf9269 Updating test build rules
> Moving definition to bp files
> Adding mokito-inline to allow mocking final classes
> Moving src_common to src to avoid unnecessary code split

Bug: 196825541
Test: Presubmit
Change-Id: Ib6879cda6aee74f5b9050a16eb6ca94ed3b7e28c
2021-08-18 10:22:52 -07:00
Damian Patel
1c01685186 API level 30 upgrade: AOSP/Launcher3
The AndroidManifest.xml and build.gradle file of the AOSP
Launcher app has been upgraded so that its targetSdkVersion
is 30. This change has been made on git_master so that
we can avoid presubmit conflicts when making this change
on the aosp-master branch.

Change-Id: Ie476f8cbe56bf51218b15b8361a22fec2dc845e6
(cherry picked from commit 499ffce2e7)
2021-08-05 16:53:39 +00:00
Suphon Thanakornpakapong
8f9f9677ac Drop non-quickstep versions 2021-06-03 23:48:40 +07:00
Alex Chau
a02eddc144 Handle config changes in Launcher
- This is practically a revert to http://ag/c/13687966/5 and refactored to use DisplayController.DisplayInfoChangeListener
- Make Launcher handle size and density change so transition is less janky when screen size changes
- Added fix in RecentsView to update state and TaskView when display profile changes
- Removed 720dp specific resoureces
- Removed unused widget_section_indent
- Removed unnecessary all_apps_background_canvas 600dp override that is not needed in AllApps+
- Moved remaining dp specific into DeviceProfile
- Simplified allowRotation logic to use single variable in DeviceProfile to determine if allow rotation is enabled by default

Fixes: 180803696
Test: manual
Change-Id: Iea0a7d1a0e14dc3613152dd3b3887450a2e1fc2f
2021-05-10 18:50:02 +01:00
Patryk Michalik
aab6b80fa0 Relicense to and fix compliance with Apache 2.0
[skip ci]
2021-04-24 09:48:35 +02:00
Kshitij Gupta
480ac2c76b Lawnchair: Fix icon size and label size reload, implement launcher restart 2021-03-22 19:10:41 +05:30
Patryk Michalik
fedd0906b2 Correct application ID to app.lawnchair 2021-03-21 18:22:24 +01:00
Patryk Michalik
ff5ae4ba57 Change application ID to com.lawnchair 2021-03-21 18:18:42 +01:00
Kshitij Gupta
bfce6ad32b Lawnchair: Port Lawnfeed/Bridge to A11 2021-03-19 03:41:31 +05:30
Kshitij Gupta
aa7512c273 Merge tag 'android-11.0.0_r33' of https://android.googlesource.com/platform/packages/apps/Launcher3 into HEAD
Android 11.0.0 Release 33 (RQ2A.210305.007)
2021-03-18 23:07:37 +05:30
Alex Chau
8c575c378e Remove smallestScreenSize from configChanges
- Remove smallestScreenSize so Launcher activity restarts when screen size changes to pick up new smallestSize dependent values e.g. R.bool.allow_rotation

Bug: 180803696
Test: Ensure rotation preference is respected when switching between large and small screen

Change-Id: I58f856a97effa8e35236d013300181c5d332b25a
2021-03-01 12:20:26 +00:00
Kshitij Gupta
16275e5c04 Launcher3: Standalone studio build 2021-02-28 02:57:05 +05:30
Winson Chung
ff6d94dd92 DO NOT MERGE Revert "Handle uiMode changes"
Bug: 171707437
Test: Repro steps on bug

This reverts commit 0ad7b172e6.

Change-Id: If30cbb6c155e879dc8307a0a4a06dfb548b389a1
(cherry picked from commit 4b4341d3a7)
2020-12-09 07:33:40 +00:00
Winson Chung
4b4341d3a7 DO NOT MERGE Revert "Handle uiMode changes"
Bug: 171707437
Test: Repro steps on bug

This reverts commit 0ad7b172e6.

Change-Id: If30cbb6c155e879dc8307a0a4a06dfb548b389a1
2020-10-28 19:18:03 -07:00
Hyunyoung Song
45c0918f47 Merging ub-launcher3-rvc-qpr-dev to rvc-qpr-dev
Bug: 162366734
Test: system image builds

Change-Id: I6675431b180976798afacc7a99251ae36764a50a
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-30 00:26:39 -07:00
Sunny Goyal
eaf7a95546 Changing minimum supported Launcher version to 26
Change-Id: I49fcf874430ac53c3246371e179fbd828e14e4da
2020-07-29 17:30:19 -07:00
Hyunyoung Song
0a4a4d920e Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"

Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"

Revert submission 12190253-merge_ub-launcher3-rvc-qpr-dev_6690853

Reason for revert: Build ID picked from ub-launcher3-master and not ub-launcher3-rvc-qpr-dev

Reverted Changes:
I9e658ece0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
I2a47fe180:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ie86b0a2e0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Id3ca76da6:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ib6a63da0f:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Bug: 162366734


Change-Id: Ie81853a34c9a48d5b3fd922c65483a9ff639e0ce
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-28 23:43:43 +00:00
Winson Chung
0c2b05947e Handle uiMode changes
- Launcher already dedupes if there are no theme changes

Bug: 148988542
Test: adb shell cmd uimode car yes/no, adb shell cmd uimode night yes/no
Change-Id: Ia83f02d18a0433c8be59d1f488e58b38476ba5ff
2020-07-21 17:20:53 +00:00
Ashwini Oruganti
aa902e859b Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for future versions. This change adds the value reflecting the
previous default to the manifest.

These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.

Bug: 150232615
Bug: 158198882
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: I083a7bcab968c881f7cdff7152a249691ffac316
2020-06-23 13:58:18 -07:00
Sunny Goyal
f5577b1117 Changing target sdk to Q
Change-Id: I9c2ac12d81d3b04e1a29f6c2a1f2e32fff76de7f
2019-05-17 23:19:58 -07:00
TreeHugger Robot
eefa08b8be Merge "Fix grid options provider metadata" into ub-launcher3-master 2019-01-29 22:28:44 +00:00
Santiago Etchebehere
339de9dda9 Fix grid options provider metadata
The actual authority is {packagename}.grid_control.

Bug: 122262084
Change-Id: I5552ccdb818efa49900409035e41505ed2f7687b
2019-01-29 14:15:15 -08:00
Sunny Goyal
8c48d8bea6 Changing min sdk to 25
Change-Id: I0d28069967854357ca755bf25dec19d4979bdecf
2019-01-29 11:29:52 -08:00
Sunny Goyal
6dda58a31b Adding meta-data for grid options provider
Bug: 122262084
Change-Id: I4b07f17eb9bad351a48e2d612159fbe2d33cf1dd
2019-01-24 15:40:55 -08:00
Hyunyoung Song
ddcecfa634 System apps must target API 28 or higher
Bug: 120997004
Change-Id: I998a443a4327c47cbab8e4bc4843be1693f05d8d
2019-01-03 12:57:33 -08:00
Sunny Goyal
7f920b8d5e Cleaning up build rules to simplify customizing derivative projects
> Using {packageName} instead of hardcoding com.android.launcher3 in AndroidManifest.xml
  for strings which are dependent on packageName
> Adding proguard rule to prevent obfuscating any overridable class
> Making it easier to extend SettingsActivity by overriding the fragment class

Change-Id: I5668c3f33b4cf20ad01d7f54b3d79cc0d268d391
2018-07-02 11:16:04 -07:00
Sunny Goyal
bd88f396dc Defining a base theme, which can be overriden by derivative projects without
affecting launcher theme

Bug: 70220582
Change-Id: Ie3069686be5e6a42910e90541db2d6b5b79e25c1
2018-06-08 11:20:01 -07:00
Sunny Goyal
f5c5d04b3b Preventing activity restoart on mnc/mcc changes
Bug: 77651657
Change-Id: I68a6995d57da4b3c43c1ecd78deda40c78934533
2018-05-18 13:46:15 -07:00
Sunny Goyal
e9c897080c Making read permission for android content provider as systemSignature
to prevent unwanted access to user data

Bug: 74360014
Change-Id: I0155c25d91609f4492f56b221c372ec3f51442e3
2018-03-23 14:36:48 -07:00
Sunny Goyal
623eddd7e8 Updating Launcher rotation logic
When auto-rotate is on, launcher allways allows rotation. This allows uses to use
locked rotation feature is available on the device
When auto-rotate is off, workspace does not allow rotation, but overview in quickstep
will allow rotation

Bug: 73872056
Change-Id: Ie12365c268fd5e4958634ed97b5a33dcadc691e2
2018-03-03 00:41:09 -08:00