blob: 43d2ad1dfe0aff61871cde595dd814977d32da54 [file] [log] [blame]
Mark Renoufa9fbb6e2019-02-11 12:48:22 -05001/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.systemui.bubbles;
18
19import android.app.Activity;
Mady Mellore80930e2019-03-21 16:00:45 -070020import android.content.Intent;
Mark Renoufa9fbb6e2019-02-11 12:48:22 -050021import android.os.Bundle;
22
23import com.android.systemui.R;
24
25/**
26 * Referenced by NotificationTestHelper#makeBubbleMetadata
27 */
28public class BubblesTestActivity extends Activity {
29
Mady Mellore80930e2019-03-21 16:00:45 -070030 public static final String BUBBLE_ACTIVITY_OPENED =
31 "com.android.systemui.bubbles.BUBBLE_ACTIVITY_OPENED";
32
Mark Renoufa9fbb6e2019-02-11 12:48:22 -050033 @Override
34 public void onCreate(Bundle savedInstanceState) {
35 super.onCreate(savedInstanceState);
36 setContentView(R.layout.main);
Mady Mellore80930e2019-03-21 16:00:45 -070037
38 Intent i = new Intent(BUBBLE_ACTIVITY_OPENED);
39 sendBroadcast(i);
Mark Renoufa9fbb6e2019-02-11 12:48:22 -050040 }
41}