Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 46163fc0 authored by Stephen Bird's avatar Stephen Bird
Browse files

[1/2] Only get directory intent on button press

Requesting this intent may cause plugins to request permissions
at odd times. Instead, requesting this intent when the button
is clicked will give the user some context when plugin permission
dialogs come up.

Note that the delay caused by requesting this intent when the button
is clicked is fairly indiscernible from caching this intent at
application creation. This action is only presented to the user once
other metadata from the plugin has already been captured, so this
call will happen after the plugin has been instantiated, and should
be performant.

Change-Id: Ic0fd385ea6346fcfb965704f40a31e7db6e55b5b
parent 4242645b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment