Example usage for android.os UserHandle USER_ALL

List of usage examples for android.os UserHandle USER_ALL

Introduction

In this page you can find the example usage for android.os UserHandle USER_ALL.

Prototype

int USER_ALL

To view the source code for android.os UserHandle USER_ALL.

Click Source Link

Usage

From source file:android.app.Notification.java

/** {@hide} */
public void setUser(UserHandle user) {
    if (user.getIdentifier() == UserHandle.USER_ALL) {
        user = UserHandle.OWNER;//from ww w  .  j a  v a  2  s.c  o m
    }
    if (tickerView != null) {
        tickerView.setUser(user);
    }
    if (contentView != null) {
        contentView.setUser(user);
    }
    if (bigContentView != null) {
        bigContentView.setUser(user);
    }
}