Skip to content
This repository has been archived by the owner on Aug 16, 2020. It is now read-only.

Commit

Permalink
initial support android 9
Browse files Browse the repository at this point in the history
Signed-off-by: otakuhqz <saul_henriquez@hotmail.com>
  • Loading branch information
saulhdev committed Apr 7, 2019
1 parent 6b62bb3 commit 180d50c
Show file tree
Hide file tree
Showing 206 changed files with 11,229 additions and 19,479 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
2 changes: 2 additions & 0 deletions .settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
connection.project.dir=
eclipse.preferences.version=1
9 changes: 8 additions & 1 deletion AndroidManifest-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<uses-permission android:name="android.permission.BIND_APPWIDGET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />

<application
android:backupAgent="com.android.launcher3.LauncherBackupAgent"
Expand All @@ -49,7 +50,6 @@
android:label="@string/derived_app_name"
android:largeHeap="@bool/config_largeHeap"
android:restoreAnyVersion="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true">

<!-- Intent received used to install shortcuts from other applications -->
Expand All @@ -76,6 +76,13 @@
</intent-filter>
</receiver>

<service
android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
android:exported="false"
android:process=":wallpaper_chooser"
android:permission="android.permission.BIND_JOB_SERVICE" />


<service
android:name="com.android.launcher3.dynamicui.ColorExtractionService"
android:exported="false"
Expand Down
43 changes: 3 additions & 40 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@

<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
<uses-permission android:name="com.google.android.apps.nexuslauncher.permission.READ_SETTINGS" />
<uses-permission android:name="com.google.android.apps.nexuslauncher.permission.WRITE_SETTINGS" />
<uses-permission android:name="${applicationId}.permission.READ_SETTINGS" />
<uses-permission android:name="${applicationId}.permission.WRITE_SETTINGS" />

Expand Down Expand Up @@ -74,7 +72,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/derived_app_name"
android:restoreAnyVersion="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/LauncherTheme">

Expand All @@ -83,9 +81,9 @@
attributes and intent filters the same
-->
<activity
android:name="com.google.android.apps.nexuslauncher.NexusLauncherActivity"
android:name="com.android.launcher3.Launcher"
android:clearTaskOnLaunch="true"
android:configChanges="keyboard|keyboardHidden|navigation"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
android:enabled="true"
android:excludeFromRecents="true"
android:launchMode="singleTask"
Expand Down Expand Up @@ -131,40 +129,6 @@
android:readPermission="${applicationId}.permission.READ_SETTINGS"
android:writePermission="${applicationId}.permission.WRITE_SETTINGS" />

<!-- Pixel -->
<activity
android:name="com.google.android.apps.nexuslauncher.search.AppLaunchActivity"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter android:priority="1">
<action android:name="com.google.android.apps.nexuslauncher.search.APP_LAUNCH" />

<category android:name="android.intent.category.DEFAULT" />

<data
android:mimeType="vnd.android.cursor.dir/vnd.android.search.suggest"
android:scheme="content" />
</intent-filter>
</activity>

<receiver
android:name="com.google.android.apps.nexuslauncher.qsb.OPAStatusReceiver"
android:permission="android.permission.CAPTURE_AUDIO_HOTWORD">
<intent-filter>
<action android:name="com.google.android.systemui.OPA_ENABLED" />
</intent-filter>
</receiver>
<receiver android:name="com.google.android.apps.nexuslauncher.smartspace.SmartspaceBroadcastReceiver">
<intent-filter>
<action android:name="com.google.android.apps.nexuslauncher.UPDATE_SMARTSPACE" />
</intent-filter>
</receiver>
<receiver android:name="com.google.android.apps.nexuslauncher.qsb.LongClickReceiver" />

<provider
android:name="com.google.android.apps.nexuslauncher.search.AppSearchProvider"
android:authorities="${applicationId}.appssearch"
android:exported="true" />

<activity
android:name="org.zimmob.zimlx.backup.BackupListActivity"
android:label="@string/backups"
Expand All @@ -182,7 +146,6 @@
android:theme="@style/SettingsTheme.V2">
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="application/vnd.zim.backup" />
Expand Down
30 changes: 16 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
### v0.6.0
- Support for android 9 Pie

### v0.5.2
* Added support to sort apps. (AZ, ZA, Last Installed, most used).
* Fix Icon Scale on app drawer
* Added support to sort apps. (AZ, ZA, Last Installed, most used).
* Fix Icon Scale on app drawer
### v0.5.0
* Quick actions per apps support.
* Change to Lawnchair base.
* Accent color change setting.
* Quick actions per apps support.
* Accent color change setting.
### v0.4.4
* Fix setting theme
* Add enable-disable minibar
* Fix setting theme
* Add enable-disable minibar
### v0.4.3
* add icon badge support
* add predicted apps support
* add predicted apps config
* Change base code from OpenLauncher to Lawnchair
* add icon badge support
* add predicted apps support
* add predicted apps config
* Change base code from OpenLauncher to Lawnchair
### v0.2.5
* Update sort mode
* Add apps filter
* Update iconpack support
* Update sort mode
* Add apps filter
* Update icon pack support
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
# ZimLX
[![Travis](https://img.shields.io/travis/otakuhqz/ZimLX.svg?style=for-the-badge)](https://travis-ci.org/otakuhqz/ZimLX) [![Donate on PayPal](https://img.shields.io/badge/PayPal-Donate%20Now-orange.svg?style=for-the-badge)](https://paypal.me/saulhenriquez) [![Codacy grade](https://img.shields.io/codacy/grade/b7b8e9a71417473ab7467a5984e41b36.svg?style=for-the-badge)](https://app.codacy.com/app/otakuhqz/ZimLX) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge)](https://opensource.org/licenses/Apache-2.0) [![GitHub release](https://img.shields.io/github/release/otakuhqz/ZimLX.svg?style=for-the-badge)](https://github.com/otakuhqz/ZimLX/releases)

Free and Open Source Launcher for Android.
Our mission is to bring a powerful launcher with smart features to make your device easy to use.

[<img src="Logo/logotype.png" width="28%" alt="Zim Launcher">](https://github.com/otakuhqz/ZimLX)
[<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/packages/org.zimmob.zimlx/)

## Main Features
* Row and Columns config
* Minibar support with custom color configuration.
* Hide Apps.
* Custom Scrollbar.
* Allow to to sort apps in the drawer by AZ, ZA, Last Installed, Most used.
* Theme Color Change.
* Icon Size configuration
* Icon Pack support
* Icon Shape support
* Show notification counts in folder
* Icon Badge support in apps and Folder
* Icon badge color configuration.
- Row and Columns config.
- Minibar support with custom color configuration.
- Hide Apps.
- Custom Scrollbar.
- Allow to to sort apps in the drawer by AZ, ZA, Last Installed, Most used.
- Theme Color Change.
- Icon Size configuration
- Icon Pack support
- Icon Shape support
- Show notification counts in folder
- Icon Badge support in apps and Folder
- Icon badge color configuration.

## Development Features
* App Drawer
* Transitions and animations
* Horizontal layout
* App Drawer
* Transitions and animations
* Horizontal layout

## Donations
Want to buy me a coffee? https://paypal.me/saulhenriquez
Expand Down
48 changes: 39 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,27 +93,42 @@ android {
}
}


flavorDimensions "default"
productFlavors {
aosp {
dimension "default"
applicationId 'org.zimmob.zimlx'
applicationId 'com.android.launcher3'
testApplicationId 'com.android.launcher3.tests'
}

l3go {
dimension "default"
applicationId 'com.android.launcher3'
testApplicationId 'com.android.launcher3.tests'
}
quickstep {
dimension "default"
applicationId 'com.android.launcher3'
testApplicationId 'com.android.launcher3.tests'
}
}
lintOptions {
disable 'MissingTranslation'
disable 'ExtraTranslation'
abortOnError false
}

// Disable release builds for now
android.variantFilter { variant ->
if (variant.buildType.name.endsWith('release')) {
variant.setIgnore(true);
}
}

sourceSets {
main {
res.srcDirs = ['res']
java.srcDirs = ['src']
aidl.srcDirs = ['src']
assets.srcDirs = ['assets']
manifest.srcFile 'AndroidManifest-common.xml'
proto {
srcDir 'protos/'
Expand All @@ -122,16 +137,31 @@ android {
}
}

debug {
manifest.srcFile "AndroidManifest.xml"
}

androidTest {
res.srcDirs = ['tests/res']
java.srcDirs = ['tests/src']
java.srcDirs = ['tests/src', "src_ui_overrides"]
manifest.srcFile "tests/AndroidManifest-common.xml"
}

aosp {
java.srcDirs = ['src_flags']
manifest.srcFile "AndroidManifest.xml"
java.srcDirs = ['src_flags', "src_ui_overrides"]
}

l3go {
res.srcDirs = ['go/res']
java.srcDirs = ['go/src_flags', "src_ui_overrides"]
manifest.srcFile "go/AndroidManifest.xml"
}
quickstep {
res.srcDirs = ['quickstep/res']
java.srcDirs = ['src_flags', 'quickstep/src']
manifest.srcFile "quickstep/AndroidManifest.xml"
}

}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -177,6 +207,8 @@ dependencies {
implementation 'cat.ereza:customactivityoncrash:2.2.0'
implementation 'com.jaredrummler:colorpicker:1.0.1'

quickstepImplementation fileTree(dir: "quickstep/libs", include: 'sysui_shared.jar')

// Tools
implementation "com.jakewharton:butterknife:${version_library_butterknife}"
if (enable_plugin_kotlin) {
Expand Down Expand Up @@ -211,8 +243,6 @@ protobuf {
option "java_package=launcher_log_extension.proto|com.android.launcher3.userevent.nano"
option "java_package=launcher_log.proto|com.android.launcher3.userevent.nano"
option "java_package=launcher_dump.proto|com.android.launcher3.model.nano"
option "java_package=search.proto|com.google.android.apps.nexuslauncher.search.nano"
option "java_package=smartspace.proto|com.google.android.apps.nexuslauncher.smartspace.nano"
option "enum_style=java"
}
}
Expand Down
42 changes: 0 additions & 42 deletions proto_pixel/search.proto

This file was deleted.

Loading

0 comments on commit 180d50c

Please sign in to comment.