Closed Bug 1756219 Opened 4 years ago Closed 3 years ago

SelectionActionDelegateTest won't work on Android 10

Categories

(GeckoView :: General, defect)

Unspecified
All
defect

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(1 file)

https://developer.android.com/about/versions/10/privacy/changes#clipboard-data

When running SelectionActionDelegateTest, this won't work on Android 10+ since ClipboardManager requires that app has to be foreground to write clipboard item.

Actually, although our CI runs on Android 7, if we update our CI infra to newer Android, we have to fix this.

SelectionActionDelegateTest doesn't wok on Android 10 because Android 10
requires that application must be foreground to write clipboard item.

Also, setting foreground becomes test is slow, so this change is on Android 10+
only.

Assignee: nobody → m_kato
Status: NEW → ASSIGNED
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/5a2b2968b2a9 Set test activity to foreground for clipboard test if Android 10+. r=geckoview-reviewers,calu,agi
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: