Commit graph

38160 commits

Author SHA1 Message Date
Mohammadinamul Sheik
db0081f63c am 60415866: [LatinIME] Support MNC permissions.
* commit '604158669b407a40cd0f23538fad4dce5d738f24':
  [LatinIME] Support MNC permissions.
2015-07-16 00:03:56 +00:00
Mohammadinamul Sheik
604158669b [LatinIME] Support MNC permissions.
This build has been compiled against API 23

This build is approved to go out with the M OTA, but may NOT be released
to the public until the Play Store has enabled API level 23 apps

Version: 4.1.2300x.build_id

1. Replaces the personalization is on information with the suggest
   contacts.
2. Enables "Use Contacts" only if the app has permission to read
   contacts.
3. Disables the contacts dictionary in the Facilitator.
4. Do not register/read the contacts in the contact observer.

Bug: 22236416
Change-Id: I9674e13d0d0f4a2014c5024fde0178de684c07e7
2015-07-15 22:51:53 +00:00
Geoff Mendal
96d0e0194d am 7d5fb3a9: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dev
* commit '7d5fb3a9430550a3ccf1ed5afd70dbf8cc81574a':
  Import translations. DO NOT MERGE
2015-07-15 16:53:31 +00:00
Geoff Mendal
6b6db80ca0 am 6aea6b9d: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dev
* commit '6aea6b9da7b779ff5f08da631f30bc5f177a3423':
  Import translations. DO NOT MERGE
2015-07-15 16:53:29 +00:00
Geoff Mendal
e42bad45aa am 1aceaa3c: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dev
* commit '1aceaa3c2b19e352cf9f16c73fd03dab881a4434':
  Import translations. DO NOT MERGE
2015-07-15 16:53:28 +00:00
Geoff Mendal
0283bd9102 am c8e261e9: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dev
* commit 'c8e261e95bd78ab2a3926d030c0525eba0fd8ca7':
  Import translations. DO NOT MERGE
2015-07-15 16:53:27 +00:00
Geoff Mendal
9519914150 am cf849b40: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dev
* commit 'cf849b40df13546046d3d7c89dc63c3e8b354976':
  Import translations. DO NOT MERGE
2015-07-15 16:53:25 +00:00
Geoff Mendal
dbba221709 am 29217bcd: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dev
* commit '29217bcd651d1ab968d01744533aec009fe252da':
  Import translations. DO NOT MERGE
2015-07-15 16:53:24 +00:00
Geoff Mendal
3a7194e98e am 285c9d82: (-s ours) Import translations. DO NOT MERGE
* commit '285c9d825d53a76548079ad527c4c79fda69ada1':
  Import translations. DO NOT MERGE
2015-07-15 16:53:22 +00:00
Geoff Mendal
7d5fb3a943 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:48:45 +00:00
Geoff Mendal
6aea6b9da7 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:47:56 +00:00
Geoff Mendal
1aceaa3c2b Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:47:44 +00:00
Geoff Mendal
c8e261e95b Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:46:10 +00:00
Geoff Mendal
cf849b40df Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:44:45 +00:00
Geoff Mendal
29217bcd65 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:41:49 +00:00
Geoff Mendal
f98a60cc43 Import translations. DO NOT MERGE
Change-Id: Iebd6e5f51a121cae7913e6ac21c4140b9c4de6f9
Auto-generated-cl: translation import
2015-07-15 09:41:01 -07:00
Geoff Mendal
90a6cdb26a Import translations. DO NOT MERGE
Change-Id: I922b3fb60a57db87c8bf1da3d3cd7fa976d9f5f9
Auto-generated-cl: translation import
2015-07-15 09:37:13 -07:00
Geoff Mendal
8b8df7dcf1 Import translations. DO NOT MERGE
Change-Id: I1ce33d32d058d27eae565c1e982b491372878d25
Auto-generated-cl: translation import
2015-07-15 09:34:54 -07:00
Geoff Mendal
41bffb1293 Import translations. DO NOT MERGE
Change-Id: Id1d45fb3ba0b84c8574bd8e326c62f2417660ce3
Auto-generated-cl: translation import
2015-07-15 09:33:27 -07:00
Geoff Mendal
e3e9026a3a Import translations. DO NOT MERGE
Change-Id: Id4a9a90498ece00ba399074bef4010ecd315aeb7
Auto-generated-cl: translation import
2015-07-15 09:31:30 -07:00
Geoff Mendal
a00589437e Import translations. DO NOT MERGE
Change-Id: I41b452436ee558b42b104387eb3431d8164ab766
Auto-generated-cl: translation import
2015-07-15 09:30:20 -07:00
Geoff Mendal
285c9d825d Import translations. DO NOT MERGE
Change-Id: I7b33db63242fec09f647c250e66f9eef75c7b6fa
Auto-generated-cl: translation import
2015-07-15 09:28:54 -07:00
Jatin Matani
5abefbb8d6 resolved conflicts for merge of 9cd60fe1 to mnc-dev-plus-aosp
Change-Id: I1aad861d711170ab3dab0019d8e4ff02f058c423
2015-07-11 01:08:28 -07:00
The Android Automerger
1791ce0752 am 01f042cc: merge in ub-latinimegoogle-fava-release history after reset to jb-ub-latinimegoogle
* commit '01f042ccfa4530e7be2c01dbda5ed4a296ba535e':
2015-07-11 07:05:56 +00:00
Jatin Matani
c96aef2283 resolved conflicts for merge of d711426a to mnc-dev-plus-aosp
Change-Id: I3d92549eb41e4f28d141bb1c218e56a8075edb1f
2015-07-11 00:01:30 -07:00
Jatin Matani
5fd77e2ce9 am 8c2591ee: Bring back shortcuts and add to dictionary UI
* commit '8c2591eec80dbe44158b1613cd96056057a41139':
  Bring back shortcuts and add to dictionary UI
2015-07-11 02:28:11 +00:00
Jatin Matani
9cd60fe1bb keep history after reset to ub-latinimegoogle-fava-release
This build IS suitable for public release
2015-07-10 19:45:20 +00:00
The Android Automerger
01f042ccfa merge in ub-latinimegoogle-fava-release history after reset to jb-ub-latinimegoogle 2015-07-09 21:06:58 +00:00
Jatin Matani
d711426a87 Remove android.util.Log from FileUtils
FileUtils is being used for other non android projects
and hence breaks when built. Instead use the log statements
at caller to record Log.e messages. Hence there is no side
effect here.

Bug:22042371
Change-Id: Ieb100006ff38e013bc30542637465f58bfc0f2f2
2015-07-09 11:50:10 -07:00
The Android Automerger
a48d1b0e35 merge in ub-latinimegoogle-fava-release history after reset to jb-ub-latinimegoogle 2015-07-07 19:00:33 +00:00
Jatin Matani
8c2591eec8 Bring back shortcuts and add to dictionary UI
For JB and lower devices, the UI is surfaced by the IME.
Bug: 22200135
Change-Id: Icca08500ee0683e2ceb5357b0bc430cd1712220e
2015-07-06 17:32:13 -07:00
Baligh Uddin
8ed9bccaf2 am 91886a31: am baec6ce1: Revert reset to ub-latinimegoogle-fava-release
* commit '91886a31fbafea33a4e94722a0f271639de4eb4b': (252 commits)
  Don't prompt before downloading.
  Add some more logging. Why not.
  Load metadata.json from resources on DB reset.
  Small optimization to eliminate a >0 check in RichInputConnection.
  Extend laggy connection timeout for initial load.
  Fix breakage in tests.
  LatinIME portion of StatsUtil change.
  Workaround for preserving responsiveness on a slow InputConnection.
  Do not decorate committed spans.
  Do not force downloads on package replace.
  Fix the previous downloads logic to not missing any downloads.
  Detection and logging of slow input connections.
  Clear/remove all the scheduled downloads in Download Manager
  Disable download notifications.
  Cleanup before fixing getTextAfterCursor().
  Do not restrict downloads to WiFi networks.
  Import translations. DO NOT MERGE
  Revert "Remove "Personal dictionary" link from settings."
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  ...
2015-07-02 00:35:57 +00:00
Baligh Uddin
91886a31fb am baec6ce1: Revert reset to ub-latinimegoogle-fava-release
* commit 'baec6ce1abec381f5e2e69c032ca0cd460592266': (252 commits)
  Don't prompt before downloading.
  Add some more logging. Why not.
  Load metadata.json from resources on DB reset.
  Small optimization to eliminate a >0 check in RichInputConnection.
  Extend laggy connection timeout for initial load.
  Fix breakage in tests.
  LatinIME portion of StatsUtil change.
  Workaround for preserving responsiveness on a slow InputConnection.
  Do not decorate committed spans.
  Do not force downloads on package replace.
  Fix the previous downloads logic to not missing any downloads.
  Detection and logging of slow input connections.
  Clear/remove all the scheduled downloads in Download Manager
  Disable download notifications.
  Cleanup before fixing getTextAfterCursor().
  Do not restrict downloads to WiFi networks.
  Import translations. DO NOT MERGE
  Revert "Remove "Personal dictionary" link from settings."
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  ...
2015-07-01 16:55:31 +00:00
Baligh Uddin
baec6ce1ab Revert reset to ub-latinimegoogle-fava-release 2015-07-01 05:39:20 -07:00
Baligh Uddin
395f0b6059 keep history after reset to ub-latinimegoogle-fava-release 2015-07-01 05:18:11 -07:00
The Android Automerger
fa7ab84993 merge in ub-latinimegoogle-fava-release history after reset to jb-ub-latinimegoogle 2015-06-25 23:06:38 +00:00
Dan Zivkovic
d23dd5978d Don't prompt before downloading.
We don't pay attention to the answer, so don't ask.

Bug 22069694.

Change-Id: Ic048d5570e68fbc9438c6577e27e6c7f68428606
2015-06-25 15:01:04 -07:00
The Android Automerger
70c8e1371d merge in ub-latinimegoogle-fava-release history after reset to jb-ub-latinimegoogle 2015-06-25 02:32:34 +00:00
The Android Automerger
20f27138c3 merge in ub-latinimegoogle-fava-release history after reset to jb-ub-latinimegoogle 2015-06-25 02:04:40 +00:00
Dan Zivkovic
5e4c0caac3 Add some more logging. Why not.
Change-Id: I536212e1b3c35d75ed93f9ab3762908e3deb9a97
2015-06-24 18:56:48 -07:00
Dan Zivkovic
3aad142435 Load metadata.json from resources on DB reset.
This will ensure that a new (or upgraded) keyboard instance will know which
dictionaries are available for download so it requests missing dictionaries.
In addition, we increment the database version number to ensure upgrades of
existing Fava instances start with a clean slate.

Bug 22069694.

Change-Id: Id71310412682543a3931f9c5c03cb0369fa7b9ac
2015-06-24 18:40:34 -07:00
Tom Ouyang
c32389ce11 Merge "Small optimization to eliminate a >0 check in RichInputConnection." into jb-ub-latinimegoogle 2015-06-24 19:44:37 +00:00
The Android Automerger
95b89ba356 merge in ub-latinimegoogle-fava-release history after reset to jb-ub-latinimegoogle 2015-06-24 19:32:38 +00:00
Tom Ouyang
96640a110b Small optimization to eliminate a >0 check in RichInputConnection.
Change-Id: Ibdf97726008c1f94c970461196ba445ce328a8cb
2015-06-24 12:00:04 -07:00
Dan Zivkovic
563d7935a9 Extend laggy connection timeout for initial load.
The initial reloadTextCache() operation needs to read 1k characters, and it
could be slow on low-end devices. Also, the initial load is not blocking key
strokes, so it can take a little longer.

Bug 22062102.

Change-Id: I134424e8910c0d6131c311a862bdc87eccd3af44
2015-06-24 11:57:59 -07:00
The Android Automerger
df4316fa3e merge in ub-latinimegoogle-fava-release history after reset to jb-ub-latinimegoogle 2015-06-24 18:52:41 +00:00
Dan Zivkovic
ecea6a6113 Merge changes Iaed8abfb,I8e55b57c into jb-ub-latinimegoogle
* changes:
  LatinIME portion of StatsUtil change.
  Do not decorate committed spans.
2015-06-23 20:55:23 +00:00
Tom Ouyang
f470729df2 Fix breakage in tests.
Change-Id: I4f0472b9f2ea2daeeba3025c588e6d0042c31be7
2015-06-23 13:52:19 -07:00
Tom Ouyang
67eaf613f7 Merge "Workaround for preserving responsiveness on a slow InputConnection." into jb-ub-latinimegoogle 2015-06-23 20:35:09 +00:00
Dan Zivkovic
79e7cb7501 LatinIME portion of StatsUtil change.
Bug 22010482.

Change-Id: Iaed8abfb13cf4c87895a968d545dca3e5fcf9081
2015-06-23 13:06:06 -07:00