OSDN Git Service

Abstract logic for setting components enabled / disabled
[android-x86/packages-apps-Taskbar.git] / app / src / main / java / com / farmerbb / taskbar / util / BlacklistEntry.java
1 /* Copyright 2016 Braden Farmer
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15
16 package com.farmerbb.taskbar.util;
17
18 import java.io.Serializable;
19
20 public class BlacklistEntry implements Serializable {
21     static final long serialVersionUID = 2534812642210454191L;
22
23     private String packageName;
24     private String label;
25
26     public BlacklistEntry(String packageName, String label) {
27         this.packageName = packageName;
28         this.label = label;
29     }
30
31     public String getPackageName() {
32         return packageName;
33     }
34
35     public String getLabel() {
36         return label;
37     }
38 }