Commit Graph

517 Commits

Author SHA1 Message Date
MrSluffy
cc8f9828ab Merge branch 'heads/android-14.0.0_r18' into 14-dev 2023-12-16 17:18:13 +08:00
MrSluffy
19bf26dd5a Merge branch 'aosp-13' into 13-wip 2023-10-21 09:52:01 +08:00
Bill Yi
30ffb5b971 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifb4c94c522dbae57faa97d9787cb23da91834176
2023-06-05 02:58:27 -07:00
Bill Yi
38510646db Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If1fe61685070098e6591a5287669145f89873e50
2023-04-22 00:11:39 -07:00
Vinit Nayak
4e1c1faa37 Merge "Unify split options into single option" into tm-qpr-dev am: 6fa1ab9441
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21074650

Change-Id: I6a21549a20a8f90dcc35ed29285023e844e1e627
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 06:36:19 +00:00
Vinit Nayak
5a6863f14a Unify split options into single option
* No more split left/right/top, only have
splitscreen and icon shows vertical or horizontal
split windows
* Replace existing split icon for FreeForm

Fixes: 264930810
Test: Tested landscape and portrait, workspace,
overview, allapps

Change-Id: I443f93b6b01760b726bf9f024fb1324fdf0ed03c
2023-02-01 17:27:57 -08:00
Bill Yi
ef6ec03345 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2ee7d4e8b783c974f15524b54a5a456fa2fedd03
2023-01-15 20:53:18 -08:00
Goooler
2e3eae286a Mark the root project's namespace as com.android.launcher3 (#3242) 2023-01-12 21:15:13 +08:00
Stefan Andonian
e78b34daab Merge "Rename LoaderResults to LauncherBinder." into tm-qpr-dev am: bf69ef034a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20543148

Change-Id: I6099c3312aac8cfeed3d6dafaaf8470f9c8f3687
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 23:11:36 +00:00
Stefan Andonian
e82476ad3b Rename LoaderResults to LauncherBinder.
LoaderResults implies a data object, not binding code specific to
Launcher UX containers. This CL merely renames this class and its
usages. It also adds a comment that explains why the functionality is
split into a base class and an implementing class.

Bug: 251502424
Test: Compilation worked correctly.
Change-Id: I01b5ac2f717e9b20612538d5c1e0ca947beb593f
2023-01-11 20:32:25 +00:00
Bill Yi
57c5f6b88d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icfba86a007a8ae92e62d4c860c239e48f05bc9ff
2022-12-29 21:37:41 -08:00
Bill Yi
4df6ef67bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11441ec480b0cba2244fa8a7ad9e3ac5f820e59e
2022-12-16 04:46:08 -08:00
Stefan Andonian
b626411c99 Merge "Move SharedPreferences code to its own class." into tm-qpr-dev am: 3233010c5a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20446860

Change-Id: I397957b5d9584aebf4182930763a2c5ab6401073
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-18 00:17:45 +00:00
Stefan Andonian
146701ca3e Move SharedPreferences code to its own class.
Bug: 251502424
Test: Code compiled correctly.
Change-Id: Iea0d6ab2999504117546ee0f7adc0c7b8b45c065
2022-11-17 17:22:47 +00:00
TreeHugger Robot
1b3a9650ce Merge "Revert "Introducing new variable to enable/disable shortcuts."" into tm-qpr-dev am: 698239e16a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20033817

Change-Id: I1a36a8b8cef9038d95bc226f902f0b13f1acf12b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 11:34:40 +00:00
TreeHugger Robot
698239e16a Merge "Revert "Introducing new variable to enable/disable shortcuts."" into tm-qpr-dev 2022-11-17 11:28:05 +00:00
Bill Yi
91235e9169 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie6806240014abdb72e330a6c6041de01360ad6ec
2022-11-16 02:39:22 -08:00
Bill Yi
b3fef31ab7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6664251e87a9ab69de224ebec5b6f183afe2ed2b
2022-10-15 09:49:34 -07:00
Raj Garg
4b90dbe967 Revert "Introducing new variable to enable/disable shortcuts."
Revert "Introducing new variable to enable/disable shortcuts."

Revert submission 19632697-cherrypick-GO-DISABLE-SHORTCUTS-tyyzrpy9oe

Reason for revert: Reverting changes for the recent feature built by me. This CL was a part of the feature. Please take a call if we should revert it or not.
Reverted Changes:
Ib373b042f:Introducing new variable to enable/disable shortcu...
I4274cb468:Introducing new variable to enable/disable shortcu...

Change-Id: I81f338be71185cb008e81b020c5b3a7b01b64c58
2022-09-23 17:04:29 +00:00
Raj Garg
70096cc480 Merge "Introducing new variable to enable/disable shortcuts." into tm-qpr-dev am: 2e106277d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19632795

Change-Id: I723323180940af2ac83583fc139732207c0abb15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 04:05:10 +00:00
Raj Garg
2e106277d7 Merge "Introducing new variable to enable/disable shortcuts." into tm-qpr-dev 2022-09-09 03:41:47 +00:00
Bill Yi
ad6d6d404f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6e7b9c26fbfd4f1334431f4882b0ec617749d39d
2022-08-21 23:17:25 -07:00
Raj Garg
63ee5d0908 Introducing new variable to enable/disable shortcuts.
Widgets and shortcuts are two different entities but they are controlled
by same variable GO_DISABLE_WIDGETS. In this CL I have introduced a new
variable GO_DISABLE_SHORTCUTS to enable/disable widgets.

Test: Tested manually on device.
Bug: 236268654
Change-Id: Ib373b042fbfd0493e6345ef10e5631dbfd96b8c3
2022-08-16 09:18:23 +00:00
Bill Yi
cd79e4ed7b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6aff60edb2f1086c1c6ee47e8a442ce7e7b78def
2022-08-07 12:02:11 -07:00
Bill Yi
c3e0a4b963 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib42c3bf46341462f15fc15efa34a57944bcfcede
2022-07-21 20:01:58 -07:00
Bill Yi
ef46825eb4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie30d608b08e253a8757fd48beefa54e38a363e06
2022-07-13 21:20:20 -07:00
Suphon Thanakornpakapong
4a3ce2b120 Merge tag 'android-12.1.0_r8' into 12.1-dev 2022-06-22 16:31:57 +07:00
Abhilasha Chahal
ee14d4761a Add LAUNCHER_SYSTEM_SHORTCUT_APP_SHARE_TAP event
Bug: 233224567
Test: Manually verified the event in logs
Change-Id: Ie81ca8774adb241f1c8635444dad884f34f3929d
2022-05-19 19:21:45 +00:00
Brandon Dayauon
b4ccd3dc23 Fix GO Phones..added attribute to this device profile that other phones already had
Bug: 232801991
Test: Presubmit
Change-Id: I0c9d066fc11d5cec8f72055fc76640f926c40efd
2022-05-17 12:16:47 -07:00
kholoud mohamed
00f80ed1ae Add missing enterprise string
Bug: 231592687
Test: manual
Change-Id: I59e4d899084c965dfbca49f6c65c3b9809a89ed8
2022-05-09 19:48:40 +01:00
Suphon Thanakornpakapong
11e1a2fdc8 Merge remote-tracking branch 'aosp/android12L-release' into 12.1-dev 2022-05-08 20:29:17 +07:00
Tracy Zhou
7183e4b460 Merge "Add originalView of the menu to SystemShortcut" into tm-dev 2022-04-26 17:28:40 +00:00
Shikha Malhotra
2e255ed0ac Merge "Refactor code to be used in LauncherLily features" into tm-dev 2022-04-21 07:50:32 +00:00
Shikha Malhotra
e957b600d3 Refactor code to be used in LauncherLily features
Refactor add to workspace code to be used in Lily Launcher.
Also utilising code swap feature to swap out functionality of sorting
items on workspaces and finding next vacant space.

Bug: b/218186705
Test: Manually tested Launcher3 works.
Change-Id: I42a44eabeb307e1d23ef333e0a169437f9062bb6
2022-04-20 07:22:20 +00:00
Bill Yi
05e2272138 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie30fb3d0870ddb6c69511b5200058dd3b4961479
2022-04-12 21:23:51 +00:00
Tracy Zhou
c2538d748a Add originalView of the menu to SystemShortcut
Split from home animation needs to originate from the app icon instead of the menu item icon. This can be useful for other animations in the future.

Bug: 226395821
Test: N/A
Change-Id: If45d80e347ba275bd550b6acd6ad81b319e753a3
2022-04-11 17:13:35 -07:00
Bill Yi
dffa0c3186 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia234a01c49be8012beba9944f28198a1a04d162a
2022-03-24 05:37:30 +00:00
Bill Yi
9f5fe666e0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I37c082ae9b255c6a2ec997f2d39b41e1bd432ad7
2022-03-24 05:35:02 +00:00
Bill Yi
b4479127a7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I453c0760c0bd69f5f758b6223b9cbae3c2ec2771
2022-03-17 03:01:56 +00:00
Bill Yi
487a62c361 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I25ea0d6596cffa1269137572a2fe565da433926b
2022-03-17 02:59:04 +00:00
Bill Yi
5a2d58c05d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6831d3b82953ea10ea0ee4a473c3b174e522913f
2022-03-02 19:27:29 +00:00
Bill Yi
c57229d4c0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If881db80f5ac6599b60a439e8aaa0bdd71784b65
2022-03-02 19:23:30 +00:00
Jon Spivack
4a2732da03 AppSharing: Better handling of Work Profiles
This change improves the Work Profile use case in two ways:
1. When sharing is disabled for the profile, the Share App button is grayed out, and an appropriate message is displayed if the user taps it.
2. When sharing is enabled for the profile, it actually works.

Bug: 175159046
Bug: 210168826
Test: Manual (toggled DISALLOW_BLUETOOTH_SHARING via Test DPC on local device)
Test: m -j RunLauncherGoGoogleRoboTests ROBOTEST_FILTER=com.android.launcher3.AppSharingTest
Change-Id: Id7ba8efc587d0b94aa1f9b2004bf45254b39f992
2022-01-05 14:14:00 -08:00
Fedor Kudasov
2ca545c387 Add @Nullable annotations for simple cases
Add @Nullable annotations for the fields that are expected
to be null at arbitrary lifecycle time and are their usage
is protected by null checks.

Bug: 205828770
Test: m LauncherGoResLib
Change-Id: I9c31e1dc0d01cdd68dfff0a005ba1f40c257f8ea
(cherry picked from commit 920dc2f28f)
2021-11-12 10:01:33 +00:00
Fedor Kudasov
920dc2f28f Add @Nullable annotations for simple cases
Add @Nullable annotations for the fields that are expected
to be null at arbitrary lifecycle time and are their usage
is protected by null checks.

Bug: 205828770
Test: m LauncherGoResLib
Change-Id: I9c31e1dc0d01cdd68dfff0a005ba1f40c257f8ea
2021-11-11 14:58:45 +00:00
Bill Yi
525330faa9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I708e7a89590fb1d0fb8d26d1cc00b310602e0ca5
2021-11-05 22:13:55 +00:00
TreeHugger Robot
a66c0bfcfa Merge "Make Launcher activity restart on density change" into sc-v2-dev am: e641701c9f am: 67cace3558
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183372

Change-Id: I735d497989d27c0907bbc193ca4342cc11cb647d
2021-11-05 12:12:54 +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
Bill Yi
7dc44969e0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaf3e36a467591f5525ca71ce72559f26c35ab51b
2021-10-30 01:25:30 +00:00