Sunny Goyal
9f226dff72
Simplyfing SystemShortcut rendering
...
Instead of opening the popup again when the status of AppSharing
changes, updating the UI in-place.
Bug: 321179015
Test: Presubmit
Flag: N/A
Change-Id: I6d7bd8cdf2014fd881324347e3e01b8e7e84ef1e
2024-01-19 10:48:54 -08:00
Rajeev Kumar
b3c7d2efc5
Use the system component for the nearby sharing action if available.
...
Bug: 308014458
Fixes: 308014458
Flag: NA
Test: atest com.android.launcher3.AppSharingTest
Change-Id: I41ff4efd7153e4ec7591b7d34695766e5bc9f436
2023-12-19 03:23:33 -08:00
Bill Yi
cad9fca396
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I2e96fa8479c2b1e27238384eaf59e5765399f94c
2023-09-21 20:16:19 -07:00
Andy Wickham
ce31b6b45f
Merge "Revert^3 "Change Overview Actions to round buttons."" into udc-qpr-dev am: c15fd5c248 am: 5d95ba7c00
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24344529
Change-Id: If03f1f50bb2b429c94939cd01b6b08c672103ff8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-08 22:19:01 +00:00
Andy Wickham
5d95ba7c00
Merge "Revert^3 "Change Overview Actions to round buttons."" into udc-qpr-dev am: c15fd5c248
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24344529
Change-Id: Ic9142b717463e838e4c0d131018fed3379253fa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-08 21:14:05 +00:00
Andy Wickham
bc3bac4113
Revert^3 "Change Overview Actions to round buttons."
...
Awaiting UX alignment.
Test: N/A
Flag: N/A
Change-Id: I05e9627d8b44ea16d29445e005534af2a1abd439
2023-08-08 12:09:59 -07:00
Andy Wickham
eed6d85c4b
Merge "Revert^2 "Change Overview Actions to round buttons."" into udc-qpr-dev am: fd35baa3f8 am: aadf1c6ce8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24195750
Change-Id: I374cadf571992e0620c20bd3fbea5e2f09c79a34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 23:31:07 +00:00
Andy Wickham
aadf1c6ce8
Merge "Revert^2 "Change Overview Actions to round buttons."" into udc-qpr-dev am: fd35baa3f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24195750
Change-Id: I6e0ac287d6d6eceb515c3e9374c1654b0b619b4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 22:50:26 +00:00
Andy Wickham
be8981442a
Revert^2 "Change Overview Actions to round buttons."
...
f849f2856f
Fix: 293081298
Change-Id: Iaf1553770329ec3a6c6d8a2d9d81b60203e79ed8
2023-07-26 20:56:05 +00:00
Bill Yi
620da23ed3
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9673d83ac24293accd08550ce00481ef8ff08d10
2023-05-09 18:37:31 -07:00
Bill Yi
928738c973
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I532572e4326851cc8302ce23eae6b75ffda26b3f
2023-05-09 18:37:11 -07:00
Bill Yi
6ae7f37f0d
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I30afefb3ddbe0e7e95f8d08b8f77724e13327e30
2023-04-21 18:35:09 -07:00
Bill Yi
a2f6cd0128
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I0bccc0be41675cf0653cdc42b8a11e30819ea554
2023-04-21 18:34:47 -07:00
Vinit Nayak
a15f39bc6d
Merge "Unify split options into single option" into tm-qpr-dev am: 6fa1ab9441 am: 4e1c1faa37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21074650
Change-Id: If7bdd0fe1a72d5e321933eb566e58f20fbfefcf9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-03 07:09:18 +00: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
Bill Yi
bedb7f0698
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9ecf9583583483180fbc02cef4a51ef7946067ad
2023-01-15 20:52:52 -08:00
Bill Yi
3832f9db3a
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Idc0ca401fe52b40500fad7ddec1871ddcf58e46f
2023-01-04 01:01:08 -08: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
Bill Yi
2eaba8e9da
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I0bf519996c9147d1f6d816d07eac85a7e0e3801e
2022-12-16 04:45:45 -08:00
Stefan Andonian
953a517765
Merge "Move SharedPreferences code to its own class." into tm-qpr-dev am: 3233010c5a am: b626411c99
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20446860
Change-Id: Ibafb226c2bc6bd1ea425725920520540a8720351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-18 00:47:28 +00: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
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
cfcb55b6f7
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I4b5010c13a5e0a79c1ca8d900f0963595ee6e50c
2022-11-16 02:39:00 -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
Bill Yi
71873ccbf4
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Id3b44a295ea0b23167a3d0bc1f48a15d2109dea1
2022-10-15 09:49:12 -07:00
Bill Yi
72fd10fc21
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I831d74eb12eb04a22cd1d8b2747ea300d9dcb351
2022-08-25 11:19:56 -07: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
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
d71e842d9a
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ia2348770adf43d252ca35151820ad9084b418f9c
2022-08-07 03:48:47 -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
68a73b6d18
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ief1a528305dbb9edd90c8473417ad4a8e2b8ec1e
2022-07-21 20:01:02 -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
Bill Yi
7c74b797b5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I275d1a61d58b6c7243c6cd87a976183e39dff005
2022-07-13 21:19:05 -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
kholoud mohamed
00f80ed1ae
Add missing enterprise string
...
Bug: 231592687
Test: manual
Change-Id: I59e4d899084c965dfbca49f6c65c3b9809a89ed8
2022-05-09 19:48:40 +01:00
Tracy Zhou
7183e4b460
Merge "Add originalView of the menu to SystemShortcut" into tm-dev
2022-04-26 17:28:40 +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
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
5a2d58c05d
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I6831d3b82953ea10ea0ee4a473c3b174e522913f
2022-03-02 19:27:29 +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
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
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
Jon Spivack
688621498a
P2P App Sharing: Gray out disabled SystemShortcut
...
The Share App system shortcut is disabled for apps that are deemed unshareable. This updates the UX to gray out the shortcut instead of hiding it. When the user clicks on the grayed out shortcut, a Toast message is displayed. This update also enables the shareability check.
In order to properly gray out the shortcut, this also fixes a bug with BubbleTextView in which ColorStateLists weren't applied correctly.
Bug: 202556634
Bug: 204495363
Test: Manual (observed UX on Wembley device in regular and dark themes)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: Ieb04baf8c9cb9d325119cb97fceb96f2fc5a62ff
2021-10-28 19:30:31 -07:00