<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages_apps_Settings/src/com/android/settings/vpn/VpnSettings.java, branch replicant-6.0</title>
<subtitle>packages/apps/settings
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/'/>
<entry>
<title>VpnSettings: switch to the new user interface.</title>
<updated>2011-07-03T00:45:23+00:00</updated>
<author>
<name>Chia-chi Yeh</name>
<email>chiachi@android.com</email>
</author>
<published>2011-07-03T00:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=7606a2f4f3f0aa6b77e9dad3866706bb8ea3206d'/>
<id>7606a2f4f3f0aa6b77e9dad3866706bb8ea3206d</id>
<content type='text'>
Change-Id: I7158cd8f146677b2823cfa936792fd232a37ae28
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7158cd8f146677b2823cfa936792fd232a37ae28
</pre>
</div>
</content>
</entry>
<entry>
<title>Integrating keystore with keyguard (Part 4 of 4)</title>
<updated>2011-06-01T17:47:42+00:00</updated>
<author>
<name>Brian Carlstrom</name>
<email>bdc@google.com</email>
</author>
<published>2011-05-25T20:24:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=d4023b7cca11e33e84df39dee9e9a737efab47c2'/>
<id>d4023b7cca11e33e84df39dee9e9a737efab47c2</id>
<content type='text'>
Summary:

frameworks/base
  keystore rewrite
  keyguard integration with keystore on keyguard entry or keyguard change
  KeyStore API simplification

packages/apps/Settings
  Removed com.android.credentials.SET_PASSWORD intent support
  Added keyguard requirement for keystore use

packages/apps/CertInstaller
  Tracking KeyStore API changes
  Fix for NPE in CertInstaller when certificate lacks basic constraints

packages/apps/KeyChain
  Tracking KeyStore API changes

Details:

frameworks/base

   Move keystore from C to C++ while rewriting password
   implementation. Removed global variables. Added many comments.

	cmds/keystore/Android.mk
	cmds/keystore/keystore.h
	cmds/keystore/keystore.c =&gt; cmds/keystore/keystore.cpp
	cmds/keystore/keystore_cli.c =&gt; cmds/keystore/keystore_cli.cpp

   Changed saveLockPattern and saveLockPassword to notify the keystore
   on changes so that the keystore master key can be reencrypted when
   the keyguard changes.

	core/java/com/android/internal/widget/LockPatternUtils.java

   Changed unlock screens to pass values for keystore unlock or initialization

	policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
	policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java

   KeyStore API changes
   - renamed test() to state(), which now return a State enum
   - made APIs with byte[] key arguments private
   - added new KeyStore.isEmpty used to determine if a keyguard is required

	keystore/java/android/security/KeyStore.java

   In addition to tracking KeyStore API changes, added new testIsEmpty
   and improved some existing tests to validate expect values.

	keystore/tests/src/android/security/KeyStoreTest.java

packages/apps/Settings

    Removing com.android.credentials.SET_PASSWORD intent with the
    removal of the ability to set an explicit keystore password now
    that the keyguard value is used. Changed to ensure keyguard is
    enabled for keystore install or unlock. Cleaned up interwoven
    dialog handing into discrete dialog helper classes.

	AndroidManifest.xml
	src/com/android/settings/CredentialStorage.java

    Remove layout for entering new password

	res/layout/credentials_dialog.xml

    Remove enable credentials checkbox

	res/xml/security_settings_misc.xml
	src/com/android/settings/SecuritySettings.java

    Added ability to specify minimum quality key to ChooseLockGeneric
    Activity. Used by CredentialStorage, but could also be used by
    CryptKeeperSettings. Changed ChooseLockGeneric to understand
    minimum quality for keystore in addition to DPM and device
    encryption.

	src/com/android/settings/ChooseLockGeneric.java

    Changed to use getActivePasswordQuality from
    getKeyguardStoredPasswordQuality based on experience in
    CredentialStorage. Removed bogus class javadoc.

	src/com/android/settings/CryptKeeperSettings.java

    Tracking KeyStore API changes

	src/com/android/settings/vpn/VpnSettings.java
	src/com/android/settings/wifi/WifiSettings.java

   Removing now unused string resources

	res/values-af/strings.xml
	res/values-am/strings.xml
	res/values-ar/strings.xml
	res/values-bg/strings.xml
	res/values-ca/strings.xml
	res/values-cs/strings.xml
	res/values-da/strings.xml
	res/values-de/strings.xml
	res/values-el/strings.xml
	res/values-en-rGB/strings.xml
	res/values-es-rUS/strings.xml
	res/values-es/strings.xml
	res/values-fa/strings.xml
	res/values-fi/strings.xml
	res/values-fr/strings.xml
	res/values-hr/strings.xml
	res/values-hu/strings.xml
	res/values-in/strings.xml
	res/values-it/strings.xml
	res/values-iw/strings.xml
	res/values-ja/strings.xml
	res/values-ko/strings.xml
	res/values-lt/strings.xml
	res/values-lv/strings.xml
	res/values-ms/strings.xml
	res/values-nb/strings.xml
	res/values-nl/strings.xml
	res/values-pl/strings.xml
	res/values-pt-rPT/strings.xml
	res/values-pt/strings.xml
	res/values-rm/strings.xml
	res/values-ro/strings.xml
	res/values-ru/strings.xml
	res/values-sk/strings.xml
	res/values-sl/strings.xml
	res/values-sr/strings.xml
	res/values-sv/strings.xml
	res/values-sw/strings.xml
	res/values-th/strings.xml
	res/values-tl/strings.xml
	res/values-tr/strings.xml
	res/values-uk/strings.xml
	res/values-vi/strings.xml
	res/values-zh-rCN/strings.xml
	res/values-zh-rTW/strings.xml
	res/values-zu/strings.xml
	res/values/strings.xml

packages/apps/CertInstaller

  Tracking KeyStore API changes
	src/com/android/certinstaller/CertInstaller.java

  Fix for NPE in CertInstaller when certificate lacks basic constraints
	src/com/android/certinstaller/CredentialHelper.java

packages/apps/KeyChain

  Tracking KeyStore API changes
	src/com/android/keychain/KeyChainActivity.java
	src/com/android/keychain/KeyChainService.java
	support/src/com/android/keychain/tests/support/IKeyChainServiceTestSupport.aidl
	support/src/com/android/keychain/tests/support/KeyChainServiceTestSupport.java
	tests/src/com/android/keychain/tests/KeyChainServiceTest.java

Change-Id: I80533bf8986a92b0b99cd5fb1c4943e0f23fc1c8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:

frameworks/base
  keystore rewrite
  keyguard integration with keystore on keyguard entry or keyguard change
  KeyStore API simplification

packages/apps/Settings
  Removed com.android.credentials.SET_PASSWORD intent support
  Added keyguard requirement for keystore use

packages/apps/CertInstaller
  Tracking KeyStore API changes
  Fix for NPE in CertInstaller when certificate lacks basic constraints

packages/apps/KeyChain
  Tracking KeyStore API changes

Details:

frameworks/base

   Move keystore from C to C++ while rewriting password
   implementation. Removed global variables. Added many comments.

	cmds/keystore/Android.mk
	cmds/keystore/keystore.h
	cmds/keystore/keystore.c =&gt; cmds/keystore/keystore.cpp
	cmds/keystore/keystore_cli.c =&gt; cmds/keystore/keystore_cli.cpp

   Changed saveLockPattern and saveLockPassword to notify the keystore
   on changes so that the keystore master key can be reencrypted when
   the keyguard changes.

	core/java/com/android/internal/widget/LockPatternUtils.java

   Changed unlock screens to pass values for keystore unlock or initialization

	policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
	policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java

   KeyStore API changes
   - renamed test() to state(), which now return a State enum
   - made APIs with byte[] key arguments private
   - added new KeyStore.isEmpty used to determine if a keyguard is required

	keystore/java/android/security/KeyStore.java

   In addition to tracking KeyStore API changes, added new testIsEmpty
   and improved some existing tests to validate expect values.

	keystore/tests/src/android/security/KeyStoreTest.java

packages/apps/Settings

    Removing com.android.credentials.SET_PASSWORD intent with the
    removal of the ability to set an explicit keystore password now
    that the keyguard value is used. Changed to ensure keyguard is
    enabled for keystore install or unlock. Cleaned up interwoven
    dialog handing into discrete dialog helper classes.

	AndroidManifest.xml
	src/com/android/settings/CredentialStorage.java

    Remove layout for entering new password

	res/layout/credentials_dialog.xml

    Remove enable credentials checkbox

	res/xml/security_settings_misc.xml
	src/com/android/settings/SecuritySettings.java

    Added ability to specify minimum quality key to ChooseLockGeneric
    Activity. Used by CredentialStorage, but could also be used by
    CryptKeeperSettings. Changed ChooseLockGeneric to understand
    minimum quality for keystore in addition to DPM and device
    encryption.

	src/com/android/settings/ChooseLockGeneric.java

    Changed to use getActivePasswordQuality from
    getKeyguardStoredPasswordQuality based on experience in
    CredentialStorage. Removed bogus class javadoc.

	src/com/android/settings/CryptKeeperSettings.java

    Tracking KeyStore API changes

	src/com/android/settings/vpn/VpnSettings.java
	src/com/android/settings/wifi/WifiSettings.java

   Removing now unused string resources

	res/values-af/strings.xml
	res/values-am/strings.xml
	res/values-ar/strings.xml
	res/values-bg/strings.xml
	res/values-ca/strings.xml
	res/values-cs/strings.xml
	res/values-da/strings.xml
	res/values-de/strings.xml
	res/values-el/strings.xml
	res/values-en-rGB/strings.xml
	res/values-es-rUS/strings.xml
	res/values-es/strings.xml
	res/values-fa/strings.xml
	res/values-fi/strings.xml
	res/values-fr/strings.xml
	res/values-hr/strings.xml
	res/values-hu/strings.xml
	res/values-in/strings.xml
	res/values-it/strings.xml
	res/values-iw/strings.xml
	res/values-ja/strings.xml
	res/values-ko/strings.xml
	res/values-lt/strings.xml
	res/values-lv/strings.xml
	res/values-ms/strings.xml
	res/values-nb/strings.xml
	res/values-nl/strings.xml
	res/values-pl/strings.xml
	res/values-pt-rPT/strings.xml
	res/values-pt/strings.xml
	res/values-rm/strings.xml
	res/values-ro/strings.xml
	res/values-ru/strings.xml
	res/values-sk/strings.xml
	res/values-sl/strings.xml
	res/values-sr/strings.xml
	res/values-sv/strings.xml
	res/values-sw/strings.xml
	res/values-th/strings.xml
	res/values-tl/strings.xml
	res/values-tr/strings.xml
	res/values-uk/strings.xml
	res/values-vi/strings.xml
	res/values-zh-rCN/strings.xml
	res/values-zh-rTW/strings.xml
	res/values-zu/strings.xml
	res/values/strings.xml

packages/apps/CertInstaller

  Tracking KeyStore API changes
	src/com/android/certinstaller/CertInstaller.java

  Fix for NPE in CertInstaller when certificate lacks basic constraints
	src/com/android/certinstaller/CredentialHelper.java

packages/apps/KeyChain

  Tracking KeyStore API changes
	src/com/android/keychain/KeyChainActivity.java
	src/com/android/keychain/KeyChainService.java
	support/src/com/android/keychain/tests/support/IKeyChainServiceTestSupport.aidl
	support/src/com/android/keychain/tests/support/KeyChainServiceTestSupport.java
	tests/src/com/android/keychain/tests/KeyChainServiceTest.java

Change-Id: I80533bf8986a92b0b99cd5fb1c4943e0f23fc1c8
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't check states when mActiveProfile is present</title>
<updated>2011-03-05T17:53:45+00:00</updated>
<author>
<name>Hung-ying Tyan</name>
<email>tyanh@google.com</email>
</author>
<published>2011-03-05T17:53:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=68bcab85324200395ccdcaa877e71780ad183e3b'/>
<id>68bcab85324200395ccdcaa877e71780ad183e3b</id>
<content type='text'>
and is in IDLE state. checkVpnConnectionStatus() will clean up mActiveProfile
if it's IDLE.

Bug: 3513962
Change-Id: I8289fa321fdbd46def9c8207cef79cb45509897a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and is in IDLE state. checkVpnConnectionStatus() will clean up mActiveProfile
if it's IDLE.

Bug: 3513962
Change-Id: I8289fa321fdbd46def9c8207cef79cb45509897a
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't change the settings title when editing VPN entries.</title>
<updated>2011-02-22T21:28:32+00:00</updated>
<author>
<name>Amith Yamasani</name>
<email>yamasani@google.com</email>
</author>
<published>2011-02-22T21:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=a576f6228eff7aa3fdb2421998508c73320b0e91'/>
<id>a576f6228eff7aa3fdb2421998508c73320b0e91</id>
<content type='text'>
Bug: 3342918
Change-Id: Ib3a56d3fb644b9b07aeb0b50ec4642714852d6c0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 3342918
Change-Id: Ib3a56d3fb644b9b07aeb0b50ec4642714852d6c0
</pre>
</div>
</content>
</entry>
<entry>
<title>am 2188a5e7: am 27682b0a: Merge "Clear mDialogFragment when it\'s detached" into honeycomb</title>
<updated>2011-01-29T10:33:57+00:00</updated>
<author>
<name>Hung-ying Tyan</name>
<email>tyanh@google.com</email>
</author>
<published>2011-01-29T10:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=9bb922dd586b24a2de4e5fd517c729756113304b'/>
<id>9bb922dd586b24a2de4e5fd517c729756113304b</id>
<content type='text'>
* commit '2188a5e7e5e8c070e0cc6913e0ded0d35288fbb8':
  Clear mDialogFragment when it's detached
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* commit '2188a5e7e5e8c070e0cc6913e0ded0d35288fbb8':
  Clear mDialogFragment when it's detached
</pre>
</div>
</content>
</entry>
<entry>
<title>Clear mDialogFragment when it's detached</title>
<updated>2011-01-28T15:39:45+00:00</updated>
<author>
<name>Hung-ying Tyan</name>
<email>tyanh@google.com</email>
</author>
<published>2011-01-28T08:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=18eb39d085c69d99188e59b01678a092ff36b557'/>
<id>18eb39d085c69d99188e59b01678a092ff36b557</id>
<content type='text'>
and re-associate it when it's re-created.

Before this CL, the association is gone when fragment goes through the pause-resume
cycle.

Similarly, restore onDismiss and onCancel listeners in VpnSettings.onCreateDialog(),
restore states in onCreate() instead of onActivityCreated() so that screen rotation
can be handled correctly.

Now that profiles are shared between Settings instances, always handle state change
in VpnSettings.changeState() so that state changed in one instance can be conveyed
to the other and preferences can be correctly enabled/disabled.

In additions, fix some trivial mistakes in VpnSettings.

Bug: 3396394
Change-Id: I242e1ed6c6d410b4dfefb373d8f98266fc9b46d0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and re-associate it when it's re-created.

Before this CL, the association is gone when fragment goes through the pause-resume
cycle.

Similarly, restore onDismiss and onCancel listeners in VpnSettings.onCreateDialog(),
restore states in onCreate() instead of onActivityCreated() so that screen rotation
can be handled correctly.

Now that profiles are shared between Settings instances, always handle state change
in VpnSettings.changeState() so that state changed in one instance can be conveyed
to the other and preferences can be correctly enabled/disabled.

In additions, fix some trivial mistakes in VpnSettings.

Bug: 3396394
Change-Id: I242e1ed6c6d410b4dfefb373d8f98266fc9b46d0
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the crash when home button is pressed.</title>
<updated>2011-01-27T07:38:00+00:00</updated>
<author>
<name>Chung-yih Wang</name>
<email>cywang@google.com</email>
</author>
<published>2011-01-26T09:25:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=5b9408898dd0887b37c6a21b196f5abd827ac63f'/>
<id>5b9408898dd0887b37c6a21b196f5abd827ac63f</id>
<content type='text'>
When the fragment is going to be removed, we should ignore the events
left in the message queue.

bug:3392087
Change-Id: Ie716c9cc6742e9990c08d1428f10a956a727d6ed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the fragment is going to be removed, we should ignore the events
left in the message queue.

bug:3392087
Change-Id: Ie716c9cc6742e9990c08d1428f10a956a727d6ed
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure the profile list is consistent.</title>
<updated>2011-01-26T08:17:24+00:00</updated>
<author>
<name>Chung-yih Wang</name>
<email>cywang@google.com</email>
</author>
<published>2011-01-21T09:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=09b77105fb6c58075bb5586ba8087b4de9e5860e'/>
<id>09b77105fb6c58075bb5586ba8087b4de9e5860e</id>
<content type='text'>
Since we may have more than one instance of VpnSettings, we have to make
the VPN profile list consistent between instances.

bug:3381902

Change-Id: Ic3128646c7fc6ee2a8c0ea6ce339d76115d7c05b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we may have more than one instance of VpnSettings, we have to make
the VPN profile list consistent between instances.

bug:3381902

Change-Id: Ic3128646c7fc6ee2a8c0ea6ce339d76115d7c05b
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix alert dialogs in VpnSettings.</title>
<updated>2011-01-26T07:50:33+00:00</updated>
<author>
<name>Hung-ying Tyan</name>
<email>tyanh@google.com</email>
</author>
<published>2011-01-24T07:05:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=adc83d83127edd58ff1f823b429cb99871e4488d'/>
<id>adc83d83127edd58ff1f823b429cb99871e4488d</id>
<content type='text'>
+ Don't check mDialogFragment.isVisible() in SettingsPreferenceFragment.removeDialog()
  as mDialogFragment may not be visible in parent fragment's onResume().
+ Replace mConnectDialog with mConnectDialogShowing and remove
  removeConnectDialog().
+ Dismiss alert dialogs in onPause() so that we don't need to maintain extra
  states during pause-resume cycle.

In addition, fix a NPE when startVpnTypeSelection().

Bug: 3381434
Bug: 3289365

Change-Id: Ic4aa87c7a618d95e86e45d6617f2ad7dab35f019
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ Don't check mDialogFragment.isVisible() in SettingsPreferenceFragment.removeDialog()
  as mDialogFragment may not be visible in parent fragment's onResume().
+ Replace mConnectDialog with mConnectDialogShowing and remove
  removeConnectDialog().
+ Dismiss alert dialogs in onPause() so that we don't need to maintain extra
  states during pause-resume cycle.

In addition, fix a NPE when startVpnTypeSelection().

Bug: 3381434
Bug: 3289365

Change-Id: Ic4aa87c7a618d95e86e45d6617f2ad7dab35f019
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow OnCancelListener and OnDismissListener in Settings app</title>
<updated>2011-01-25T09:31:26+00:00</updated>
<author>
<name>Hung-ying Tyan</name>
<email>tyanh@google.com</email>
</author>
<published>2011-01-25T08:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Settings/commit/?id=0ee51e04fb5c39a6272d142efc09d36aa3fbd0ec'/>
<id>0ee51e04fb5c39a6272d142efc09d36aa3fbd0ec</id>
<content type='text'>
for the framework-managed dialogs.

DialogFragment acts as both listeners so the application cannot set both
listeners in the embedded dialog. New hooks are added in SettingsDialogFragment
so that settings apps can do so for the framework-managed dialogs.

Bug: 3386670
Change-Id: I144e7c4ccf7f86c61f6079fa86d830c709335af1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for the framework-managed dialogs.

DialogFragment acts as both listeners so the application cannot set both
listeners in the embedded dialog. New hooks are added in SettingsDialogFragment
so that settings apps can do so for the framework-managed dialogs.

Bug: 3386670
Change-Id: I144e7c4ccf7f86c61f6079fa86d830c709335af1
</pre>
</div>
</content>
</entry>
</feed>
