Skip to content
Snippets Groups Projects
  1. Jul 06, 2023
  2. Feb 23, 2022
    • Wilson Wu's avatar
      Remove unused method for dictionarypack · 0d93961d
      Wilson Wu authored
      Remove the showDictionaryAvailableNotification
      method since there is no module use it.
      
      Bug: 209479751
      Test: presubmit
      Change-Id: I4c88b4a2d0cb36761d9102ce35260f93303625d9
      0d93961d
  3. Mar 03, 2016
    • Yohei Yukawa's avatar
      Revert "Close FileChannels in UpdateHandler#copyFile." · 4b46e711
      Yohei Yukawa authored
      This reverts commit 3e267026.
      
      It turns out that the behavior change in libcore was unintentional, and
      it was already fixed [1].  Let's revert our workaround back to see if
      the existing code is compatible with N.
      
        [1]: Ibacb192abc37870c74a2500d65b94d68f9c2318e
             5e7b572c2b494ab86ddd2baca3883a40a6064c1e
      
      Bug: 26239281
      Change-Id: I6cd2340492d93251231e7ee37c3d4f82c1721293
      4b46e711
  4. Feb 25, 2016
  5. Aug 25, 2015
    • Russell Brenner's avatar
      Don't show download toast during SUW · f52bae18
      Russell Brenner authored
      Check to see if setup wizard is running before showing toast to
      inform user that a download was started. Note that this will only
      affect the device owner; when adding new users later, the toast
      will still appear. (The USER_SETUP_COMPLETE flag is hidden from
      the SDK, while DEVICE_PROVISIONED remains available.)
      
      Bug: 22594336
      Change-Id: I57c42d6f821714b71cbb066e82bba2a1dbab4951
      f52bae18
  6. Jun 25, 2015
    • Dan Zivkovic's avatar
      Don't prompt before downloading. · d23dd597
      Dan Zivkovic authored
      We don't pay attention to the answer, so don't ask.
      
      Bug 22069694.
      
      Change-Id: Ic048d5570e68fbc9438c6577e27e6c7f68428606
      d23dd597
    • Dan Zivkovic's avatar
      Add some more logging. Why not. · 5e4c0caa
      Dan Zivkovic authored
      Change-Id: I536212e1b3c35d75ed93f9ab3762908e3deb9a97
      5e4c0caa
    • Dan Zivkovic's avatar
      Load metadata.json from resources on DB reset. · 3aad1424
      Dan Zivkovic authored
      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
      3aad1424
  7. Jun 17, 2015
  8. Jun 15, 2015
  9. May 04, 2015
  10. Apr 15, 2015
    • Mohammadinamul Sheik's avatar
      Do not re-download the unused dictionaries. · 3a5de641
      Mohammadinamul Sheik authored
      Does the following
      1. Uses dictionaries from the files/ directory while populating the
         entries into the pendingUpdates table. So that a download happens only
         if the metadata.json says so.
      2. Delete an unusable dictionaries from the files/ directory.
      
      Bug: 20142708
      Change-Id: Ibd738793585c39735868e324b8ad682dff0eba34
      3a5de641
  11. Apr 03, 2015
  12. Mar 24, 2015
  13. Nov 21, 2014
  14. Nov 12, 2014
  15. Nov 07, 2014
  16. Oct 21, 2014
    • Tadashi G. Takaoka's avatar
      Fix some compiler warnings · 5f00fe09
      Tadashi G. Takaoka authored
      This CL fixes the following compiler warnings.
      
      - Indirect access to static member
      - Access to a non-accessible member of an enclosing type
      - Parameter assignment
      - Method can be static
      - Local variable declaration hides another field or variable
      - Value of local variable is not used
      - Unused import
      - Unused private member
      - Unnecessary 'else' statement
      - Unnecessary declaration of throw exception
      - Redundant type arguments
      - Missing '@Override' annotation
      - Unused '@SuppressWarning' annotations
      
      Bug: 18003991
      Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
      5f00fe09
  17. Oct 01, 2014
  18. Sep 03, 2014
    • Jatin Matani's avatar
      Attempt retry for broken dictionaries · 256b1b2a
      Jatin Matani authored
      1. Add retry count column within metadata in dictionary pack.
      2. Attempt a retry for download and installation by running StartDownloadAction.
      3. If the number retrial are at the threshold, we don't attempt it again.
      
      Bug: 15150487
      Change-Id: I70720353e5803fccf4728c2aa798883ba75c61e5
      256b1b2a
  19. Aug 28, 2014
  20. May 23, 2014
  21. Feb 17, 2014
  22. Jul 11, 2013
  23. Jul 05, 2013
  24. Jul 01, 2013
    • Jean Chalard's avatar
      Fix a bug where no URL means refresh never ends · 3f0858eb
      Jean Chalard authored
      This patch does two things:
      - If there is no URL to download new data from, then the
      Refresh button is not shown.
      - Even if for some reason refresh starts for a client for
      which there is no URL, loading correctly finishes.
      
      Bug: 9388602
      Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547
      3f0858eb
  25. Jun 25, 2013
  26. Jun 24, 2013
  27. Apr 25, 2013
    • Jean Chalard's avatar
      Work around a bug in older DownloadManager versions. · 43590149
      Jean Chalard authored
      This adds a number to the extension.
      
      Note that for DownloadManager to keep this, the server
      needs to send it a mime type it does not recognize. Right
      now, it does not recognize application/json so it's okay,
      but we'd do well to remove the content/type header from
      the server to prevent problems.
      
      Bug: 8467516
      Change-Id: Ic484f66ac3f67c36f59f2c0bcb8c7fdeb6e8590d
      43590149
  28. Apr 19, 2013
  29. Apr 18, 2013
    • Jean Chalard's avatar
      Fix an infinite loop · 77e26e1c
      Jean Chalard authored
      What do you mean "Can't happen"?
      It happens all the time - the empty string is the default ID, and it
      needs to be updated like everyone else.
      
      Bug: 8651858
      Change-Id: I5a2f2ebb5b2ef08b27f26be8fb2c3d2f231ebcfc
      77e26e1c
  30. Apr 01, 2013
    • Jean Chalard's avatar
      Ask the client to make itself known when it's not · 76d5f512
      Jean Chalard authored
      Upon invoking the settings of the dictionary pack with an unknown
      client, we now launch an intent to ask the client to make itself known.
      This change also includes the code that receives this intent and
      acts upon it.
      
      Bug: 8492879
      Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc
      76d5f512
  31. Mar 19, 2013
Loading