Skip to content

Commit

Permalink
vendor/aokp - another cleaup
Browse files Browse the repository at this point in the history
Change-Id: Iada73ca57bddb3254681c46ac60743197c2406af
Signed-off-by: STELIX <[email protected]>
  • Loading branch information
STELIX committed Dec 12, 2017
1 parent 78fc57c commit d11e502
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 30 deletions.
2 changes: 1 addition & 1 deletion build/core/apicheck_msg_current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ You have tried to change the API from what has been previously approved.

STOP.
Read this:
https://github.com/LineageOS/android_lineage-sdk/wiki/Creating-an-API-for-the-SDK#updating--verifying-the-api
https://github.com/AOKP/lineage-sdk/wiki/Creating-an-API-for-the-SDK#updating--verifying-the-api

To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
Expand Down
2 changes: 0 additions & 2 deletions configs/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ PRODUCT_PACKAGES += \
BluetoothExt \
CellBroadcastReceiver \
Development \
LatinIME \
LatinImeDictionaryPack \
masquerade \
mGerrit \
Microbes \
Expand Down
14 changes: 0 additions & 14 deletions configs/common_full.mk
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
# Inherit common AOKP stuff
$(call inherit-product, vendor/aokp/configs/common.mk)

# Bring in all video files
$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk)

PRODUCT_SIZE := full

# Include AOKP LatinIME dictionaries
PRODUCT_PACKAGE_OVERLAYS += vendor/aokp/overlay/dictionaries

PRODUCT_PACKAGES += \
VideoEditor \
libvideoeditor_jni \
libvideoeditor_core \
libvideoeditor_osal \
libvideoeditor_videofilters \
libvideoeditorplayer

# Recorder
PRODUCT_PACKAGES += \
Recorder
Expand Down
8 changes: 8 additions & 0 deletions configs/common_full_phone.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Inherit common AOKP stuff
$(call inherit-product, vendor/aokp/configs/common_full.mk)

# Required packages
PRODUCT_PACKAGES += \
LatinIME

# Include Lineage LatinIME dictionaries
PRODUCT_PACKAGE_OVERLAYS += vendor/aokp/overlay/dictionaries

$(call inherit-product, vendor/aokp/configs/telephony.mk)
7 changes: 7 additions & 0 deletions configs/common_full_tablet_wifionly.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Inherit common AOKP stuff
$(call inherit-product, vendor/aokp/configs/common_full.mk)

# Required packages
PRODUCT_PACKAGES += \
LatinIME

# Include Lineage LatinIME dictionaries
PRODUCT_PACKAGE_OVERLAYS += vendor/aokp/overlay/dictionaries
4 changes: 4 additions & 0 deletions configs/common_mini_phone.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
$(call inherit-product, vendor/aokp/configs/common_mini.mk)

# Required packages
PRODUCT_PACKAGES += \
LatinIME

$(call inherit-product, vendor/aokp/configs/telephony.mk)
4 changes: 4 additions & 0 deletions configs/common_mini_tablet_wifionly.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Inherit common AOKP stuff
$(call inherit-product, vendor/aokp/configs/common_mini.mk)

# Required packages
PRODUCT_PACKAGES += \
LatinIME
6 changes: 1 addition & 5 deletions prebuilt/common/bin/backuptool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ check_prereq() {
if [ ! -r /system/build.prop ]; then
return 0
fi
<<<<<<< HEAD
if ( ! grep -q "^ro.aokp.branch=$V.*" /system/build.prop ); then
=======
if ( ! grep -q "^ro.lineage.version=$V.*" /system/build.prop ); then
>>>>>>> 5c60e4f... lineage: Complete the rebrand
if ( ! grep -q "^ro.aokp.version=$V.*" /system/build.prop ); then
echo "Not backing up files from incompatible version: $V"
return 0
fi
Expand Down
22 changes: 14 additions & 8 deletions prebuilt/common/etc/init.d/00banner
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
#
# Print startup info
#
L="log -p i -t lineage"
L="log -p i -t AOKP"

$L "_ _ "
$L "| (_)_ __ ___ __ _ __ _ ___ ___ ___ "
$L "| | | '_ \\ / _ \\/ _\` |/ _\` |/ _ \\/ _ \\/ __|"
$L "| | | | | | __/ (_| | (_| | __/ (_) \\__ \\"
$L "|_|_|_| |_|\\___|\\__,_|\\__, |\\___|\\___/|___/"
$L " |___/"
$L "Welcome to Android `getprop ro.build.version.release` / LineageOS-`getprop ro.lineage.version`";
$L "******************************************"
$L "* ______ _____ __ __ _____ *"
$L "* /\\ _ \\/\\ __`\\/\\ \\/\\ \\ /\\ _ `\\ *"
$L "* \\ \\ \\L\\ \\ \\ \\/\\ \\ \\ \\/'/'\\ \\ \\L\\ \\ *"
$L "* \\ \\ __ \\ \\ \\ \\ \\ \\ , < \\ \\ ,__/ *"
$L "* \\ \\ \\/\\ \\ \\ \\_\\ \\ \\ \\\\\\`\\ \\ \\ \\/ *"
$L "* \\ \\_\\ \\_\\ \\_____\\ \\_\\ \\_\\\\\\ \\_\\ *"
$L "* \\/_/\\/_/\\/_____/\\/_/\\/_/ \\/_/ *"
$L "* *"
$L "* http://aokp.co *"
$L "******************************************"
$L "A wise man never plays leapfrog with a unicorn"
$L "`getprop ro.build.version.release` / AOKP-`getprop ro.aokp.version`";

0 comments on commit d11e502

Please sign in to comment.