Commit Graph

14189 Commits (bd84a00fc140d2d02b8eafbf6c94c009da62c9cd)

Author SHA1 Message Date
Kurt Partridge a68cace7d1 Avoid NPE by fixing ResearchLogger initialization
Previously, mMainResearchLog and mMainLogBuffer were set up
when the user moved to a new TextView, and set to null when
the user left the TextView.  This change causes
mMainResearchLog, mMainLogBuffer, mFeedbackLog, and
mFeedbackLogBuffer to be non-null forever after init() is
called.  start() no longer sets up these fields; instead
they are cleared and reset every time stop() is called.
Checks for null values are now removed.

The earlier code just didn't initialize these variables if
the user disabled logging, but since the new version
invariantly keeps these variables valid, we add a check for
whether the user has enabled logging in publishLogUnits().

Change-Id: Ifde3517f1cf924cfa33cda95fec24529b52b3c08
2013-05-09 18:38:32 -07:00
Kurt Partridge 011634163c Remove unused code
Change-Id: I192c67e9e8de44f073abc70ec85ebcdb36356c2e
2013-05-09 14:36:40 -07:00
Kurt Partridge ef5d760ca4 Remove ref to LatinImeLogger preference.
This is a bug; the ResearchLogger uses ResearchSettings.readResearchLoggerEnabledFlag() instead,
which the user cannot change.  (We assume they will just switch to a different keyboard.)

Change-Id: Ib5731c9eeb2bc29d9cf8608033326674f5eb6f7b
2013-05-09 14:36:40 -07:00
Baligh Uddin dfc0adfe5e am b0aabbfb: (-s ours) am 8dafc8e8: (-s ours) am 22e6a5c5: Import translations. DO NOT MERGE
* commit 'b0aabbfbe0144272df816160e7b0b569bbba55cd':
  Import translations. DO NOT MERGE
2013-05-09 08:56:04 -07:00
Baligh Uddin b0aabbfbe0 am 8dafc8e8: (-s ours) am 22e6a5c5: Import translations. DO NOT MERGE
* commit '8dafc8e834036ffded3644ba06ad4164ee7e755f':
  Import translations. DO NOT MERGE
2013-05-09 08:53:59 -07:00
Baligh Uddin 0e2f68c952 am 42dc0c25: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '42dc0c256220496743a2532b7d51823d1d4d65d9':
  Import translations. DO NOT MERGE
2013-05-09 08:52:54 -07:00
Baligh Uddin 8dafc8e834 am 22e6a5c5: Import translations. DO NOT MERGE
* commit '22e6a5c5b4c3fb486fd2605255081fc4b849f415':
  Import translations. DO NOT MERGE
2013-05-09 08:52:51 -07:00
Baligh Uddin 42dc0c2562 Merge "Import translations. DO NOT MERGE" 2013-05-09 15:52:00 +00:00
Baligh Uddin a45821e64b Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-05-09 15:51:31 +00:00
Satoshi Kataoka 2a383bfebd am 341f1b23: Tweak gesture debug
* commit '341f1b237b1153ddc8e8ce2e6a787382a40c1e56':
  Tweak gesture debug
2013-05-09 04:12:46 -07:00
Satoshi Kataoka 341f1b237b Tweak gesture debug
Change-Id: Iea11a095adb15fbf4be38f34542119f8bc7bcbff
2013-05-09 20:08:50 +09:00
Satoshi Kataoka 45c925a9be am 52cb409a: Don\'t resize debug array if production
* commit '52cb409ac20fb75547ffbee0b84da2c80e290ee6':
  Don't resize debug array if production
2013-05-09 03:25:56 -07:00
Satoshi Kataoka 7f9b3e6286 am b2c4c730: Add debug facilities for gesture
* commit 'b2c4c73064943577496e3177413a0550d67e553f':
  Add debug facilities for gesture
2013-05-09 03:22:44 -07:00
Satoshi Kataoka 52cb409ac2 Don't resize debug array if production
Bug: 8556775
Change-Id: I46a10f8dc938cab493933f0f2b4e1f7779b24f6f
2013-05-09 19:22:24 +09:00
Satoshi Kataoka b2c4c73064 Add debug facilities for gesture
Bug: 8556775
Change-Id: I9069b2b44356bbae9fa4aaf0b99c3d723a8c9c58
2013-05-09 19:19:11 +09:00
Satoshi Kataoka a8254f73c2 am b9021090: Fix usages of getEnabledInputMethodSubtypeList
* commit 'b902109000bcef184e69daac7dc3906fc969791e':
  Fix usages of getEnabledInputMethodSubtypeList
2013-05-09 01:23:44 -07:00
Satoshi Kataoka b902109000 Fix usages of getEnabledInputMethodSubtypeList
Bug: 8450279
Change-Id: Ib8433442ae6ca6c28da2652bff687cdeaf7c196e
2013-05-09 17:07:19 +09:00
Tadashi G. Takaoka 14c0e4e782 am 499cea94: Use revised Google Keyboard icon
* commit '499cea949d57def583950a427631c4c4e3803134':
  Use revised Google Keyboard icon
2013-05-08 21:15:03 -07:00
Tadashi G. Takaoka e868922edc am 3e375863: Launch setup wizard as single top activity
* commit '3e3758631689bb03ae4fa74f8307338abae29929':
  Launch setup wizard as single top activity
2013-05-08 20:51:09 -07:00
Tadashi G. Takaoka 499cea949d Use revised Google Keyboard icon
Bug: 8159728
Change-Id: I458df60cb39f81cde3c08190af0ab08d304f9d98
2013-05-09 11:50:39 +09:00
Tadashi G. Takaoka 3e37586316 Launch setup wizard as single top activity
Bug: 8336068
Change-Id: Ifac84361e4e37b4aa106cbdbfffb83883ec2f8e6
2013-05-09 11:17:00 +09:00
Baligh Uddin 2e4bde7398 Import translations. DO NOT MERGE
Change-Id: I77a0aed9771ecc28a56226bb5f9776c1e1cf8b4d
Auto-generated-cl: translation import
2013-05-08 13:18:34 -07:00
Baligh Uddin 1fc77cc4b0 Import translations. DO NOT MERGE
Change-Id: Iff2c1ab5b4c6c16424a1b32eda4eb48e8dd3c589
Auto-generated-cl: translation import
2013-05-08 13:14:25 -07:00
Baligh Uddin 4ff7f335e3 Import translations. DO NOT MERGE
Change-Id: I424582a75cee45290b1dbe7552dfeb8288324c8b
Auto-generated-cl: translation import
2013-05-08 13:12:05 -07:00
Baligh Uddin 22e6a5c5b4 Import translations. DO NOT MERGE
Change-Id: I189a4ad23e69f0abe515dad7e3c909a28fcfbf0b
Auto-generated-cl: translation import
2013-05-08 13:09:53 -07:00
Jean Chalard 114ec4ac9f am 71d52474: Merge "Optimizations and safeguards."
* commit '71d52474fd380f967287cd5eee0084791463d162':
  Optimizations and safeguards.
2013-05-08 03:25:43 -07:00
Jean Chalard 71d52474fd Merge "Optimizations and safeguards." 2013-05-08 10:11:49 +00:00
Jean Chalard 502c041e00 am 5064ac88: Merge "Be careful about the dictionary size in detection methods"
* commit '5064ac885561d4b6af216d5e96ed94f17ac8e13f':
  Be careful about the dictionary size in detection methods
2013-05-08 03:01:46 -07:00
Jean Chalard 5064ac8855 Merge "Be careful about the dictionary size in detection methods" 2013-05-08 09:59:25 +00:00
Satoshi Kataoka 9e5d7abe33 am eab27c1e: Merge "Add account e-mail addresses to the user dictionary"
* commit 'eab27c1ef607f0370b87742e5fe216f7dab9499c':
  Add account e-mail addresses to the user dictionary
2013-05-08 02:55:23 -07:00
Jean Chalard 03f8c6aed3 Be careful about the dictionary size in detection methods
Bug: 8857618
Change-Id: I29345ec96d53da601571ba73197a6485643a10a7
2013-05-08 18:55:18 +09:00
Satoshi Kataoka eab27c1ef6 Merge "Add account e-mail addresses to the user dictionary" 2013-05-08 09:53:54 +00:00
Jean Chalard 9f9cc03277 Optimizations and safeguards.
- Don't call finishComposingText when useless.
- Add safeguards against calling setComposingRegion when the
  data returned by the editor is inconsistent.
- Cancel pending recorrection messages when new messages arrive.

Bug: 8842941
Bug: 8845001
Change-Id: I939701033cf5c2bbd85871ecf83e329021ddeb91
2013-05-08 18:47:10 +09:00
Tadashi G. Takaoka c614357468 am 5b8b76ba: Merge "Move gesture preview trail parameters to resource"
* commit '5b8b76baa304b7cbea647bac0ded7a32a6fcb77c':
  Move gesture preview trail parameters to resource
2013-05-08 02:19:12 -07:00
Satoshi Kataoka eecf34a9be am faa94a2d: Merge "Add owner\'s info to the dictionary"
* commit 'faa94a2d0abfc8e0f03799dd5f0f2125e44b0bfd':
  Add owner's info to the dictionary
2013-05-08 02:19:10 -07:00
Satoshi Kataoka 873f9b90f7 am 6435c800: Merge "Fix an issue on the transition between the setup and the settings"
* commit '6435c80087b1c698e025b7be809d6236fcdd9e64':
  Fix an issue on the transition between the setup and the settings
2013-05-08 02:19:09 -07:00
Tadashi G. Takaoka 5b8b76baa3 Merge "Move gesture preview trail parameters to resource" 2013-05-08 09:02:52 +00:00
Satoshi Kataoka 5648054667 Add account e-mail addresses to the user dictionary
Bug: 8683365
Change-Id: Id72540c515e61c3dd854892599645dd6d22b496d
2013-05-08 17:58:21 +09:00
Tadashi G. Takaoka 05124d0193 Move gesture preview trail parameters to resource
Bug: 7167303
Change-Id: I22b56588dc5a1c9d5eaec3a39b5f32c9e5a8a5b4
2013-05-08 17:51:45 +09:00
Satoshi Kataoka faa94a2d0a Merge "Add owner's info to the dictionary" 2013-05-08 08:31:45 +00:00
Satoshi Kataoka fc6d4a5412 Add owner's info to the dictionary
Bug: 8683365
Change-Id: I1c30eac128b4172526423ebeeb45bc6cee7fb67b
2013-05-08 17:29:04 +09:00
Satoshi Kataoka 6435c80087 Merge "Fix an issue on the transition between the setup and the settings" 2013-05-08 08:23:49 +00:00
Satoshi Kataoka fe856be875 am f59c4f68: Fix labels in the personal dictionary settings
* commit 'f59c4f6840f82892397752b558251eb71f125d3a':
  Fix labels in the personal dictionary settings
2013-05-07 23:22:03 -07:00
Tadashi G. Takaoka 331d256f21 Fix an issue on the transition between the setup and the settings
Bug: 8853220

Change-Id: I99b6c46d900e9391f77986d1ae6e3edeaeff01e5
2013-05-08 15:18:45 +09:00
Satoshi Kataoka f59c4f6840 Fix labels in the personal dictionary settings
Bug: 8855738
Bug: 8853764
Change-Id: I03383bb5d6d72645f511cc6175dec747eb13a840
2013-05-08 14:58:43 +09:00
Satoshi Kataoka 778eabfe74 am 244a24e3: Consolidate dummy proximity info to the spell checker info
* commit '244a24e3685f3fc1d0cbfaf375ad137f917740c2':
  Consolidate dummy proximity info to the spell checker info
2013-05-07 21:34:19 -07:00
Satoshi Kataoka 244a24e368 Consolidate dummy proximity info to the spell checker info
Bug: 8783170

Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
2013-05-08 11:49:12 +09:00
Kurt Partridge 9b5965d452 am 1eb1af75: Merge "Fix looping logic bugs."
* commit '1eb1af75a7f19ea3b544205d42a3890781021a0b':
  Fix looping logic bugs.
2013-05-07 16:23:39 -07:00
Kurt Partridge 1eb1af75a7 Merge "Fix looping logic bugs." 2013-05-07 23:22:04 +00:00
Baligh Uddin f7937a9440 am 542bcbea: (-s ours) am 71778d25: (-s ours) am 34a0dc5a: Import translations. DO NOT MERGE
* commit '542bcbeaca5cec7f302058c6c5936c3d81b6bcb8':
  Import translations. DO NOT MERGE
2013-05-07 10:03:31 -07:00