Commit graph

14284 commits

Author SHA1 Message Date
Yohei Yukawa
c884b6631f Let Android Studio use 'shared' cert to build APK
make build uses 'shared' cert in build/make/target/product/security/.
If LatinIME APK built with AndroidStudio doesn't use the same signing
cert, then you cannot install the APK into AOSP image, which is not
convenient.

With this CL, AndroidStudio build also uses the same signing cert.

Note that shared.keystore was built as follows.

 $ openssl pkcs8 -inform DER -nocrypt                      \
   -in build/make/target/product/security/shared.pk8       \
   -out shared.pem
 $ openssl pkcs12 -export                                  \
   -in build/make/target/product/security/shared.x509.pem  \
   -inkey shared.pem -out shared.p12                       \
   -password pass:android -name AndroidDebugKey
 $ keytool -importkeystore -deststorepass android          \
   -destkeystore shared.keystore -srckeystore shared.p12   \
   -srcstoretype PKCS12 -srcstorepass android

Fix: 110741422
Test: made sure that the APK built with Android Studio can be
      installed to an AOSP build
Change-Id: I471a87e190b15ff02bb06849e4660ed7898897a5
2018-07-25 18:08:35 -07:00
Yohei Yukawa
41f89ae88c Specify version code in AndroidManifest.xml
This should be the most convenient way for both make build and Android
Studio build to share the same version code.

Bug: 110741422
Test: tapas LatinIME LatinIMETests arm64 userdebug && make -j
Change-Id: I35f850c392553b2640a4c3c7398441ac28e90eca
2018-07-25 17:08:47 -07:00
Yohei Yukawa
9cd42f39eb Move <uses-sdk /> to a differnt XML
Basically Android Studio does want targetSdkVersion to be specified in
build.gradle rather than AndroidManifest.xml.  To make both make build
and Android Studio build happy, this CL splits <uses-sdk /> from the
main AndroidManifest.xml to a different file and let them merged in
make build.

There should be no behavior change.

Bug: 110741422
Test: Manually verified that there is no difference in
      AndroidManifest.xml in the APK.
Change-Id: Ib673bca5a31b2f95329c9310a127ec0701bd8fdc
2018-07-25 14:21:09 -07:00
Bill Yi
501ff64cfd Import translations. DO NOT MERGE
Change-Id: I55e880457966992e25acd30cc65390e80fa4a515
Auto-generated-cl: translation import
2018-07-21 20:50:09 -07:00
Yohei Yukawa
2802250415 Remove unused class PersonalDictionaryLookup
PersonalDictionaryLookup has never been used.  Usually proguard can
remove this class but it also makes it difficult to run unit tests.

We should just remove this unused class.

Bug: 111164993
Test: compile
Test: No new test failure
Change-Id: I732db94cb3aac4ed9c6b5954679b896334a12a9c
2018-07-04 23:13:18 -07:00
TreeHugger Robot
416889655a Merge "Import translations. DO NOT MERGE" 2018-06-27 17:38:20 +00:00
TreeHugger Robot
b5e50dd6b5 Merge "Import translations. DO NOT MERGE" 2018-06-27 17:30:51 +00:00
Bill Yi
615a9ff532 Import translations. DO NOT MERGE
Change-Id: Ib1fbe9d70fcb60c19b0323490a6b8cb147e83bed
Auto-generated-cl: translation import
2018-06-27 08:51:02 -07:00
Bill Yi
eb5173e7b3 Import translations. DO NOT MERGE
Change-Id: I3494a9c6608aafc5406ca9a6f341983fe82feccc
Auto-generated-cl: translation import
2018-06-27 08:50:14 -07:00
Bill Yi
e58de4a04e Import translations. DO NOT MERGE
Change-Id: Ia3fb708923998222608c8c4de5617ee4ad6e936d
Auto-generated-cl: translation import
2018-06-27 08:48:22 -07:00
TreeHugger Robot
f1185e3120 Merge "Merge inputmethodcommon into LatinIME repo" 2018-06-25 16:24:57 +00:00
Yohei Yukawa
5b65f03cff Remove an unused layout file
This layout file was copied from Settings app but in LatinIME it has
never been used.  Also, android:onClick attributes in that layout file
are pointing to non-existing method in LatinIME, which causes lint
warnings.

Since tihs files has never been used in LatinIME, there should be no
user-visible behavior change.

Bug: 110757803
Test: tapas LatinIME && make -j
Change-Id: Ib51744979df333ac432aefc54ef7d0f413cf6161
2018-06-24 16:50:43 -07:00
Yohei Yukawa
733a0ea406 Merge inputmethodcommon into LatinIME repo
This is a preparation to deprecate frameworks/opt/inputmethodcommon
repository.

Currently repository 'inputmethodcommon' is used only from LatinIME.
Having such a repository only for one project is overkill.  Also, to
add gradle build support to LatinIME project, it would be much easier
LatinIME didn't have such a dependency.

This CL mechanically copies files in 'inputmethodcommon' repository to
'LatinIME' repository.  In theory there should be no behavior change.

Bug: 110741521
Test: tapas LatinIME && make -j
Change-Id: I3fabb038be9a944dcd9ef79ffcc89800a5f0bf5a
2018-06-24 15:52:36 -07:00
TreeHugger Robot
4569741c3f Merge "Import translations. DO NOT MERGE" 2018-06-20 22:08:13 +00:00
TreeHugger Robot
92734fcbae Merge "Import translations. DO NOT MERGE" 2018-06-20 22:04:12 +00:00
Bill Yi
dd57cac3e8 Import translations. DO NOT MERGE
Change-Id: I161eb84ec4a68d0983aeaffad5ac4b4f68e64afc
Auto-generated-cl: translation import
2018-06-20 11:32:37 -07:00
Bill Yi
342c8a31c0 Import translations. DO NOT MERGE
Change-Id: I5e073ffc26f474f27faafc7f0e1c28858a0f2d1a
Auto-generated-cl: translation import
2018-06-20 11:31:47 -07:00
Bill Yi
d995f95355 Import translations. DO NOT MERGE
Change-Id: I268ff60118e223b9645b93e6af9ec75efb2d8003
Auto-generated-cl: translation import
2018-06-20 11:29:50 -07:00
TreeHugger Robot
92db44e865 Merge "Import translations. DO NOT MERGE" 2018-05-26 02:39:44 +00:00
Bill Yi
e5218a757b Import translations. DO NOT MERGE
Change-Id: Ia196c88f1238f9b8332beaff05066fb585dc899f
Auto-generated-cl: translation import
2018-05-24 17:08:22 -07:00
Bill Yi
e3406ff0c1 Import translations. DO NOT MERGE
Change-Id: If609cecd258ccedd9073d17d342e2847e2f19909
Auto-generated-cl: translation import
2018-05-24 16:59:38 -07:00
TreeHugger Robot
6ba0e76bfc Merge "Import translations. DO NOT MERGE" 2018-05-17 18:06:33 +00:00
Bill Yi
ce747fd519 Import translations. DO NOT MERGE
Change-Id: I317ac1356bffec441fa84739514f537b28482715
Auto-generated-cl: translation import
2018-05-17 01:33:24 -07:00
Bill Yi
4fb9889adf Import translations. DO NOT MERGE
Change-Id: I5e52c7257c1c5e831305bf346f75a21cca1dc6c7
Auto-generated-cl: translation import
2018-05-17 01:32:05 -07:00
vineel sadineni
d256927b93 Migrated various apps under packages/inputmethods/LatinIME/ to androidx
Bug: 76692459
Test: mmma packages/inputmethods/LatinIME/
Change-Id: Ib76af6f6db1a0dd5cf64a06a4ea56151712e9692
2018-05-15 14:55:43 -07:00
Yohei Yukawa
7a2459ca13 Merge java-overridable/ into java/ again
This CL a logical revert of a previous CL [1], which separated Java
files into common ones and overridable ones.  Now that that overriding
concept is no longer used, there is no need to keep having separate
directory structure.

 [1]: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
      fb74ab15c1

Fix: 79323502
Test: make -j aosp_taimen-userdebug && make -j
Test: tapas LatinIME && make -j
Change-Id: I2090bc25d18e6d4f24e91c2cbfe832755cbb4e8f
2018-05-06 20:46:17 -07:00
android-build-team Robot
b280820dc4 Merge "Import translations. DO NOT MERGE" 2018-05-02 14:24:22 +00:00
android-build-team Robot
b144f0f54a Merge "Import translations. DO NOT MERGE" 2018-05-02 14:14:21 +00:00
android-build-team Robot
d6b7fb7cbe Merge "Import translations. DO NOT MERGE" 2018-05-02 14:14:02 +00:00
android-build-team Robot
98264d92c2 Merge "Import translations. DO NOT MERGE" 2018-05-02 14:13:29 +00:00
Bill Yi
b3a487c620 Import translations. DO NOT MERGE
Change-Id: I9e53e7535fda1d3968ee37663fcc10a0db31eeb3
Auto-generated-cl: translation import
2018-05-02 00:07:14 -07:00
Bill Yi
08853eb06e Import translations. DO NOT MERGE
Change-Id: I53811c706460dfff30ac1b6539fc767c464de499
Auto-generated-cl: translation import
2018-05-02 00:06:29 -07:00
Bill Yi
14d86e0cac Import translations. DO NOT MERGE
Change-Id: I0b47773d779b0bdf951c89b4f6722905be1b81b0
Auto-generated-cl: translation import
2018-05-02 00:04:36 -07:00
Bill Yi
fb5cf9e12e Import translations. DO NOT MERGE
Change-Id: I378efa60a01071f41b3bcdc88861051853867528
Auto-generated-cl: translation import
2018-05-02 00:03:29 -07:00
Bill Yi
b51944dbaf Import translations. DO NOT MERGE
Change-Id: I0446336688bb75efb9d0f8a41c035a60344a3762
Auto-generated-cl: translation import
2018-05-02 00:02:19 -07:00
TreeHugger Robot
9cb0fc6582 Merge "Import translations. DO NOT MERGE" 2018-04-21 17:08:25 +00:00
TreeHugger Robot
f3e6e2deb8 Merge "Import translations. DO NOT MERGE" 2018-04-21 17:06:22 +00:00
TreeHugger Robot
e91c739765 Merge "Import translations. DO NOT MERGE" 2018-04-21 17:04:33 +00:00
Bill Yi
7ec343ba9a Import translations. DO NOT MERGE
Change-Id: If993ed37322c2c3301a0e89295872afa4a0f7992
Auto-generated-cl: translation import
2018-04-21 06:50:09 -07:00
Bill Yi
a918b1df6a Import translations. DO NOT MERGE
Change-Id: I5a2cfb0ec96d21a24892d0d023d10c7dad4c3af1
Auto-generated-cl: translation import
2018-04-21 06:49:52 -07:00
Bill Yi
7f3fbc5e37 Import translations. DO NOT MERGE
Change-Id: I8eaa684412c0b0ce80d6746f3a275c61ce5fa820
Auto-generated-cl: translation import
2018-04-21 06:49:14 -07:00
Bill Yi
57314e45d6 Import translations. DO NOT MERGE
Change-Id: I3df9864cae24cf551c0f9394fd62491655fe648b
Auto-generated-cl: translation import
2018-04-21 06:48:46 -07:00
TreeHugger Robot
0fb751de7b Merge "Import translations. DO NOT MERGE" 2018-04-14 15:26:21 +00:00
TreeHugger Robot
a56f89f4f1 Merge "Import translations. DO NOT MERGE" 2018-04-14 15:24:40 +00:00
Bill Yi
9cd11a83df Import translations. DO NOT MERGE
Change-Id: I6137657e2be2a5b55cb90d4f051715f17eb604e3
Auto-generated-cl: translation import
2018-04-14 04:44:06 -07:00
Bill Yi
d45c50674e Import translations. DO NOT MERGE
Change-Id: I1f85f835cd9ef6a116e44a2821f9f6e5f9f3dabe
Auto-generated-cl: translation import
2018-04-14 04:42:17 -07:00
Bill Yi
95ca14565c Import translations. DO NOT MERGE
Change-Id: Idad2d42b1bedbfe6fa522ff2a885fb5d2d98915a
Auto-generated-cl: translation import
2018-04-14 04:36:38 -07:00
TreeHugger Robot
29ec5a0368 Merge "Import translations. DO NOT MERGE" 2018-04-11 23:36:36 +00:00
TreeHugger Robot
3b24f730b7 Merge "Import translations. DO NOT MERGE" 2018-04-11 23:20:42 +00:00
Bill Yi
e1b32f9fc8 Import translations. DO NOT MERGE
Change-Id: I36f2f6dc4bb1f2792e9302a2892a44c2f8ec776f
Auto-generated-cl: translation import
2018-04-11 10:58:15 -07:00
Bill Yi
acddce3368 Import translations. DO NOT MERGE
Change-Id: I5fee973bbec1c45e90f9d9a0bc83ab67aa6606ca
Auto-generated-cl: translation import
2018-04-11 10:58:02 -07:00
Bill Yi
bdf967df86 Import translations. DO NOT MERGE
Change-Id: I654a25fe5562eca1086a5707bfd28d0c5d6ed7d5
Auto-generated-cl: translation import
2018-04-11 10:57:31 -07:00
Bill Yi
6ad8431592 Import translations. DO NOT MERGE
Change-Id: I67312aec8a571d0a3397caa4624dabe644629430
Auto-generated-cl: translation import
2018-04-04 20:15:25 -07:00
TreeHugger Robot
e02661104a Merge "Import translations. DO NOT MERGE" 2018-03-29 21:29:34 +00:00
Bill Yi
c8ddf9c836 Import translations. DO NOT MERGE
Change-Id: I2d155bdb804a1142fbb882751dea5bb66f428f57
Auto-generated-cl: translation import
2018-03-29 13:09:15 -07:00
Bill Yi
e1a85589b0 Import translations. DO NOT MERGE
Change-Id: Ibabb404dec76f16cfb769096bf47363d2b0b29b0
Auto-generated-cl: translation import
2018-03-29 13:06:08 -07:00
Bill Yi
dffcb3b27e Import translations. DO NOT MERGE
Change-Id: Ice8286a5c35c59ca4e1a771585e5dbd6058051a6
Auto-generated-cl: translation import
2018-03-23 18:12:02 -07:00
TreeHugger Robot
bf0dbd4cc2 Merge "Import translations. DO NOT MERGE" 2018-03-16 22:14:26 +00:00
TreeHugger Robot
17f6106f29 Merge "Import translations. DO NOT MERGE" 2018-03-16 22:14:23 +00:00
TreeHugger Robot
0b4488568f Merge "Import translations. DO NOT MERGE" 2018-03-16 22:05:17 +00:00
TreeHugger Robot
3882af2ef8 Merge "Import translations. DO NOT MERGE" 2018-03-16 22:01:48 +00:00
Bill Yi
ce963f1175 Import translations. DO NOT MERGE
Change-Id: Ibfd28d093f8e1009db963d5046ca37a595f7c571
Auto-generated-cl: translation import
2018-03-16 10:53:11 -07:00
Bill Yi
e79a912ed4 Import translations. DO NOT MERGE
Change-Id: I594310c4cfb895f1cb76bb742a36801db40194b3
Auto-generated-cl: translation import
2018-03-16 10:52:16 -07:00
Bill Yi
d7437d225f Import translations. DO NOT MERGE
Change-Id: Ic3ebf1761f2d6a4fcf1a28b4b285946e275fa849
Auto-generated-cl: translation import
2018-03-16 10:52:09 -07:00
Bill Yi
c44c3e800b Import translations. DO NOT MERGE
Change-Id: I65f68a96e3a73c635ec0cc10bac66253a3c35178
Auto-generated-cl: translation import
2018-03-16 10:52:03 -07:00
Bill Yi
5686c6a181 Import translations. DO NOT MERGE
Change-Id: Ib74b519b36e8eb17c3868dc39b2f642ca8fcf86a
Auto-generated-cl: translation import
2018-03-16 10:51:50 -07:00
TreeHugger Robot
21e93b6e39 Merge "Import translations. DO NOT MERGE" 2018-03-14 20:15:19 +00:00
TreeHugger Robot
ed57a8be5f Merge "Import translations. DO NOT MERGE" 2018-03-14 20:08:21 +00:00
TreeHugger Robot
31bfb7dd7f Merge "Import translations. DO NOT MERGE" 2018-03-14 18:50:17 +00:00
TreeHugger Robot
9a20a4b79a Merge "Import translations. DO NOT MERGE" 2018-03-14 18:47:59 +00:00
TreeHugger Robot
2ddd57b5cd Merge "Import translations. DO NOT MERGE" 2018-03-14 18:47:56 +00:00
Bill Yi
3f5c1e8841 Import translations. DO NOT MERGE
Change-Id: Id8d06fcf501563341c58392123efb409f3b65e6c
Auto-generated-cl: translation import
2018-03-13 22:37:22 -07:00
Bill Yi
45b8849783 Import translations. DO NOT MERGE
Change-Id: I42c23f81d2bb8a35548b853295874f34e6594036
Auto-generated-cl: translation import
2018-03-13 22:21:19 -07:00
Bill Yi
192da49f7b Import translations. DO NOT MERGE
Change-Id: I3e9a439a21d1d619e0846ad9cbac52786556e17d
Auto-generated-cl: translation import
2018-03-13 22:15:55 -07:00
Bill Yi
be9680bccd Import translations. DO NOT MERGE
Change-Id: Ic3ad12712b0dafc411511ef7ce4bb72b40f793b0
Auto-generated-cl: translation import
2018-03-13 22:14:00 -07:00
Bill Yi
9d756d1b98 Import translations. DO NOT MERGE
Change-Id: I39605a8dc3460e24db136c6d8ca95e15986b108b
Auto-generated-cl: translation import
2018-03-13 22:11:43 -07:00
Bill Yi
54ad6b44a1 Import translations. DO NOT MERGE
Change-Id: I03ade8521be1fc2db53bbed861f05bc6649eb41d
Auto-generated-cl: translation import
2018-03-13 22:10:01 -07:00
Bill Yi
62e20f22dd Import translations. DO NOT MERGE
Change-Id: I3304735d994dc3ba1e504f969ab7fecdc077383a
Auto-generated-cl: translation import
2018-03-09 04:15:21 -08:00
TreeHugger Robot
906e940da8 Merge "Import translations. DO NOT MERGE" 2018-03-02 22:55:47 +00:00
Bill Yi
e144779f20 Import translations. DO NOT MERGE
Change-Id: I07ca65fd9e1e85ecd204a0104e96162157f4cb15
Auto-generated-cl: translation import
2018-03-01 17:56:37 -08:00
Bill Yi
2d1fad36bb Import translations. DO NOT MERGE
Change-Id: I1858b637000d24f8e388532e9cde24b92ef04dbf
Auto-generated-cl: translation import
2018-03-01 17:35:58 -08:00
TreeHugger Robot
05b1898de5 Merge "Import translations. DO NOT MERGE" 2018-02-22 17:43:36 +00:00
Bill Yi
9efa4d6a6f Import translations. DO NOT MERGE
Change-Id: I0b9d7bfcf13bb94a5f2c8e0fa91a3353601d7a3c
Auto-generated-cl: translation import
2018-02-22 07:48:10 -08:00
Bill Yi
103a4ee249 Import translations. DO NOT MERGE
Change-Id: I39f0ed6f033cfda9f6c4b6b645cf8961ebd249a2
Auto-generated-cl: translation import
2018-02-22 07:33:36 -08:00
Bill Yi
447768c700 Import translations. DO NOT MERGE
Change-Id: Ia602bd23a45aa8c167496a4ea43b16a89dfb06e8
Auto-generated-cl: translation import
2018-02-12 12:08:26 -08:00
TreeHugger Robot
2c8be260f0 Merge "Import translations. DO NOT MERGE" 2018-02-05 05:08:23 +00:00
TreeHugger Robot
7c5045a41e Merge "Import translations. DO NOT MERGE" 2018-02-04 05:07:07 +00:00
Bill Yi
545ba884e8 Import translations. DO NOT MERGE
Change-Id: I5b377cabe9611889f3d71275d158c9206eee8924
Auto-generated-cl: translation import
2018-02-03 08:24:04 -08:00
Bill Yi
568630ce85 Import translations. DO NOT MERGE
Change-Id: Ie5eaa55a4825ee888251b678c419367ca5110bb8
Auto-generated-cl: translation import
2018-02-03 08:23:54 -08:00
Bill Yi
a1f7e9fcb1 Import translations. DO NOT MERGE
Change-Id: I413a68edeae0b928a25699e8d8fd09faa6f879b1
Auto-generated-cl: translation import
2018-02-03 08:23:43 -08:00
TreeHugger Robot
655bb6e4c4 Merge "Import translations. DO NOT MERGE" 2018-01-19 02:18:19 +00:00
Bill Yi
5f140c1ac4 Import translations. DO NOT MERGE
Change-Id: Icb5a5bc1372c3981edee4e1330d0e45d0a8d11fb
Auto-generated-cl: translation import
2018-01-18 13:54:29 -08:00
Bill Yi
6a135372ec Import translations. DO NOT MERGE
Change-Id: If570e0e26491142b2b7d51b36765415688cb62c9
Auto-generated-cl: translation import
2018-01-18 13:53:50 -08:00
TreeHugger Robot
f1829b350a Merge "Import translations. DO NOT MERGE" 2018-01-18 10:57:35 +00:00
Bill Yi
818f4cce29 Import translations. DO NOT MERGE
Change-Id: Iea5bb3e0da88af2e241348ec41fb29fb180c2e5d
Auto-generated-cl: translation import
2018-01-17 14:08:10 -08:00
Bill Yi
588304b4bc Import translations. DO NOT MERGE
Change-Id: I0c204214cd2fb1dac05cb42a52dacfd7ad2ad3f5
Auto-generated-cl: translation import
2018-01-17 14:07:41 -08:00
TreeHugger Robot
138981df0c Merge "Import translations. DO NOT MERGE" 2018-01-10 20:47:22 +00:00
TreeHugger Robot
65a69367ba Merge "Import translations. DO NOT MERGE" 2018-01-10 20:47:13 +00:00
Bill Yi
dd9ac2a244 Import translations. DO NOT MERGE
Change-Id: I56ab517049d2a97ff05bb40466438a41888a9cc4
Auto-generated-cl: translation import
2018-01-10 09:04:45 -08:00
Bill Yi
31100faf04 Import translations. DO NOT MERGE
Change-Id: I5cc214bd3fa9a63a2e56aa3157b4b3db50e68049
Auto-generated-cl: translation import
2018-01-10 09:04:29 -08:00