summaryrefslogtreecommitdiff
path: root/java
AgeCommit message (Collapse)Author
2025-09-18[SP 2025-09-01] Launch image editor as sharesheet-launching user (flag off)banksia-dev Matt Casey
ag/34038177 but for the cases where use_preferred_image_editor is off or does not exist. Bug: 407991863 Test: Manual repro of bug and verification of fix. Test: atest IntentResolver-tests-* Flag: EXEMPT bugfix Change-Id: Idf2d76615f4396f09e7de33becc87afaea782d41 Merged-In: Idf2d76615f4396f09e7de33becc87afaea782d41 (cherry picked from commit 29da3d663edd566f0b5c4dce434f40aa7e3877de)
2025-09-18[SP 2025-09-01] Sanitize cross-profile intents. Andrey Yepin
Remove package or component information from payload intents (and their selectors) for cross-profile sharing. Bug: 407764858 Test: manual testing Test: atest IntentResolver-test-unit Test: ag/32976049 (checked out and ran locally) Flag: EXEMPT bugfix Change-Id: I1ebfd96b2aabba6665267722603c72cbe4aefe0f (cherry picked from commit d605b5448615815cb6a7630637b9c55349ffe36e)
2025-04-02Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Bug: 406841318 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:40d9477aa48eaf3e94b6ff0622829f6215114ffd) Merged-In: I0df2ba5259d6adc6d0032bff583b623f046b5f69 Change-Id: I0df2ba5259d6adc6d0032bff583b623f046b5f69
2025-03-15Merge "Use reference IDs for some resource values" into main Treehugger Robot
2025-03-15Use reference IDs for some resource values cassieyw
In order to use RRO. And this CL also added some resources that are gonna be used in the follow up CL. Bug: 402290046 Test: manual Flag: EXEMPT no UI or functional changes Change-Id: Ia1f33615a5fd09b0a8ab499d1f7bba38a669e8e1
2025-03-14Merge "Avoid drawer offset calculation if app targets are not yet ↵ Andrey Yepin
processed." into main
2025-03-13Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I1e372ae6833d0b715f76cbb2e7191a136a6af910
2025-03-12Avoid drawer offset calculation if app targets are not yet processed. Andrey Yepin
Fix: 338229069 Test: manual testing Flag: com.android.intentresolver.delay_drawer_offset_calculation Change-Id: Ie18ccfa044f5067e769219359e6507615566be78
2025-03-11Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I623a52a3c08310b714eefdb71287f1ab7c681195
2025-03-06Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I45bdb8bd0445832ec1659a75a463123f1a0210ef
2025-03-03Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I210d3d92c7915b8a38fce348535fe30863c2bedc
2025-03-03Merge "Improve tap to scroll support to be ready for rollout" into main Govinda Wasserman
2025-03-03Improve tap to scroll support to be ready for rollout Govinda Wasserman
- Moves tap to scroll detection to the scrollable container instead of the children of the container, reducing the amount of jank from calculations required for each tap, as well as the code complexity. - Encapsulates the behavior in a single Modifier extension for ease of code readability and usability. - Generifies the solution to work with any arbitrary scrollable container. Test: Manual test with Share Test BUG: 384656926 Flag: com.android.intentresolver.shareousel_tap_to_scroll_support Change-Id: Ic40e040068b2a8ce6038d2e9d7d2bca6f0a88670
2025-02-27Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: Iddb28e4c2db096a889f954fd376ec97f2d9ff36d
2025-02-25Merge "Import translations. DO NOT MERGE ANYWHERE" into main Bill Yi
2025-02-25Merge "Some initial shareousel integration tests." into main Andrey Yepin
2025-02-24Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I21cc166dd214d2d31c43e45cadf54a97864fa09d
2025-02-24Some initial shareousel integration tests. Andrey Yepin
Set debug tags for shareousel items to allow items be targeted by the tests; Bug: 396745989 Test: manual a11y smoke test; manual functionality smoke test. Flag: EXEMPT trivial refactoring; tests only. Change-Id: Ic3c1f14190adea1502ac2cc24b229502c3f0d18d
2025-02-24Merge "Update the text preview UI copy button content description" into main Treehugger Robot
2025-02-24Update the text preview UI copy button content description Andrey Yepin
Update the text preview UI copy button content description from "copy" to either "Copy text" or "Copy link" depending whether the shared text is a link. Fix: 395683735 Test: atest IntentResolver-tests-unit Test: manual testing: share a text and a link and check TalkBack announcement for the button. Flag: EXEMPT bug fix Change-Id: I668c2fd7e7f0a025c75e43a8a49541ebf3a94730
2025-02-21Merge "Import translations. DO NOT MERGE ANYWHERE" into main Bill Yi
2025-02-21Merge "Adjust drag handle color" into main Treehugger Robot
2025-02-21Adjust drag handle color Andrey Yepin
Fix: 379009353 Test: visual verification Flag: EXEMPT bugfix Change-Id: I0943da3328e779259d676364a4026a9e9615d626
2025-02-20Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I20bba1647397434fc297a783ef66c6f1b847b8fa
2025-02-14Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I2b62e8576c588fe07dee95d841f52c125c901e7d
2025-02-13Merge "Add tap to scroll support to Shareousel" into main Treehugger Robot
2025-02-13Add tap to scroll support to Shareousel Govinda Wasserman
Taps on the left or right edge of the scroll region will scroll in that direction. Test: manual test using ShareTest BUG: 384656926 Flag: com.android.intentresolver.shareousel_tap_to_scroll Change-Id: Ie0ebec58303577f56be8b28b4869c0ef9df3e3b8
2025-02-11Merge "Import translations. DO NOT MERGE ANYWHERE" into main Bill Yi
2025-02-10Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I9676e85f84f660e5a33351fefcbef0987a0e89b0
2025-02-10Merge "Shareousel: add item position to item content description." into main Treehugger Robot
2025-02-10Shareousel: add item position to item content description. Andrey Yepin
Add known item cursor position to the item content description annotation when showing more than one item. This works well when the data provided by the app is consistent (the expected majority of the cases). The position annotation will be ommited in cases when we show the initially shared items before the cursor is loaded and for the initially shared items that were missing in the cursor. Fix: 379032721 Test: manual testing Flag: com.android.intentresolver.announce_shareousel_item_list_position Change-Id: Ie669db3897961d2cf09a30ef229e10badb501566
2025-02-04Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: Ibbfeccf90c86807d26af45299dbcbf82cd54c2c0
2025-01-30Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: Ib8719e17aee8ddda04557ea9a9bafb426b51930a
2025-01-29Merge "Check underlying intent as well as intent selector" into main Oli Thompson
2025-01-28Merge "Clear cached direct targets." into main Treehugger Robot
2025-01-28Fix targets TalkBack focus. Andrey Yepin
Targets should receive the TalkBack focus on tap. Fix: 388361798 Test: Manually test that the new pointer hover effect works as expected. Test: Manually test that targets receive TalkBack focus on tap. Flag: com.android.intentresolver.target_hover_and_keyboard_focus_states Change-Id: Ifb6a743f214a454e16bad45504bd8e107a6f0d28
2025-01-28Check underlying intent as well as intent selector oli
When checking if an intent can be forwarded across profiles, the selector action is checked rather than the intent itself. This means badIntents can be spoofed with a different selector and launched across profiles. Bug: 376674080 Test: manually tested Flag: EXEMPT bugfix Change-Id: I744d0d7f89e35665405a14a814d4e0861082a106
2025-01-27Merge "Present target grid as hierarchical for a11y purposes." into main Treehugger Robot
2025-01-23Clear cached direct targets. Andrey Yepin
This change re-introduce a fix for direct targets "blinking" after a payload change is mande in the Shareousel under a new flag. It also fixes the critical issue that caused the previus flag's reversal by a proper cache cleaning. Fix: 343300158 Test: test Shareousel payload changing and sharing to a shortcut. Flag: com.android.intentresolver.fix_shortcuts_flashing_fixed Change-Id: If7ade45bda4a2b42f9b5838cbb315ec00546489c
2025-01-17Update Chooser tab button colors. Andrey Yepin
Fix: 390704615 Test: visual check Flag: EXEMPT resources only Change-Id: I4e92e64bdfccfc8a7ff93cb040b2eb73073e7f92
2025-01-14Merge "Import translations. DO NOT MERGE ANYWHERE" into main Bill Yi
2025-01-14Present target grid as hierarchical for a11y purposes. Andrey Yepin
Present target grid as hierarchical for a11y purposes. This makes TalkBack to announce sub-groups of targets. Fix: 379208685 Test: Manual test for the following cases: (i) all group present (shortcuts, suggested, all-apps), (ii) shortcuts are missing -- the no-target message is shown, (iii) no suggested targets. Flag: com.android.intentresolver.announce_shortcuts_and_suggested_apps Change-Id: If08e9bcccab9db423c5b67c759bc0854d290e880
2025-01-14Merge "Allow text toggle for shares from sysui." into main Matt Casey
2025-01-14Allow text toggle for shares from sysui. Matt Casey
Criteria will need to be refined in a follow-up CL, but getting the parts in place behind a flag here. Preview UI change is minimal. Test has some duplicated boilerplate but choosing not to refactor that because the UI itself is a better refactor candidate but outside the scope of this CL. Bug: 242791070 Test: atest ChooserRequestTest Test: atest FilesPlusTExtContentPreviewUiTest Test: manual end-to-end test with feature flag on. Flag: com.android.systemui.shared.screenshot_context_url Change-Id: I6eaca454a88e8b8c8a196d825c7ac3daee437109
2025-01-13Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I644c6747cd33ab7551095a80e69c28bb72454264
2025-01-07Merge "Remove released preview_image_loader feature flag." into main Treehugger Robot
2024-12-20Merge "A feature flag removal" into main Treehugger Robot
2024-12-20Add select/unselect visual cue to Shareousel Govinda Wasserman
When an item is selected it will shrink and when it is unselected it will grow back to the standard size. This provides improved visual confirmation of the selected state of items. Test: Manual test using Photos or ShareTest BUG: 361792274 Flag: com.android.intentresolver.shareousel_selection_shrink Change-Id: I7f5ca60d584900fc5e2ba0d479ecc0f2e624b367
2024-12-16Merge "An experimental interactive Chooser session implementation" into main Treehugger Robot
2024-12-13Fix Shareousel crash when recomposing Govinda Wasserman
Recomposition could cause a crash when initial position was no longer in the LazyRow. This fixes it by encapsulating the problematic array indexing within the remember block so that it is only performed on the first composition when it is guaranteed to be a valid index position. Test: Manual test using ShareTest BUG: 383852288 Flag: EXEMPT Bugfix Change-Id: Ie6b322d449ddc5c83d9d4e481967c2511b165290