1. Are you ready for the Galaxy S20? Here is everything we know so far!

receive boot completed

Discussion in 'Android Help' started by jflint, Mar 26, 2016.

  1. jflint

    jflint Member
    Thread Starter

    What is receive boot completed?
     


  2. Slug

    Slug Check six!
    VIP Member

    Context please? Is this a pop-up notification, a system warning, or something else? What device? What were you doing when this occurred?

    Without more detail nobody can tell you anything I'm afraid.
     
    scary alien likes this.
  3. jflint

    jflint Member
    Thread Starter

    There was an app being analyzed by ES, and it said this was a sensitive permission the app was requesting, but it did not elaborate on this.
     
  4. scary alien

    scary alien not really so scary
    Moderator

    Receive boot completed is an system broadcast intent sent-out during the boot-up process to the apps indicating that the system has in fact been rebooted.

    From http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED:

    public static final String ACTION_BOOT_COMPLETED

    Added in API level 1

    Broadcast Action: This is broadcast once, after the system has finished booting. It can be used to perform application-specific initialization, such as installing alarms. You must hold the RECEIVE_BOOT_COMPLETED permission in order to receive this broadcast.

    This is a protected intent that can only be sent by the system.

    Constant Value: "android.intent.action.BOOT_COMPLETED"​
     
    Mikestony likes this.
  5. jflint

    jflint Member
    Thread Starter

    Could it be dangerous for an app to have access to this?
     
  6. scary alien

    scary alien not really so scary
    Moderator

    It's not really a question of danger--it is simply knowledge for the app.

    Well, it's permission-based intent, so if you don't trust an app to become aware that the system has been rebooted and subsequently be launched at boot time, then you should not install it.

    However, there are many good reasons for an app to want/need to know that the device was rebooted and to start preparing to do their function that you downloaded and installed the app for.

    So, in my opinion, not dangerous--but you need to know and be aware of ALL of the actions that your apps are doing, not just the boot intent/notification, but other things like access to your contacts, camera, etc., etc., etc.
     
    Mikestony likes this.
Loading...

Share This Page

Loading...