Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #26

Closed
wants to merge 422 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
422 commits
Select commit Hold shift + click to select a range
5536e2e
update changelog
saulhdev Sep 16, 2020
924dda6
update readme
saulhdev Sep 16, 2020
9ad8c49
remove unused DynamicDrawableFactory
saulhdev Sep 17, 2020
7c7f8f3
Move CODE_EDIT_ICON to Config
saulhdev Sep 17, 2020
999a99a
remove unused DynamicDrawableFactory
saulhdev Sep 17, 2020
bd6ae02
add dock Icon Size Preference
saulhdev Sep 18, 2020
1722215
add workspace IconSize
saulhdev Sep 18, 2020
aee8044
update readme
saulhdev Sep 18, 2020
7a4fd36
update changelog
saulhdev Sep 18, 2020
54361e3
update changelog
saulhdev Sep 18, 2020
fcfc915
Merge branch 'master' of https://github.com/otakuhqz/Omega into master
saulhdev Sep 18, 2020
d440dd8
update readme
saulhdev Sep 18, 2020
3b7b485
update readme
saulhdev Sep 18, 2020
e6e44fa
Merge branch 'master' of https://github.com/otakuhqz/Omega into master
saulhdev Sep 18, 2020
afc1371
Add firebase libraries
saulhdev Sep 18, 2020
74a2ddb
fix gestures classes
saulhdev Sep 19, 2020
e74791b
fix crash when edit icon
saulhdev Sep 19, 2020
919b875
fix LauncherSettings columns
saulhdev Sep 19, 2020
d325c06
fix Wallpaper Chooser crash
saulhdev Sep 19, 2020
fa03e20
update db version
saulhdev Sep 19, 2020
39bd6e6
update changelog
saulhdev Sep 20, 2020
902ac35
add reset icon preference
saulhdev Sep 20, 2020
0011547
remove duplicated flattenBitmap method
saulhdev Sep 20, 2020
2bd7065
fix custom app alias
saulhdev Sep 20, 2020
f54b8f5
update changelog
saulhdev Sep 21, 2020
a9b8fbe
Translated using Weblate (French)
NathanBnm Sep 15, 2020
4898fa0
Set theme jekyll-theme-slate
saulhdev Sep 21, 2020
558467d
add grid desktop preference
saulhdev Sep 23, 2020
1687627
Add Desktop Hide Labels preference
saulhdev Sep 23, 2020
76041c5
Add multiline Labels preference
saulhdev Sep 23, 2020
1b7148a
Add dock size preference
saulhdev Sep 23, 2020
33e4c96
Add Swipe down gesture
saulhdev Sep 23, 2020
d0167f1
Add Swipe up gesture
saulhdev Sep 23, 2020
ba3d8f4
Merge branch 'master' of https://github.com/otakuhqz/Omega into master
saulhdev Sep 24, 2020
b203a2c
Merge commit 'ba3d8f4607d1f35bce071eabb638c4e819bb5fbc'
machiav3lli Sep 24, 2020
03d878c
Add dock swipe up
saulhdev Sep 26, 2020
e289050
Rebase after dirty Merge, remove firebase dependency
machiav3lli Sep 27, 2020
ccdd531
Update: improve gradle build performance
machiav3lli Sep 27, 2020
64a5b15
remove firebase from build
saulhdev Sep 27, 2020
e813dd5
fix swipe down not opening notification
saulhdev Sep 27, 2020
c4811fd
remove icon space to swipe up from dock gesture
saulhdev Sep 28, 2020
e3b041d
add predicted apps preference (developer mode)
saulhdev Sep 28, 2020
c496ac3
fix parameter names in CustomLauncherClient
saulhdev Sep 28, 2020
baee235
add Travis CI configuration
saulhdev Sep 28, 2020
86f3a33
add Travis CI configuration
saulhdev Sep 28, 2020
972ad60
Merge branch 'master' of https://github.com/otakuhqz/Omega into master
saulhdev Sep 28, 2020
a999403
Update readme
saulhdev Sep 28, 2020
a403577
Update readme
saulhdev Sep 28, 2020
055b0da
fix travis script
saulhdev Sep 28, 2020
1f5f25a
update readme
saulhdev Sep 28, 2020
83a5c0b
Translated using Weblate (French)
NathanBnm Sep 22, 2020
e1b6d7e
Added translation using Weblate (Arabic)
saulhdev Sep 24, 2020
7681aeb
Translated using Weblate (French)
NathanBnm Sep 24, 2020
2937cdf
Translated using Weblate (Norwegian Bokmål)
comradekingu Sep 28, 2020
d2b3e81
Translated using Weblate (French)
NathanBnm Sep 28, 2020
b7df878
add permission to exec graddle travis-ci
saulhdev Sep 28, 2020
0b5b0b7
add gradle files
saulhdev Sep 28, 2020
7b7ec9d
update readme
saulhdev Sep 28, 2020
c5c48e2
update gitignore
saulhdev Sep 28, 2020
1a9b35a
add gradle version to travis ci
saulhdev Sep 28, 2020
b0795ca
add gradle url for travis ci
saulhdev Sep 28, 2020
28d6dd8
change string "Open Source Libraries" to "Open Source"
saulhdev Sep 29, 2020
947786c
update readme
saulhdev Sep 29, 2020
93c854c
update changelog
saulhdev Sep 29, 2020
afa3f2e
set Prediction disabled as default
saulhdev Sep 29, 2020
104bbd5
Add feed theme preference
saulhdev Sep 29, 2020
ff2d1b8
prepare for preview preference
saulhdev Sep 29, 2020
f81aa00
add colored icons for preference
saulhdev Sep 29, 2020
724d362
fix desktop grid size title
saulhdev Sep 29, 2020
d1e8445
add search bar radius preference
saulhdev Sep 29, 2020
2273d26
update changelog
saulhdev Sep 29, 2020
df4aa67
fix typo
saulhdev Sep 29, 2020
7a5a5f5
update Italian translate
saulhdev Sep 29, 2020
fd9f5fa
disable preview preference
saulhdev Sep 29, 2020
5806038
cleanup code
saulhdev Sep 29, 2020
d2bf42b
Fix Custom app drawer labels lost after restarting #11
saulhdev Sep 29, 2020
fe55ce4
update readme
saulhdev Sep 29, 2020
f7853f8
update changelog and build to the new version
saulhdev Sep 29, 2020
4e3c770
Agregar traduccion a Portugués (Brazil)
saulhdev Sep 29, 2020
02e9475
Translated using Weblate (Spanish)
saulhdev Sep 28, 2020
7b61147
Added translation using Weblate (Portuguese (Brazil))
nonaybay Sep 29, 2020
288b7d5
Corregir traduccion Portugués (Brazil)
saulhdev Sep 30, 2020
f18ae34
Fix Status bar permission
saulhdev Sep 30, 2020
e874eea
Change StyledSwitchPreferenceCompat to java code
saulhdev Sep 30, 2020
9b5d6bf
Fix Google feed not working
saulhdev Sep 30, 2020
edeedbb
Translated using Weblate (Spanish)
saulhdev Sep 29, 2020
0cba50f
Translated using Weblate (German)
saulhdev Sep 29, 2020
bf63235
Translated using Weblate (French)
saulhdev Sep 29, 2020
1bc99a3
Translated using Weblate (Arabic)
saulhdev Sep 29, 2020
b281246
Translated using Weblate (Portuguese (Brazil))
nonaybay Sep 29, 2020
24d28c5
Merge remote-tracking branch 'weblate/master' into master
saulhdev Sep 30, 2020
0f31777
disable google Feed when is not installed
saulhdev Sep 30, 2020
06bf23c
update readme
saulhdev Sep 30, 2020
532fe3b
update CI Work flow
saulhdev Sep 30, 2020
db2f0e1
Update android.yml
saulhdev Sep 30, 2020
6204b92
fix typos in readme
saulhdev Oct 1, 2020
6327532
initial support for Recents
saulhdev Oct 1, 2020
4569c83
add ic_apps icon for Dash
saulhdev Oct 1, 2020
7fd94ab
add ic_apps_colored
saulhdev Oct 1, 2020
00c210b
change ic_search_colored color
saulhdev Oct 1, 2020
04253dc
update ic_widgets icon
saulhdev Oct 1, 2020
77f72c3
add colored icon for settings Menu
saulhdev Oct 1, 2020
2f82059
remove Unused class
saulhdev Oct 1, 2020
201b3b3
remove Unused class
saulhdev Oct 1, 2020
0aae17a
Add: Omega Icon
machiav3lli Oct 1, 2020
bf19ccc
Clean up (for PR)
machiav3lli Oct 1, 2020
74c6231
Merge branch 'master' into master
saulhdev Oct 1, 2020
83a6d1a
Merge pull request #19 from machiav3lli/master
saulhdev Oct 1, 2020
96c7098
Translated using Weblate (French)
NathanBnm Sep 30, 2020
062d358
fix typo in strings
saulhdev Oct 1, 2020
394eb20
mark arrays as non translatable
saulhdev Oct 1, 2020
608ee75
update gesture icon
saulhdev Oct 2, 2020
c705337
change string from Advanced to Advanced Settings
saulhdev Oct 2, 2020
bf9d514
update advanced settings buttons
saulhdev Oct 2, 2020
d019802
update ic_code icon
saulhdev Oct 2, 2020
43fd0f2
update about icon
saulhdev Oct 2, 2020
5f68856
remove unused go flavors
saulhdev Oct 2, 2020
e27d9b9
add blur for dock and all apps
saulhdev Oct 2, 2020
bd14cd0
add Omega Icon
saulhdev Oct 2, 2020
2df20f3
remove ic_allapps_background
saulhdev Oct 2, 2020
87b363e
Migrate Hotseat to BlurHotseat
saulhdev Oct 2, 2020
ec18642
update gestures
saulhdev Oct 2, 2020
cd1c155
Fix app crash in AllAppsStore #10
saulhdev Oct 2, 2020
f8791c9
Fix prediction floating padding top.
saulhdev Oct 2, 2020
2d97e32
Fix add web result search #18
saulhdev Oct 2, 2020
54fec37
Translated using Weblate (Spanish)
saulhdev Oct 1, 2020
3e2bab9
Migrate GesturePreference to java
saulhdev Oct 3, 2020
d96815d
Add Long Press gesture
saulhdev Oct 3, 2020
28053e3
add Start app gesture action
saulhdev Oct 3, 2020
848f0e1
revert duplicated preference
saulhdev Oct 3, 2020
6cccbea
revert gesture preferece
saulhdev Oct 3, 2020
986b78d
update recents
saulhdev Oct 3, 2020
5de939a
add AppsAdapterWithShortcuts
saulhdev Oct 3, 2020
eaf21d4
add AppsAdapterWithShortcuts
saulhdev Oct 3, 2020
a0f8576
update Touch and double tap gesture.
saulhdev Oct 3, 2020
c51ad95
more work in preview Preference
saulhdev Oct 4, 2020
a98bc8b
add search hidden apps preference
saulhdev Oct 4, 2020
a866a00
add all app label
saulhdev Oct 4, 2020
8c48b73
add customize icons with preview (dev)
saulhdev Oct 5, 2020
21d5437
add customize icons with preview (dev)
saulhdev Oct 5, 2020
941f99d
add multiline preference for dock
saulhdev Oct 5, 2020
ec5420d
remove duplicated strings
saulhdev Oct 5, 2020
c9e40da
fix icon space for multiline apps label in dock
saulhdev Oct 5, 2020
3c94144
move Predictions to drawer preference
saulhdev Oct 5, 2020
d3ad6b6
fix crash when click web results
saulhdev Oct 7, 2020
9f64499
fix Websearch locale
saulhdev Oct 7, 2020
5103326
update icon preference
saulhdev Oct 8, 2020
b6dbcd9
add smartspace icons
saulhdev Oct 8, 2020
16d823e
update icon mask
saulhdev Oct 8, 2020
779d2f1
add smartspace icons
saulhdev Oct 8, 2020
47768bd
add theme for smartspace
saulhdev Oct 8, 2020
1f93752
update dimens for smartspace
saulhdev Oct 8, 2020
af6db8a
add weather icons
saulhdev Oct 8, 2020
06467c2
Update utils for smartspace
saulhdev Oct 8, 2020
7c1cfea
add smartspace
saulhdev Oct 8, 2020
7203e08
fix typo in Open Source
saulhdev Oct 9, 2020
76d33e8
update readme
saulhdev Oct 9, 2020
688d0af
Add smartspace
saulhdev Oct 10, 2020
8eb5173
add event providers
saulhdev Oct 10, 2020
600554f
Fix crash when searching hidden apps
saulhdev Oct 10, 2020
d63d714
add default icon shape
saulhdev Oct 10, 2020
0533ed6
add dock arrow
saulhdev Oct 10, 2020
eeda934
show dock arrow as default
saulhdev Oct 10, 2020
f2d8207
add page indicator preference
saulhdev Oct 10, 2020
5490ba9
Fix Custom Widgets
saulhdev Oct 11, 2020
60d05dc
change weather notification preference
saulhdev Oct 11, 2020
09d6246
Add dock background preference
saulhdev Oct 11, 2020
d7a0563
fix dock background color dialog title
saulhdev Oct 11, 2020
5c43f59
update changelog
saulhdev Oct 11, 2020
81cc8c3
add dock opacity
saulhdev Oct 11, 2020
69fc778
add Omega background
saulhdev Oct 11, 2020
c0e0b43
add drawer background color preference
saulhdev Oct 11, 2020
14529a6
Translated using Weblate (French)
NathanBnm Oct 12, 2020
fe73106
More work in smartspace
saulhdev Oct 12, 2020
0703579
Merge remote-tracking branch 'weblate/master' into master
saulhdev Oct 12, 2020
04488d8
fix icon badging crash
saulhdev Oct 16, 2020
30c7d08
remove unused xlm resource
saulhdev Oct 16, 2020
69c59f7
categorize incubating preferences
saulhdev Oct 16, 2020
044cc28
update build.gradle
saulhdev Oct 16, 2020
2c6822e
fix default widget in workspace
saulhdev Oct 16, 2020
a990277
more work in SmartSpace
saulhdev Oct 16, 2020
b4cec8b
Add back up and restore preferences
saulhdev Oct 16, 2020
8f50e47
add permission to read calendar events
saulhdev Oct 16, 2020
45f488f
fix crash when showing weather
saulhdev Oct 17, 2020
eb76f4c
migrate model Loopers to Executors
saulhdev Oct 17, 2020
8667e33
remove unused CustomAppPredictor
saulhdev Oct 17, 2020
22b293b
add custom db to back up
saulhdev Oct 17, 2020
0ec1c75
restore custom db
saulhdev Oct 17, 2020
0743c0a
fix crash on drag search bar in workspace
saulhdev Oct 18, 2020
442959e
Add device sleep gesture
saulhdev Oct 18, 2020
8a7a90c
close dash when item is clicked
saulhdev Oct 18, 2020
377c1c5
remove .neo suffix to release type
saulhdev Oct 18, 2020
8fadcaa
Translated using Weblate (Arabic)
abidin251 Oct 13, 2020
63a7636
Translated using Weblate (French)
NathanBnm Oct 15, 2020
bfa5f48
Translated using Weblate (Norwegian Bokmål)
comradekingu Oct 16, 2020
253132d
fix crash on EditIconActivity and default icon is selected
saulhdev Oct 19, 2020
eca3c57
fix crash search widget on android Q
saulhdev Oct 19, 2020
efb0042
Merge remote-tracking branch 'weblate/master' into master
saulhdev Oct 19, 2020
524d51c
add full screen preference
saulhdev Oct 20, 2020
0069560
add option panel buttons
saulhdev Oct 20, 2020
2b84102
add desktop bubble popup
saulhdev Oct 24, 2020
2758bc8
add desktop bubble popup
saulhdev Oct 24, 2020
e1fc936
add alarm event provider
saulhdev Oct 24, 2020
d758656
fix icon space in icon bubble preference
saulhdev Oct 24, 2020
46285cb
more work in icon preference
saulhdev Oct 25, 2020
419741b
organize event providers and weather providers
saulhdev Oct 25, 2020
28136b9
add build script for gitlab
saulhdev Oct 26, 2020
9588b17
update gitignore
saulhdev Oct 26, 2020
45d4163
remove duplicated LongClickReceived
saulhdev Oct 26, 2020
ff34091
update gitlab ci
saulhdev Oct 26, 2020
0a1d726
fix hotseat typo
saulhdev Oct 26, 2020
cec48ac
update strings
saulhdev Oct 26, 2020
1abeafa
configure artifacts
saulhdev Oct 26, 2020
85ff7f2
remove unused classes
saulhdev Oct 26, 2020
2778ca5
Translated using Weblate (Spanish)
saulhdev Oct 26, 2020
33a5c83
Translated using Weblate (Spanish)
saulhdev Oct 26, 2020
f052913
change background color for adaptive icons
saulhdev Oct 26, 2020
0498984
fix gitlab ci build script
saulhdev Oct 26, 2020
2888c47
Update FUNDING.yml
saulhdev Oct 27, 2020
ad37d41
update smartspace providers
saulhdev Oct 28, 2020
fa3bffd
Translated using Weblate (English)
comradekingu Oct 27, 2020
8e2a400
Translated using Weblate (German)
Oct 26, 2020
15e09d1
Translated using Weblate (French)
Oct 26, 2020
d7597e4
Translated using Weblate (Norwegian Bokmål)
comradekingu Oct 27, 2020
3b7e4b5
agregar opcion para habilitar color de fondo personalizado en app drawer
saulhdev Oct 28, 2020
a552bdc
add preference to change icon text color in the drawer. This resolves…
saulhdev Oct 28, 2020
0dc11a9
Translated using Weblate (Norwegian Bokmål)
comradekingu Oct 28, 2020
176fbb3
remove duplicate task in build.gradle
saulhdev Oct 28, 2020
db2e4aa
prepare to compile sysui_shared
saulhdev Oct 28, 2020
20f86b2
Merge remote-tracking branch 'weblate/master' into master
saulhdev Oct 28, 2020
a4b2273
disable Promise apps to fix odd apps shortcuts. resolves #22
saulhdev Oct 28, 2020
4ba947c
migrate to SharedLibWrapper
saulhdev Oct 29, 2020
86541df
add IconPack Preference
saulhdev Oct 30, 2020
fec37cc
update swipe detector
saulhdev Oct 30, 2020
bd9e826
README reworked
comradekingu Oct 31, 2020
790d714
Small fixes
comradekingu Oct 31, 2020
cd21c91
Translated using Weblate (Norwegian Bokmål)
comradekingu Oct 31, 2020
f10b415
move Icon Preference to the Theme screen
saulhdev Nov 1, 2020
6fc007a
close web search response
saulhdev Nov 1, 2020
2432e25
fix non adaptive icon scale
saulhdev Nov 1, 2020
dc0b001
remove log from PredictionRowView
saulhdev Nov 2, 2020
5e6db85
update to kotlin 1.4.10
saulhdev Nov 2, 2020
a48be05
add require api anotation
saulhdev Nov 2, 2020
6ce30aa
update handler in theme manager
saulhdev Nov 2, 2020
8f2c9b4
move OmegaAppTransitionManagerImpl to animation folder
saulhdev Nov 2, 2020
e91ed31
Translated using Weblate (French)
Nov 2, 2020
e61dfa4
Translated using Weblate (Italian)
Nov 2, 2020
f5e2836
add Swipe up gesture handler
saulhdev Nov 4, 2020
cdd9d25
Merge remote-tracking branch 'weblate/master' into master
saulhdev Nov 4, 2020
7a0deea
Merge pull request #24 from comradekingu/patch-2
saulhdev Nov 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# These are supported funding model platforms

custom: ["https://www.paypal.me/saulhenriquez"]
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: otakuhqz # Replace with a single Liberapay username
issuehunt: otakuhqz # Replace with a single IssueHunt username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ["https://www.paypal.me/saulhenriquez"]
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!--- Provide a general summary of the issue in the Title above -->
<!--- Check if your issue or something similar has been reported before (if yes upvote/comment there) -->

## Description
<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->


## Expected Behavior
<!--- Tell us what should happen -->


## Actual Behavior
<!--- Tell us what happens instead -->


## Steps to Reproduce
<!--- Provide a link to a live example (screenshot/recording etc..), or a set of steps to reproduce the issue -->

1.
2.
3.
4.


## Device and OS
<!--- Include as many relevant details about the environment you experienced the bug in -->
<!--- For example: -->
<!--- * Device: Samsung Galaxy S10 "beyondlte" -->
<!--- * Android version: 9.0.0 -->
<!--- * Launcher version: 2.1.0 -->
<!--- * Rom: OneUI 1.2 -->


* Device:
* Android version:
* Launcher version:
* Rom:


## Logcat
<!--- If possible, include a logcat of the issue, otherwise remove this section-->
```
your log here
```
23 changes: 23 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Main CI Workflow

on:
push:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Compile with Gradle
run: ./gradlew compileReleaseSources
- name: Clean up
run: ./gradlew clean
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Project exclude paths
/aospWithQuickstepOmega
/buildSrc/.gradle/
/buildSrc/build/
/buildSrc/build/classes/java/main/
Expand All @@ -8,15 +9,13 @@ db_files
.classpath
.project.properties
gen/
google-services.json
tests/stress/gen/
WallpaperPicker/gen/
WallpaperPicker/.project.properties
bin/
.idea/
.gradle/
local.properties
gradle/
build/
gradlew*
.DS_Store
*.jks
63 changes: 63 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
image: openjdk:8-jdk

variables:
ANDROID_COMPILE_SDK: "30"
ANDROID_BUILD_TOOLS: "30.0.2"
ANDROID_SDK_TOOLS: "4333796"
VARIANT: "aospWithQuickstepOmega"
FLAVOUR: "debug"
CHAT_ID: "omega"
APK_NAME: "Omega-Nightly"
SECRET_BOT_TOKEN_PLACEHOLDER: "PLA CE HO LDE R"

before_script:
- git submodule update --recursive --init
- apt-get --quiet update --yes
- apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 screenfetch curl
- screenfetch
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/
- echo "sdk.dir=$ANDROID_HOME" > local.properties
- echo "sdk-location=$ANDROID_HOME" >> local.properties
- chmod +x ./gradlew

stages:
- build
- sign
#- deploy

assemble:
stage: build
script:
#- curl -F text="$(git log --oneline | head -n 5)" "https://api.telegram.org/bot${SECRET_BOT_TOKEN}/sendMessage?chat_id=@${CHAT_ID}"
- wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip
- unzip -d android-sdk-linux android-sdk.zip
- echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}" > /dev/null
- echo y | android-sdk-linux/tools/bin/sdkmanager "platform-tools" > /dev/null
- echo y | android-sdk-linux/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS}" > /dev/null
- set +o pipefail
- yes | android-sdk-linux/tools/bin/sdkmanager --licenses
- set -o pipefail
- ./gradlew assembleAospWithQuickstepOmegaDebug

signRelease:
stage: sign
dependencies:
- assemble
script:
- mkdir outputs
- echo "${KEYSTORE}" | base64 -d - > omega.jks
- jarsigner -keystore omega.jks build/outputs/apk/${VARIANT}/${FLAVOUR}/${APK_NAME}.apk -storepass "${KEYSTORE_PASSWORD}" -keypass "${KEY_PASSWORD}" "${KEYSTORE_ALIAS}" --signedjar omega-ci-signed.apk
- ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS}/zipalign -v 4 omega-ci-signed.apk outputs/omega-ci-signed-aligned.apk
artifacts:
paths:
- outputs/omega-ci-signed-aligned.apk
expire_in: 1 week

#sendReleaseTelegram:
# stage: deploy
# script:
# - apt-get install curl
# - curl -F document=@"outputs/librechair-ci-signed-aligned.apk" "https://api.telegram.org/bot${SECRET_BOT_TOKEN}/sendDocument?chat_id=@${CHAT_ID}"
# dependencies:
# - signRelease
58 changes: 58 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
language: android
sudo: false
jdk: oraclejdk8

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache

env:
global:
- ANDROID_API=30
- EMULATOR_API=30
- ANDROID_BUILD_TOOLS=30.0.2
- ADB_INSTALL_TIMEOUT=5 # minutes
- ANDROID_ABI=google-apis/armeabi-v7a

android:
components:
- build-tools-30.0.2
- android-30
- extra-android-support # because I'm use support library
- extra-android-m2repository # because I'm use support library
- extra-google-m2repository
- addon-google_apis-google-30
- sys-img-armeabi-v7a-google-apis-30

licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+

before_install:
- wget https://services.gradle.org/distributions/gradle-6.5.1-all.zip
- unzip -qq gradle-6.5.1-all.zip
- export GRADLE_HOME=$PWD/gradle-6.5
- export PATH=$GRADLE_HOME/bin:$PATH
- gradle -v

- gradle wrapper
- chmod +x gradlew
- ./gradlew dependencies || true
- yes | sdkmanager "platforms;android-30"

#before_script:
#- echo no | android create avd --force -n test -t android-25 --abi google_apis/armeabi-v7a
#- emulator -avd test -no-audio -no-window &
#- android-wait-for-emulator
#- adb shell input keyevent 82 &
install: true
script:
- echo "skipping tests"


4 changes: 2 additions & 2 deletions AndroidManifest-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
<uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />

<!--
Permissions required for read/write access to the workspace data. These permission name
Expand Down Expand Up @@ -72,7 +71,8 @@
android:fullBackupOnly="true"
android:fullBackupContent="@xml/backupscheme"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher_home"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/derived_app_name"
android:largeHeap="@bool/config_largeHeap"
android:restoreAnyVersion="true"
Expand Down
7 changes: 5 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher3">
<uses-sdk android:targetSdkVersion="29" android:minSdkVersion="25"/>
<uses-sdk
android:minSdkVersion="25"
android:targetSdkVersion="30" />
<!--
Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml.
Refer comments around specific entries on how to extend individual components.
Expand All @@ -31,7 +33,8 @@
android:fullBackupOnly="true"
android:fullBackupContent="@xml/backupscheme"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher_home"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/derived_app_name"
android:theme="@style/AppTheme"
android:largeHeap="@bool/config_largeHeap"
Expand Down
Loading
Loading