Commit 9a6bc052 authored by Amit Kumar's avatar Amit Kumar
Browse files

tag point with some fixes

parent c79a932c
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -9,6 +9,8 @@ android {
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
renderscriptTargetApi 19
renderscriptSupportModeEnabled true
}
buildTypes {
release {
......@@ -53,6 +55,19 @@ dependencies {
implementation "io.reactivex.rxjava2:rxandroid:${rootProject.ext.rxAndroidVersion}"
implementation "io.reactivex.rxjava2:rxjava:${rootProject.ext.rxJavaVersion}"
implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
// Retrofit
implementation "com.squareup.retrofit2:retrofit:2.3.0"
implementation "com.squareup.retrofit2:converter-gson:2.3.0"
implementation "com.squareup.retrofit2:adapter-rxjava2:2.3.0"
// Okhttp
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
compile 'jp.wasabeef:blurry:2.1.1'
// Rx Relay
implementation "com.jakewharton.rxrelay2:rxrelay:${rootProject.ext.rxRelayVersion}"
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -5,6 +5,7 @@
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
<application
android:name=".BlissLauncher"
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -9,7 +9,7 @@ import java.util.List;
public class AppItem {
private CharSequence mLabel;
private String mLabel;
private String mPackageName;
private Drawable mIcon;
private Intent mIntent;
......@@ -28,7 +28,7 @@ public class AppItem {
private List<AppItem> mSubApps;
public AppItem(CharSequence label, String packageName, Drawable icon,
public AppItem(String label, String packageName, Drawable icon,
Intent intent, String componentName, boolean iconFromIconPack, boolean isSystemApp,
boolean isClock, boolean isCalendar, boolean adaptive) {
this.mLabel = label;
......@@ -54,7 +54,7 @@ public class AppItem {
return mLabel;
}
public void setLabel(CharSequence label) {
public void setLabel(String label) {
this.mLabel = label;
}
......@@ -149,4 +149,10 @@ public class AppItem {
this.mBelongsToFolder = belongsToFolder;
}
@Override
public boolean equals(Object obj) {
if(obj instanceof AppItem){
return ((AppItem)obj).mPackageName.equals(this.mPackageName);
}else return false;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment