Commit Graph

10 Commits

Author SHA1 Message Date
Michael W
8505f77f36 sdk: Make phone a new compile target
* Moving SensitivePhoneNumbers to sdk got us significantly bigger
  zip packages due to libphonenumber being part of every package that is
  using org.lineageos.platform or org.lineageos.platform.internal
* In order to correct this, move the "phone" folder to an own library that
  statically links libphonennumber and subsequentially make use of that
  package where needed

Change-Id: I4effd7a9248290aeb23ab47ff8e30385dce4401a
2019-11-23 13:10:42 +00:00
Michael W
bf0d04e4de SensitivePn: Also hide international numbers
* When calling the number with intl. prefix it is currently not hidden
* Remove the international prefix before checking th number

Test:
Before:
116006 - hidden
+49116006 - not hidden
004911606 - not hidden

After:
116006 - hidden
+49116006 - hidden
0049116006 - hidden

Change-Id: I72ec2c9a4da87ef243c59c8c4bab33585fdbd854
2019-11-02 19:04:28 +01:00
LuK1337
85463dfa67 lineage-sdk: Mark org.lineageos.platform as installable
Change-Id: I482db1811f9e7f1fb499d70f3e6fdd6bfc19d7b7
2019-09-09 07:37:10 +02:00
LuK1337
2cb9a5d2d0 lineage-sdk: Link to vendor.lineage.trust-V1.0-java
Change-Id: Ie1a9117b8d46a3e44f05e5be8497860ebb6a2733
2019-09-09 07:36:55 +02:00
Sam Mortimer
e8814c5f0b lineage-sdk: Run bpfix on our Android.bp files
In particular, fixes packages/LineageSettingsProvider/tests/Android.bp
which otherwise results in errors about unknown properties tags
and instrumentation_for.

Change-Id: I1d44fce77765a77ed6f3c23763f439a216eaefda
2019-09-09 07:32:54 +02:00
Sam Mortimer
3533d385d9 lineage-sdk: Migrate to androidx
* Migrate from support library to androidx

* Various improvements and cleanup by @bgcngm

Change-Id: I10bbf5056125e8309f344c3eb18cc628bd7ec34e
2019-09-09 07:09:59 +02:00
Paul Keith
eb05519d5d sdk: Remove lineagehw compat
Change-Id: I329a74b5e489cc39d183697c25bb9771ae5afd82
2019-09-06 00:38:33 +02:00
Paul Keith
b49ed55600 sdk: Add HIDL compat in LineageHardwareManager
* While we're at it, hide the use of getSupportedFeatures(),
  since it only works for lineagehw java features, not hidl
* Cleanup some minor styling/organization issues

Change-Id: I905010bc7c6d7d8578eeca501be23f665127aa27
2019-02-04 14:43:29 +01:00
Sam Mortimer
4545327294 lineage-sdk res: Set no_framework_libs true
*) Don't depend on framework libs when building our org.lineageos.platform-res
   package (as per framework-res bp).

*) It doesn't work out of the box because our resources refer to android: framework-res
   attributes (and compile fails).

*) We can fix this in soong by making org.lineageos.platform-res depend on
   framework-res (see topic:pie-sdk-no-framework-libs).  This allows us to
   build with no_framework_libs true.

Change-Id: I426d44ef2521971adfc6b8ad33a7cc042b04e0e6
2018-09-05 17:53:43 +02:00
Rashed Abdel-Tawab
703249ae8d lineage-sdk: Android.mk -> Android.bp
Change-Id: Iac2bd318e7ceb6b96e30d26832d98b7b2726cd5b
2018-08-30 02:31:18 +02:00