Example usage for android.os UserHandle of

List of usage examples for android.os UserHandle of

Introduction

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

Prototype

@SystemApi
public static UserHandle of(@UserIdInt int userId) 

Source Link

Usage

From source file:com.android.car.trust.CarBleTrustAgent.java

private UserHandle getCurrentUserHandle() {
    return UserHandle.of(UserHandle.myUserId());
}