Commit Graph

911 Commits

Author SHA1 Message Date
Dianne Hackborn
e356292467 Fix issue #1673793: Theme styles don't apply.
It turns out this was not a problem in the resource code at all.  Rather,
the system process has a cache of pre-loaded attributes it uses to avoid
continually reloading things as it needs them.  Well it turns out this
cache wasn't flushed after a package was uninstalled or a configuration
changed, so you could re-install an app where you change its style resources
so its theme now points to one that is inconsistent in the cache.

This is mostly a problem for developers, where they continually install
new versions of an app where resources have changed.  This could possibly
show up when updating an app on a normal phone, although the problem would
eventually correct itself since this cache uses weak references.

Anyway, the cache is now reworked to be flushed appropriately.

This change also includes an update to aapt to be able to dump the
contents of bags in resources.
2009-06-30 13:27:30 -07:00
Android (Google) Code Review
3c65483b32 Merge change 5593 into donut
* changes:
  Add in TTS engine interface the methods to query the availability for a language, to set the synthesis audio format, to query the current language, country and variant setting.
2009-06-29 10:04:09 -07:00
Jean-Michel Trivi
3f81888a72 Add in TTS engine interface the methods to query the availability for a language,
to set the synthesis audio format, to query the current language, country and
variant setting.
2009-06-29 09:52:17 -07:00
Android (Google) Code Review
ce6d172107 Merge change 4956 into donut
* changes:
  Tune the Reconnect back off timer.
2009-06-26 19:29:55 -07:00
Android (Google) Code Review
406ac39f82 Merge change 5609 into donut
* changes:
  Update spinner's drawables. Clean up resources, pave the way for new animation.
2009-06-26 19:22:38 -07:00
Android (Google) Code Review
8553a1ddeb Merge change 5595 into donut
* changes:
  We might try to close the Vorbis file twice under certain circumstances. This fix nulls the mFile member so we don't try to close it twice. Bug 1904783.
2009-06-26 17:44:42 -07:00
Android (Google) Code Review
27dba30ac9 Merge change 5578 into donut
* changes:
  Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser. In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION as we are replacing that with this.
2009-06-26 16:38:51 -07:00
Android (Google) Code Review
78b688a250 Merge change 5570 into donut
* changes:
  Adding implementation of IPA to the TextToSpeech.java
2009-06-26 16:24:03 -07:00
Android (Google) Code Review
c77b9a6541 Merge change 5581 into donut
* changes:
  Add a null check in an AutoCompleteTextView callback to prevent a crash.
2009-06-26 16:23:51 -07:00
Android (Google) Code Review
ee767ec8a1 Merge change 5569 into donut
* changes:
  Trim some superfluous imports.
2009-06-26 15:28:42 -07:00
Android (Google) Code Review
b40705664d Merge change 5554 into donut
* changes:
  Adding in the playSilence method to TextToSpeech.java
2009-06-26 15:20:36 -07:00
Android (Google) Code Review
21782b9ede Merge change 5192 into donut
* changes:
  make BitwiseInputStream.read return int
2009-06-26 14:41:51 -07:00
Android (Google) Code Review
d8c2564bbf Merge changes 5548,5549 into donut
* changes:
  Better (and less) logging from backup.
  Add an extra null terminator.  String8::unlockBuffer is supposed to be doing this, but it's not and I can't figure out why.  This makes BackupHelperDispatcher able to read the keys correctly.
2009-06-26 14:19:59 -07:00
Joe Onorato
6eabaa311f Better (and less) logging from backup. 2009-06-26 17:19:11 -04:00
Android (Google) Code Review
5579a65263 Merge change 5544 into donut
* changes:
  Pipe all the camera callbacks to Java to facilitate the addition of new features. This will make it easy to add things like zoom callbacks without modifying the entire camera stack. Bug 1837832.
2009-06-26 14:02:10 -07:00
Android (Google) Code Review
899543b030 Merge change 5483 into donut
* changes:
  Expand support for different screen sizes.
2009-06-26 13:46:07 -07:00
Dianne Hackborn
21342c5c19 Expand support for different screen sizes.
Applications can now declare that they support small, normal, or
large screens.  Resource selection can also be done based on these
sizes.  By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes.  In either
case they can use <supports-screens> in their manifest to declare
what they actually support.
2009-06-26 13:37:05 -07:00
Dave Sparks
c06b7cb6f3 Pipe all the camera callbacks to Java to facilitate the addition
of new features. This will make it easy to add things like zoom
callbacks without modifying the entire camera stack.
Bug 1837832.
2009-06-26 13:33:32 -07:00
Android (Google) Code Review
24bd9da2fb Merge change 5529 into donut
* changes:
  Tweak the core and maximum pool sizes for AsyncTask.
2009-06-26 13:19:59 -07:00
Android (Google) Code Review
0fccd5bfc0 Merge change 5537 into donut
* changes:
  Add a test for SharedPreferencesBackupHelper
2009-06-26 11:48:54 -07:00
Android (Google) Code Review
955a6690f4 Merge change 5447 into donut
* changes:
  Adding skeleton methods for IPA support.
2009-06-26 11:28:43 -07:00
Android (Google) Code Review
4b3fc717bd Merge change 5470 into donut
* changes:
  Use the same interface in the TTS engine interface for setLanguage and loadLanguage. Adding function to check the support level for a language in TTS engine interface.
2009-06-26 10:53:23 -07:00
Jean-Michel Trivi
0a90b69714 Use the same interface in the TTS engine interface for setLanguage and loadLanguage.
Adding function to check the support level for a language in TTS engine interface.
2009-06-26 09:46:28 -07:00
Android (Google) Code Review
781d1ce454 Merge change 5459 into donut
* changes:
  Make the BackupHelperDispatcher properly handle multiple helpers.
2009-06-25 18:04:05 -07:00
Android (Google) Code Review
562c536d1d Merge change 5444 into donut
* changes:
  In the native layer for the TTS service, delete the data allocated for the callback after the signal for the end of the synthesis has been received.
2009-06-25 17:35:59 -07:00
Android (Google) Code Review
c84046992a Merge change 5434 into donut
* changes:
  Adding splitting to the TTS to guard against extremely long strings.
2009-06-25 16:08:14 -07:00
Android (Google) Code Review
ac982aa77f Merge change 5428 into donut
* changes:
  Improve handling of FILL_PARENT in RelativeLayout.
2009-06-25 15:28:10 -07:00
Android (Google) Code Review
a54d053e79 Merge change 5350 into donut
* changes:
  move ui/Time.cpp to core/jni, since this is the only place it is used
2009-06-25 15:09:44 -07:00
Android (Google) Code Review
457cecdcb8 Merge change 5414 into donut
* changes:
  Add caching of the speech rate and language in android.speech.tts.TextToSpeech so the speech params can be passed along in calls for text synthesis.
2009-06-25 14:58:51 -07:00
Android (Google) Code Review
8dac9abebe Merge change 5417 into donut
* changes:
  Fixes #1943309. RelativeLayout was confused by gravities.
2009-06-25 14:49:23 -07:00
Android (Google) Code Review
6975fcb2f5 Merge change 5413 into donut
* changes:
  Need to write the correct float math.
2009-06-25 14:44:38 -07:00
Mathias Agopian
a8664df810 move ui/Time.cpp to core/jni, since this is the only place it is used 2009-06-25 14:39:56 -07:00
Android (Google) Code Review
d654ae6d7e Merge change 5397 into donut
* changes:
  Fixes #1943915. Prevents circular dependency exception when using several NO_ID views.
2009-06-25 13:32:52 -07:00
Android (Google) Code Review
c9065c6e84 Merge change 5385 into donut
* changes:
  Updating the TextToSpeech.java with skeleton methods.
2009-06-25 13:22:57 -07:00
Android (Google) Code Review
defcf8020d Merge change 5352 into donut
* changes:
  fix [1942438] eglGetCurrentSurface() returns bogus value
2009-06-25 13:22:55 -07:00
Android (Google) Code Review
1bc9e127d9 Merge change 5390 into donut
* changes:
  When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.
2009-06-25 13:18:24 -07:00
Android (Google) Code Review
53fae4c3fb Merge change 5239 into donut
* changes:
  Fix SMS Ack.
2009-06-25 13:12:30 -07:00
Android (Google) Code Review
e22b11a13e Merge change 5389 into donut
* changes:
  Skip spaces and tabs in readProcLines()
2009-06-25 13:11:18 -07:00
Android (Google) Code Review
2ec79d0cc0 Merge change 5394 into donut
* changes:
  Fixes #1940605. RelativeLayout was swapping horizontal and vertical dependencies.
2009-06-25 13:02:50 -07:00
Android (Google) Code Review
1e29daf91b Merge change 4739 into donut
* changes:
  Add PPTP, L2TP/IPSec preshared key and other fixes.
2009-06-25 12:26:02 -07:00
Android (Google) Code Review
912e5d0f38 Merge change 5288 into donut
* changes:
  Invoke getSystem.updateConfiguration when binding an application to update config changes in Resources.mSystem Since Resources is preloaded in the zygote, system resources in Resources need to be updated with config changes every time an application is started
2009-06-25 12:14:53 -07:00
Android (Google) Code Review
28d48710f1 Merge change 5386 into donut
* changes:
  Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is targeted.
2009-06-25 12:05:08 -07:00
Hung-ying Tyan
c0b5d8a5fe Add PPTP, L2TP/IPSec preshared key and other fixes.
* Changes
  + Add PptpProfile.java, PptpService.java.
  + Add L2tpIpsecPskProfile.java
  + Add PPTP and L2TP_IPSEC_PSK entries in VpnType.java.
  + Add the secret option to L2tpProfile.java and have L2tpIpsecProfile
    extend it.
  + Add MtpdHelper to send common PPP options.
  + Add getGatewayIp() to VpnService().
  + Revise VpnService.reallyGetHostIp().

  Patch Set 6, 7, 8:
  + Add L2TP secret flag in L2tpProfile.

  Patch Set 9:
  + Add description to VpnType.

  Patch Set 11:
  + Pass ipparam to mtpd.

  Patch Set 12:
  + Add L2TP secret support
  + Fix string constants
2009-06-26 03:02:22 +08:00
Android (Google) Code Review
4af209f6b0 Merge change 5300 into donut
* changes:
  Using a sendBroadcast to notify interested parties of when the TTS queue has finished processing.
2009-06-25 10:20:31 -07:00
Android (Google) Code Review
e0ed7d7660 Merge change 5351 into donut
* changes:
  Add a method to Process to get uid for a pid.
2009-06-25 00:46:17 -07:00
Android (Google) Code Review
e8503ae079 Merge change 5344 into donut
* changes:
  frameworks/base: CDMA voicemail support
2009-06-25 00:09:18 -07:00
Mathias Agopian
f51f9c8af3 fix [1942438] eglGetCurrentSurface() returns bogus value 2009-06-24 23:59:16 -07:00
Android (Google) Code Review
7863d064fe Merge change 5339 into donut
* changes:
  Fix intermittent crash related to call waiting
2009-06-24 23:57:59 -07:00
Android (Google) Code Review
8ceb326988 Merge change 5329 into donut
* changes:
  frameworks/base - CDMA settings additions
2009-06-24 23:39:07 -07:00
Android (Google) Code Review
6007b6d7fa Merge change 5199 into donut
* changes:
  Only remove client after the hardware is teared down, so a new client is rejected before old client is done.
2009-06-24 20:33:11 -07:00