diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-08-07 19:12:33 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-08-07 19:19:22 -0700 |
commit | 7d19e0242faac8017033dabb872cdf1542fa184c (patch) | |
tree | ab12d3c6597bc42bc7c0dca10ded546192c5c249 /tools/layoutlib | |
parent | 03ad783c5078c7bd487e47bb2a2af67dfbe89f1a (diff) | |
download | frameworks_base-7d19e0242faac8017033dabb872cdf1542fa184c.zip frameworks_base-7d19e0242faac8017033dabb872cdf1542fa184c.tar.gz frameworks_base-7d19e0242faac8017033dabb872cdf1542fa184c.tar.bz2 |
More mult-user API work.
- You can now use android:singleUser with receivers and providers.
- New API to send ordered broadcasts as a user.
- New Process.myUserHandle() API.
For now I am trying out "user handle" as the name for the numbers
representing users.
Change-Id: I754c713ab172494bb4251bc7a37a17324a2e235e
Diffstat (limited to 'tools/layoutlib')
-rw-r--r-- | tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java index 3ae660d..c4a6906 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java @@ -1187,6 +1187,18 @@ public final class BridgeContext extends Context { } @Override + public void sendBroadcastToUser(Intent intent, int userId) { + // pass + } + + @Override + public void sendOrderedBroadcastToUser(Intent intent, int userId, + BroadcastReceiver resultReceiver, Handler scheduler, + int initialCode, String initialData, Bundle initialExtras) { + // pass + } + + @Override public void sendStickyBroadcast(Intent arg0) { // pass |