Example usage for android.os UserHandle OWNER

List of usage examples for android.os UserHandle OWNER

Introduction

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

Prototype

UserHandle OWNER

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

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  w  ww  .ja  v a  2  s.  com*/
    if (tickerView != null) {
        tickerView.setUser(user);
    }
    if (contentView != null) {
        contentView.setUser(user);
    }
    if (bigContentView != null) {
        bigContentView.setUser(user);
    }
}