Skip to content

Question: what's the "KeepAliveService" for? #591

Description

@AndroidDeveloperLB

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions