GoogleChrome / GoogleChrome/android-browser-helper

Question: what's the "KeepAliveService" for?

Open
#591 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
832
Forks
370
Avg merge
1d 3h
Merged PRs (30d)
6

Description

This:

https://github.com/GoogleChrome/android-browser-helper/blob/main/demos/custom-tabs-example-app/src/main/java/org/chromium/customtabsdemos/KeepAliveService.java

It's not used, and doesn't even exist in the manifest...

What is it for?

It existed even on the old sample...

Only clue is:

```
Empty service used by the custom tab to bind to, raising the application's importance.
```

Is such a thing really useful on Android for just showing web content? What kind of "importance" would it be for?
Shouldn't a foreground service be of a better choice?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.