14550 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
TreeHugger Robot
992d47a237 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-07-20 18:36:38 +00:00
TreeHugger Robot
a824eac6e2 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-07-20 18:14:33 +00:00
Bill Yi
1754bcd410 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I0a07d63a0916cf33bbebcf68bd58bef0dfb91826
2018-07-19 21:21:33 -07:00
Bill Yi
315da31882 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ifffe3a45508e97013f768a0f7949cb2f8571acee
2018-07-19 21:20:48 -07:00
Bill Yi
b1d8302e3f Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icc6eca523dd0cad7c8087aa0ede4edbd7ac9d748
2018-07-19 21:18:51 -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
900a59f177 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-22 00:01:23 +00:00
TreeHugger Robot
79f43db513 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-21 22:59:59 +00:00
Bill Yi
3fc7472bcf Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ifdefd11713addfc8ffedee5f65b9c842cbe3a435
2018-06-21 12:18:33 -07:00
Bill Yi
e0a1f83d8b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3a99b392b7d303bac6c0e702029642b75419a6cb
2018-06-21 12:17:47 -07:00
Bill Yi
d25ca81e5d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8984bc6cf378f0efcbcb0e7a1d601614045c6d10
2018-06-21 12:15: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
Bill Yi
5223e55714 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Idfabfb70bd18c49a7c22d374d3679682228e9a6f
2018-06-03 12:00:24 -07:00
TreeHugger Robot
92db44e865 Merge "Import translations. DO NOT MERGE" 2018-05-26 02:39:44 +00:00
Bill Yi
6f52cfc821 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie39b03988909ff74c926f29324818007de3c624b
2018-05-24 17:09:14 -07: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
Bill Yi
1896f3436b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie24f420e99418085e9c202fdea3dac9773fb30a5
2018-05-22 16:31:38 -07:00
TreeHugger Robot
2435eb87ba Merge "Import translations. DO NOT MERGE" into pi-dev 2018-05-20 13:49:14 +00:00
Bill Yi
cf0305126e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7a1a6a0b898a05da415b67c0e963bb32122c850f
2018-05-20 04:06:48 -07:00
Bill Yi
9c9b94dbff Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I0e9cf9c7d530ee93b2ffdeb219971660e87bfe18
2018-05-20 04:05:45 -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
android-build-team Robot
2d86f24cb0 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-05-07 05:47:51 +00: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
      fb74ab15c1343084740d65ef8744cad33a678e82

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
Bill Yi
0a84cab445 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Idcaaccff8ab717edfc84ed27e30b9b0a3288ba10
2018-05-03 19:17:59 -07:00
Bill Yi
7a51bb5a4f Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8dd583f9628d0e0caa5a45cc646688f1fbc2ea08
2018-05-03 19:17:10 -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