Skip to content

Commit 61184a2

Browse files
[msid][pm-update] bugfix
1 parent dce12b9 commit 61184a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/active-directory/develop/tutorial-v2-shared-device-mode.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ private void onSignOutClicked()
205205
}
206206
```
207207

208+
#### Broadcast receiver
209+
208210
To receive the account change broadcast, you will need to register a broadcast receiver.It’s recommended to register your broadcast receiver via the Context. For more information about context, see [Context-registered receivers](https://developer.android.com/guide/components/broadcasts#context-registered-receivers).
209211

210212
When an account change broadcast is received, immediately [get the signed in user and determine if a user has changed on the device](tutorial-v2-shared-device-mode.md#get-the-signed-in-user-and-determine-if-a-user-has-changed-on-the-device). If a change is detected, initiate data cleanup for previously signed-in account. It is recommended to properly stop any operations and do data cleanup.

0 commit comments

Comments
 (0)