History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
707ca7692a8666989b3fbe860bee28115103988e 23-Jul-2015 Mohammadinamul Sheik <inamul@google.com> Handle Cloud Sync and SpellChecker settings when permission changed

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. Disable the settings.
2. Disable the feature.
3. Force reload the facilitator.

Bug: 22564048
Change-Id: Ic09742786c3e4efc034bceee836ae6a1e07307a1
(cherry picked from commit 031d04192080f0368f21c3371d1ec6af87375357)
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
66f139889d98c247bd82806ae2f8384de0ce036e 28-Mar-2015 Jatin Matani <jatinm@google.com> Don't hide sync settings, v2 (cleaner)

Bug:19961809
Change-Id: I02d6bd773dc20112c8fa3b83ac305d0cdbbd58d0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
bb2773176fc236fa6bc635de58ed48d7ec849b6c 24-Mar-2015 Jatin Matani <jatinm@google.com> Check for accounts when enabling sync features.

Bug:19895917
Change-Id: I2f2f535f5a5c17c5642a5c44d2fd20a520ccfd73
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
bff393ce13554588d3906df4e5f464199acb23ae 16-Mar-2015 Dan Zivkovic <zivkovic@google.com> Fix NPE in AccountSettingsFragment.

Bug 19773815.

Change-Id: Ib5eb27cdf385c81d1a3822836f424fa29c0bbaa8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
f508209f6af74498edcc6f66b1820bdf0dad8e6a 16-Mar-2015 Dan Zivkovic <zivkovic@google.com> Remove unused imports.

Change-Id: Ic537cc7080a0ca98fc855a6f24a415d63f747891
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
b717f91ffa4cdc26440ea39550ebbf5e755d85dc 04-Mar-2015 Chieu Nguyen <cvnguyen@google.com> Sync setting disabled if no account.

Bug: 19361223

Change-Id: Id5e8d34920f5bf3bffb6d6d287557e85d7b72c79
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
c4f6a8dcd4076ff04977199b4e3a4c79f7d06efe 06-Mar-2015 Chieu Nguyen <cvnguyen@google.com> Make privacy policy link clickable in sync settings.

Bug: 19361223
Change-Id: I83128d771bf5214a446afd6a3d5244a184d0a4a8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
854edce6ddd7ed2d64406b66f746480741d61b15 26-Feb-2015 Jatin Matani <jatinm@google.com> Turn off cloud sync if we have managed profiles

UserManager#getUserProfiles > 1 implies managed
profile.

Workflow:
- Disable sync prefs
- Execute an async task to check for managed profile; if
managed profile is found, remove the sync prefs. If not, enable
the preference;
- Move the logging pref from Advanced to Account & Privacy.

Bug:19230544
Change-Id: I4dbd1fe8433b3263ccc74c35dc0ee0bb371122b3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
8ec328fb2e454c2c9e353b6aec0bc613a1846c88 24-Feb-2015 Jatin Matani <jatinm@google.com> Refresh pref settings for cloud sync

- Show the opt-in text
- Show the account picker if user presses 'enable sync'. Previously
we disabled the sync pref which was confusing.
- Remove the debug tags from some prefs; and improve messaging overall

General rules;
- sync is turned ON : user checks 'enable sync' pref AND
accepts the opt-in AND chooses an account
- sync is turned OFF: when user signs out

Demo link
https://drive.google.com/a/google.com/file/d/0B9tNQOWdRuiWSUdVVE5rVDJudlk/view?usp=sharing

Change-Id: I2e7933796b15e47005ba9970a8c1294416ef31a0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
a1a9896b42ae4f2d31793ff75b82a3b17a45316a 29-Dec-2014 Jatin Matani <jatinm@google.com> Rename production flag for cloud sync feature

Change-Id: I24cbe94f128f54fb9bfeeef78cf271fee2216c8e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
4077a7e52f4016484de914cbfb26e58fe06f3b65 17-Dec-2014 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove SubtypeSwitcher"
31a10e226d23b30b24d9c902608ff013cc1c3e0c 07-Nov-2014 Tadashi G. Takaoka <takaoka@google.com> Remove SubtypeSwitcher

Change-Id: Ic4def69a9f742f13c98bc3e518c406658b52797d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
6814e7aa870efcd0dea2b67df8d2cbfbdc0c438c 28-Oct-2014 Jatin Matani <jatinm@google.com> Provide a preference to delete data from cloud.

For now, it is a debug preference, but we may make this a proper
user setting in the future. Thus note that the messaging is not
final.

Pref looks like :
1. https://screenshot.googleplex.com/OLxW0myWD9.png
2. https://screenshot.googleplex.com/YeqWYXGstw.png

Bug: 18106936
Change-Id: I88bbc1a2ee0c23a48ff3972a91d57c218b10bb65
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
b17a3bc4e8a77905ca567f3876c4e37191d7aae5 13-Oct-2014 Sandeep Siddhartha <sansid@google.com> Move sync policy related code out of account settings

Bug: 17981687
Bug: 17464069
Change-Id: I0ae3400564fd346cc84af74dfef65f01cc1ce6a8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
19084d076a97ba8ea55d84d4cd266ca74071312f 11-Oct-2014 Sandeep Siddhartha <sansid@google.com> Cleanup LoginAccountUtils

Bug: 17464068
Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
d9015233f50724294bb408f1c56715a581dc4bed 10-Oct-2014 Sandeep Siddhartha <sansid@google.com> Set up a sync preference and policy for syncing [2]

- Adds a preference for enabling sync, which controls the sync behavior
- Make the ProductionFlags depend on appropriate flags to guarantee that
we don't mess things when flipping some flags
- Preferences now control the "syncable" property of the provider
thereby controlling the policy and when this entry shows up in
system settings.

Bug: 17464069
Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
1e10d29bc8975ea45ca5e3bdf1936aa418161bcb 09-Oct-2014 Sandeep Siddhartha <sansid@google.com> Don't restore device specific preferences

There are two categories of preferences:
1. That are part of the default shared preference
They were all getting backed up and restored.
Added a blacklist to not restore some of these.
e.g. current account

2. That are in a non-default shared preference file.
These are not getting backed up currently, but added a specific
local preference file for all such preferences.

Bug: 17288591
Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
3c6ac75c48e0f57d389305c9c22a3be960682ed2 09-Oct-2014 Jatin Matani <jatinm@google.com> Merge "Fix messaging for sync now feature, when no account is selected"
f66a6a3bb0a7b6d90793b24d623fc21a588e7ae3 09-Oct-2014 Jatin Matani <jatinm@google.com> Fix messaging for sync now feature, when no account is selected

Change-Id: I5e81b7a1eed9c2177ad3ddfa6c96c2b85c433766
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
5b39af37c00c6bb413d4b6311a22c5ba0aaaacf3 08-Oct-2014 Ken Wakasa <kwakasa@google.com> Fix unit test failure

Change-Id: I5a28c6775385ba3b0b7d86c85064fd28f3cbb353
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
734733d8ad84c1dbd575dd938f752afef57a9cf3 16-Sep-2014 Jatin Matani <jatinm@google.com> Skeleton code for user dictionary sync

Bug:17464069
Change-Id: If683b80e882c07fba576959346ae74cd445dd83e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
d4aec65f65baf0122cd3d59155307d1ba326f803 23-Sep-2014 Sandeep Siddhartha <sansid@google.com> Add account change receiver to handle account removal

Also cleanup the manifest to group similar components together.
Moving LoginAccountUtils to its own package

Bug: 17464068
Change-Id: Iad7928855531d58334b1e4039bb45b97dde75462
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
84185148c5506cd58ae6870102de6538bbc35042 17-Sep-2014 Sandeep Siddhartha <sansid@google.com> Add account listing and preference integration for current account

Bug: 17464068
Change-Id: Idb68a6012b285d6bc4632414bb6d11131148cf67
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java
a4e0b6efdd9ab266683da8d28362266b314fd92f 16-Sep-2014 Sandeep Siddhartha <sansid@google.com> Add Accounts & privacy settings in LatinIME

Also start showing the logging preference on this screen too.

This settings screen will be the container for all account
management, sync and privacy related settings

Bug: 17464068
Change-Id: Ie0806f6e8a542e9dea2834445ff7b38805207bda
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java