Commit graph

337 commits

Author SHA1 Message Date
Zhao Wei Liew
046484f8c7 cm: common: Correct indentation
Indentation should be 4 spaces here.

Change-Id: I3484eb8bd04eb4457c4f17403381b286e1bdb1ed
2017-01-07 15:55:35 +08:00
Tom Powell
e4c8c8296f build: include lineage releasekey in recovery
Change-Id: I3335af3b490ef1af5fdd786654f4e68bb3290b27
2017-01-06 22:29:06 -08:00
Tom Powell
343b594650 build: remove deprecated recovery keys
Change-Id: I7bb6548315520b387a06b5d66a85dcfbeb5c3f82
2017-01-06 22:26:29 -08:00
Zhao Wei Liew
321dde5f70 cm: Rebrand CM_VERSION to LINEAGE_VERSION
Change-Id: I79433c4d2fa14784c5b41985ed91e3712aacafa4
2017-01-02 04:08:40 +00:00
Zhao Wei Liew
2199e557df cm: Remove root access prop
This property is already defaulted to 0 in the code.
The su_daemon is also disabled by default.

Thus, for all intents and purposes, root access is
already being disabled by default.

Change-Id: I1241689c0d3253aa2e44835c55839f24b3b74341
2016-12-31 22:45:12 +00:00
Zhao Wei Liew
5d8bdc3fce cm: Switch to LineageOS privacy policy
Change-Id: I883961b172dd832d7bcc3dca8151f6b7c4c36ad3
2016-12-30 01:53:15 +00:00
Dan Pasanen
4c6c53ecf8 vendor: disable custom bootanimation for now
* until we get our own

Change-Id: I6fae862b62d711499d4755e160ec060ebb7a1d0f
2016-12-29 05:17:40 +00:00
Dan Pasanen
24a1cc95b6 Revert "cm: Revert the new boot animation generation process"
This reverts commit e2ec4c6051.

* New build server(s) will be able to support this

Change-Id: I990297e6db7aa6076199bb6344328e704b1d4ebe
2016-12-29 05:16:33 +00:00
Dan Pasanen
0344771b53 vendor: we are now LineageOS
* Change necessary bits to support our project move

Change-Id: I085470d448a243cc9d60b4ce920dee52086f64cd
2016-12-28 19:44:28 +00:00
Zhao Wei Liew
0faa9024b8 cm: common: Remove Launcher3 makefile entry
We no longer sync Launcher3. This entry never did anything anyway,
since we build Trebuchet instead, which overrides Launcher3.

Change-Id: Ia2c56c9f819025ba34cbff1daf8d3380a924a8a5
2016-12-23 18:35:25 +08:00
Alexander Martinz
e7f4058593 cm: Fix Trusted Face
Trusted Face depends on libprotobuf-cpp-full.
Some devices already ship it (eg RIL needs it).

Include it here to build it for every device.

Link to OpenGapps issue:
https://github.com/opengapps/opengapps/issues/390

Change-Id: Iffee0aa6218dfef45f5cd728a999fa1114c0dd57
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
2016-12-08 02:10:35 -08:00
Zhao Wei Liew
e2ec4c6051 cm: Revert the new boot animation generation process
The servers do not have ImageMagick installed right now,
breaking the automated builds.

Revert this for now.

This reverts the following commits:
840e781408 bootanim: Use a for loop to make part# folders
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
6179d9494f cm: Build bootanimation.zip
67ddf37281 cm: Rework boot animation generation

Change-Id: I63fc43da9b1a6afea5f791e879f0bfc9a385d98d
2016-12-04 01:00:43 -08:00
Luca Stefani
6179d9494f cm: Build bootanimation.zip
Change-Id: I58fdfdbafd4ec1ce947c1d3c168a6e3f10bffd94
2016-12-01 22:43:30 +01:00
Griffin Millender
67ddf37281 cm: Rework boot animation generation
Keep the largest bootanimation extracted
and resize it at build-time.

Change-Id: Iee32f18440ff955d13ed85b273e97cbd540721fc
2016-12-01 22:43:29 +01:00
Dan Pasanen
1b19f16eb7 [2/2] cm: set cache partition location
* In init.rc, this prop will be used to set DOWNLOAD_CACHE
* If a device specifies having a dedicated /cache partition, by setting
  BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE, use it!
* Default to /data/cache per AOSP

Change-Id: I838672ca4638c9665333c1a67257fc435f33f388
2016-11-30 19:52:24 -08:00
Zhao Wei Liew
8dcba6834b cm: config: Remove enhanced NFC feature
This was used for the HCE implementation by SimplyTapp in CM 9 - 10.2.
Since then, Android has an HCE implementation and this is no longer used.

Change-Id: Icd9db39829c1863c4962aab53959ad527da28bcd
2016-11-26 01:25:42 -08:00
Joey Rizzoli
73a3965995
cm: enable hidden storage manager
Change-Id: I18ac1f27d73837e08d25f441543faf30cc58f8ee
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2016-11-23 21:19:00 +01:00
Zhao Wei Liew
aae6c62687 config: common: Remove obsolete RomManager props
RomManager hasn't been properly updated in years.
Is this still even a reliable ROM updater anymore?

Change-Id: I3ea57ec0121e6d6f933dd80031bb53514a44e362
2016-11-15 03:10:40 -07:00
Luca Stefani
aa92150dba config: Add missing \ in bootanimation pick
Change-Id: Id61a196f97115c70b7d1dcf84fe830b72834a17c
2016-11-13 18:53:07 +01:00
Steve Kondik
c86fb126c6 cm: Fix bootanimation sorting
Change-Id: I7d45f6790406db826fbb822fedb4484427b18c31
2016-11-08 13:43:33 -07:00
Dan Pasanen
4f1743470f common: add quotes to satisfy kati/bash/make/whatever
* Honestly, I have no idea why this works. Or, to put it more
  precisely, why it works without this on _some_ devices and not
  others. All of a sudden?

* Without this patch I'm getting:
    /opt/out/14.1/build-cm_d2vzw-clobber.ninja is missing, regenerating...
    terminate called after throwing an instance of 'std::out_of_range'
      what():  basic_string::erase
    make: *** [build/core/ninja.mk:167: /opt/out/14.1/build-cm_d2vzw-clobber.ninja] Aborted (core dumped)

    #### make failed to build some targets (5 seconds) ####

Change-Id: I4bf43868bf7dfe13df57151ae3597246164cbebc
2016-11-07 21:09:41 -06:00
Steve Kondik
7d4f0f2965 cm: We are cm-14.1
Change-Id: Ic8079001ad923c49bd8fe3e88c6a01f9448f1aec
2016-10-25 20:35:15 -07:00
Steve Kondik
df96b447ef cm: Re-add WallpaperPicker
* And a little OCD organization

Change-Id: I139a0a704a06fae581175e6523a34e372e04646b
2016-10-13 13:46:52 -07:00
Zhao Wei Liew
e6ba745017 cm: config: Build telephony-ext for all devices
TeleService (com.android.phone), which is built on all devices,
also has dependencies on telephony-ext. As telephony-ext is
currently absent on non-telephony devices (most tablets),
FCs are rampant on these devices.

Build telephony-ext for all device configurations to fix
the dependencies.

Change-Id: I4094ace3764d9f41ed28fbb62067ad2b2228c3a7
2016-10-13 13:57:44 +08:00
Zhao Wei Liew
805a7a25e5 cm: config: Select the appropriate default alarm tone
In Nougat, CAF removed Helium as it is a duplicate of Hassium.
Switch back to choosing Hassium as the default alarm tone.

This essentially reverts commit 2b999181c8.

Change-Id: I62ff1565c76fddf2f744c26c44f30e940cf25b7b
2016-10-03 15:30:05 +08:00
Prasath Balakrishnan
f29fa7f711 Telephony(MSIM): Add telephony-ext to boot jar path and PRODUCT_PACKAGES
Include the telephony-ext jar library in PRODUCT_PACKAGES
and in boot jar path.
The telephony-ext jar is needed for MSIM manual provisioning
and other telephony related functionalities to work.

Change-Id: I049ec39e88ec734e3770a9439d4c7ba8949b4357
2016-09-25 22:51:27 -07:00
Michael Bestas
3952f6cb0d Import CM build additions
Change-Id: Id1eb902129754e61dfcc2b5d95c3a75172ff0c5e
2016-09-25 22:32:37 -07:00
Arne Coucheron
61536d4497 cm: Minor config reorganization
* Move extra tools to common.mk. These are needed for CMFM, and should
   be included for all.
 * Move PhotoTable, LiveWallpapersPicker, SoundRecorder and Screencast
   to common.mk. These apps are extremely small, and only takes up
   less than 1 MB combined.
 * Remove obsolete live wallpapers.
 * Move sound property overrides to common.mk. There's no need
   to have them spread across several files.
 * Include CM audio files from common.mk

Change-Id: If308506cd9cd0a75014de988c242d700db5d16f3
2016-09-23 09:30:01 -07:00
Steve Kondik
b5ee377780 cm: Enable stagefright-plugins
Change-Id: I9cce46504937783b607781977e5f570ac11f75f7
2016-09-14 16:06:14 -07:00
Steve Kondik
52ffa567f5 cm: New CMSDK API level 7 - Guava
Change-Id: I38bd9b5dea02593801f130a7d790d0dddb1e800e
2016-09-04 04:48:03 -07:00
Steve Kondik
4992d385e7 cm: Update projects and overlays
* Disable non-working stuff (themes)
 * Re-enable now-working stuff

Change-Id: I929fabb2d9068616c48b5f16672cbb66f2600490
2016-09-04 04:46:47 -07:00
Steve Kondik
21e414adad cm: Build CMParts
Change-Id: I9b4c7ccd478751ae05c68c00ff1939b0f722e03b
2016-09-04 02:52:23 -07:00
Steve Kondik
960c4f46f0 cm: Add partner makefile
Change-Id: I81d46bb7f492abd95be65af58514ae395d9c6cfc
2016-09-04 02:52:04 -07:00
Dan Pasanen
a70323c1d0 common.mk: don't forget your quotes
* Not having these causes kati to wig out in unpredictable ways

Change-Id: I9d0932f5e5719204eae75c25acfdf60e9c533d3f
2016-08-30 14:52:35 -05:00
Luca Stefani
2580197b78 config: Don't include cmsdk_common if cm sdk is disabled
Change-Id: Ie5ef054213c5804352ae0e076d515b1de9e11396
2016-08-26 23:51:44 -07:00
Dan Pasanen
69354102bc cm-13.0 -> cm-14.0
Change-Id: I3820cd42208bf92aea4cf945eaade3ae59ed549a
2016-08-24 10:19:50 -05:00
Adrian DC
3e85bf7907
version: Keep the maintenance version defined and use it if needed
* The maintenance version should not be set optionally
    to its official value status, but only be used when needed

 * Use the TARGET_VENDOR_SHOW_MAINTENANCE_VERSION := true
    introduced in I77c924a13122c8e1d9af14501e46bc532f7aefbd
    to show the value of the maintenance version in releases,
    with an intermediary CM_VERSION_MAINTENANCE variable

Change-Id: I22b944a1d2d8586e5f3c75e19ca1c53aa3b22b59
2016-08-16 19:26:11 +02:00
Steve Kondik
7595620750 cm: Add custom off-mode charging screen
* Moving this to open-source from CyanogenOS :)
  * Thanks to Chao Chen, Ethan Chen, Pat Erley, Scott Mertz,
    and Keith Mok for various contributions to this.

Change-Id: If79f9c279668d14ee0cde62889bb09e7185ef08c
2016-08-14 14:10:53 -07:00
Luis Vidal
049d4c52be config: Add WeatherManagerService to PRODUCT_PACKAGES
Change-Id: Ic6d18ebeec31d17104a4093f5da1f956417e345b
2016-08-13 01:34:17 -07:00
Steve Kondik
31125bccef cm: Build HexoLibre as part of common_full
Change-Id: I9af13beb525d118b48b5ca163760e14bd51c3a8a
2016-08-11 16:00:37 -07:00
Scott Mertz
a995059030 Allow maintenance versions to be ignored
CyanogenMod builds shouldn't show maintenance versions.  Allow the
environment to override this behavior instead

Change-Id: I77c924a13122c8e1d9af14501e46bc532f7aefbd
2016-08-05 12:26:54 -07:00
Jessica Wagantall
79204e6a99 version: Set version string to 13.0.1 to reflect security update
CYNGNOS-3177
Update security patch for 2016-08-01

Change-Id: Iaa1d8d9efef067030b0d37803381827d2a4ac0c8
2016-08-03 15:53:29 -07:00
d34d
851457aedb config: Add ThemeManagerService to PRODUCT_PACKAGES
Change-Id: I8f858b3932ffd557cd752918fbb059caf3770a42
2016-08-02 12:15:46 -07:00
Roman Birg
cdb0ea61fa cm: include CMAudioService in builds
Change-Id: I318f6f9aca96edba056c1a5a2dc010279f389e78
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-07-25 09:56:30 -07:00
razorloves
cddc169a16 Revert "cm: add selective based spn (2/2)"
Appears to be unused in CM13.

This reverts commit 2cfe6b260b.

Change-Id: Ia9beee776fd86f516ed9834f92530355a189f326
2016-07-14 09:55:21 -07:00
Abhisek Devkota
f1c5ab81b7 Adapt to 6.0.1_r52 backup whitelist
As of f/b 9b8c6d2df35455ce9e67907edded1e4a2ecb9e28
 we need to whitelist who can be backup services.

Change-Id: I52a004924e6d2651c5ecdec51a8c5a80bdd54a38
2016-07-07 14:52:37 -07:00
d34d
7454cd9981 Bring back the custom wallpaper picker [5/5]
Change-Id: I817be62290ee90c6ddcc662a893c4fd18c2ab9e8
TICKET: OSS-62
2016-06-17 10:18:15 -07:00
Tom Marshall
dd3a17feef config: Make product size available for use by project mkfiles
This allows projects to opt out for space limited devices.

Also create a common_mini.mk and populate it with common stuff from
the common_mini_*.mk files.

Change-Id: I7d7dee73b70f97a778353ca136434a6e36edaf7e
2016-06-10 11:09:52 -07:00
Tom Marshall
bdc5d03c77 cm: Remove GMS guard
This is overridden internally now.

Change-Id: I1387bf125f2652485295f438e7ab269fc6680496
2016-05-25 12:29:28 -07:00
AdrianDC
243d3696e7 cm: Fix the backuptool importation logic
* backuptool.sh and its dependencies are to be used
    on devices without the flags being checked, not with

Change-Id: Ia2e1e32c4878f52a0a781e64583a95b32f8d3611
2016-05-25 02:06:55 -07:00