From f265ea9d8307282ff1da3915978625a94fc2859e Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Thu, 31 Jan 2013 15:00:51 -0800 Subject: App ops: vibration, neighboring cells, dialing, etc. Improve handling of vibration op, so that apps are better blamed (there is now a hidden vibrator API that supplies the app to blame, and the system now uses this when vibrating on behalf of an app). Add operation for retrieving neighboring cell information. Add a new op for calling a phone number. This required plumbing information about the launching package name through the activity manager, which required changing the internal startActivity class, which required hitting a ton of code that uses those internal APIs. Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07 --- .../src/com/android/statusbartest/NotificationTestList.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/StatusBar/src/com/android') diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java index ec39aab..4345098 100644 --- a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java +++ b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java @@ -796,6 +796,7 @@ public class NotificationTestList extends TestActivity INotificationManager directLine = mNM.getService(); directLine.enqueueNotificationWithTag( getPackageName(), + getPackageName(), null, 100, n, @@ -821,7 +822,8 @@ public class NotificationTestList extends TestActivity INotificationManager directLine = mNM.getService(); directLine.enqueueNotificationWithTag( getPackageName(), - null, + getPackageName(), + null, 200, n, idOut, @@ -846,7 +848,8 @@ public class NotificationTestList extends TestActivity INotificationManager directLine = mNM.getService(); directLine.enqueueNotificationWithTag( getPackageName(), - null, + getPackageName(), + null, 1, n, idOut, -- cgit v1.1