# ANR: Broadcast of Intent android.intent.action.SCREEN\_OFF

**URL:** <https://forum.defold.com/t/anr-broadcast-of-intent-android-intent-action-screen-off/28036>\
**Category:** Bugs\
**Created:** [August 23, 2018, 12:08pm UTC](https://forum.defold.com/t/anr-broadcast-of-intent-android-intent-action-screen-off/28036 "2018-08-23T12:08:53Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![xndr](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/x/dfb087/32.png) [@xndr](https://forum.defold.com/u/xndr)\
**Post date:** [June 7, 2019, 2:27pm UTC](https://forum.defold.com/t/anr-broadcast-of-intent-android-intent-action-screen-off/28036/21 "2019-06-07T14:27:49Z")

</div>

Just once.

---

<div class="post-metadata">

**Author:** ![SalavatR](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/salavatr/32/43217_2.png) [@SalavatR](https://forum.defold.com/u/SalavatR)\
**Post date:** [August 23, 2021, 12:03pm UTC](https://forum.defold.com/t/anr-broadcast-of-intent-android-intent-action-screen-off/28036/22 "2021-08-23T12:03:34Z")

</div>

@britzl any decision here?  
I [forked](https://github.com/SalavatR/def_ironsource)[ironsource ext](https://github.com/MaratGilyazov/def_ironsource)

Also for comfort using divided into several exts with ironsource adapters

> **[GitHub - SalavatR/def\_ironsource\_unity\_adapter: Unity ads adapter and sdk for...](https://github.com/SalavatR/def_ironsource_unity_adapter)**
>
> Unity ads adapter and sdk for https://github.com/SalavatR/def\_ironsource

> **[GitHub - SalavatR/def\_ironsource\_admob\_adapter: Admob ads adapter and sdk for...](https://github.com/SalavatR/def_ironsource_admob_adapter)**
>
> Admob ads adapter and sdk for https://github.com/SalavatR/def\_ironsource

> **[GitHub - SalavatR/def\_ironsource\_facebook\_adapter: Facebook ads adapter and sdk for...](https://github.com/SalavatR/def_ironsource_facebook_adapter)**
>
> Facebook ads adapter and sdk for https://github.com/SalavatR/def\_ironsource

After release we got ANR **Broadcast of Intent { act=android.intent.action.SCREEN\_OFF flg=0x58200010 }**

Last week ANR stats for this issue:

 ![image](https://forum-defold-uploads.b-cdn.net/original/3X/e/8/e8a3b31bbdf1ce8b86d3c34de2a8351337deefdd.png)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [August 23, 2021, 12:17pm UTC](https://forum.defold.com/t/anr-broadcast-of-intent-android-intent-action-screen-off/28036/23 "2021-08-23T12:17:14Z")

</div>

> [@SalavatR](#):
>
> any decision here?

Any decision on what specifically?

> [@SalavatR](#):
>
> I [forked](https://github.com/SalavatR/def_ironsource) [ironsource ext](https://github.com/MaratGilyazov/def_ironsource)

👍

> [@SalavatR](#):
>
> Also for comfort using divided into several exts with ironsource adapters

Makes a lot of sense!

> [@SalavatR](#):
>
> After release we got ANR **Broadcast of Intent { act=android.intent.action.SCREEN\_OFF flg=0x58200010 }**

ANRs are notoriously hard to avoid completely. Can these ANRs be directly traced to the extension? At a specific time when using the extension?

---

<div class="post-metadata">

**Author:** ![SalavatR](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/salavatr/32/43217_2.png) [@SalavatR](https://forum.defold.com/u/SalavatR)\
**Post date:** [August 23, 2021, 12:30pm UTC](https://forum.defold.com/t/anr-broadcast-of-intent-android-intent-action-screen-off/28036/24 "2021-08-23T12:30:52Z")

</div>

Decision on this ANR, possible ways of emmerging?

No other minor changes were made, this is the only new native extention and ANR’s appeared after new release, can’t reproduse on my devices.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [August 23, 2021, 12:53pm UTC](https://forum.defold.com/t/anr-broadcast-of-intent-android-intent-action-screen-off/28036/25 "2021-08-23T12:53:02Z")

</div>

> [@SalavatR](#):
>
> No other minor changes were made, this is the only new native extention and ANR’s appeared after new release, can’t reproduse on my devices

An ANR, as you know, means that something is blocking the UI/main thread for too long. We’ve seen numerous ANRs caused by various ad integrations, analytics services etc. It is very likely that this is caused by something in IronSource or one of the adapters.

We have not made any changes to the Android runtime, BUT we have migrated from the old deprecated DX dex tool to the new D8 tool. This will have an impact on how the APK is constructed and it could potential explain why you are seeing a problem now and not before. You can verify this by testing with 1.2.184 which was the release prior to the move to D8.

[Previous page](https://forum.defold.com/t/anr-broadcast-of-intent-android-intent-action-screen-off/28036.md?page=1)
