23135 Commits

Author SHA1 Message Date
Shimeng (Simon) Wang
72a1d2e138 Keep initial zoom overview for non-standard load.
In case of non-standard load such as reload, currently the ZoomManager's
onFirstLayout will not be triggered, hence initial zoom overview will not
be set.

This change provides a fix to set initial zoom overview in case of
non-standard load for the new picture after first layout.

issue: 4975315
Change-Id: If2ba3e472f2bb7b6fc4c52024d18a66dc1e41a23
2011-06-30 13:36:53 -07:00
Shimeng (Simon) Wang
be768ee508 Use default scale when restored scale is 0.
issue: 4975315
Change-Id: I47aa09605bb245cd271932d59d4d334f1e1b732f
2011-06-30 10:27:30 -07:00
satok
fe41366e3a Merge "Add onClickView to InputMethodService" 2011-06-29 08:14:54 -07:00
satok
863fcd6217 Add onClickView to InputMethodService
Bug: 4697141

- onClickView is called everytime the user taps EditText

Change-Id: Ia71ad325e50a20e9e1001def662ef992bb50a9d0
2011-06-29 23:24:24 +09:00
Flavio Lerda
9ef78f00d2 Constants for accessing call log with voicemails.
Move the constants from the contacts provider implementation to the
framework.

These constants will remain hidden as currently only the system is
allowed access to the voicemail, protected by a signature permission.

Change-Id: I7cdb0fe217603b3d755238067a877f4209f4c26c
2011-06-29 10:51:59 +01:00
Jesse Wilson
b0b713f25b Merge "Move socket tagging from libcore." 2011-06-28 23:47:02 -07:00
Jesse Wilson
8568db5341 Move socket tagging from libcore.
Change-Id: I7515896936c5bbd212c88e2801b831914219a925
2011-06-28 23:43:51 -07:00
Svetoslav Ganov
01fa0d7aae Date and time pickers do not show properly on phone
1. Copied the default NumberPicker layout to sw-600dip
   i.e. in the layouts for tablets and changed the
   layout to fit on the screen. No mini calendar on
   phones - you need an microsope to see it.

2. Fixed a two pixel off erroro in NumberPicker noticable
   when the scroll wheel fades away.

bug:4259424

Change-Id: I07a73faff1e95dffd30424cc8addd35f2fe30e8f
2011-06-28 22:25:03 -07:00
Jeff Brown
e9e860762b Merge "Improve input event consistency invariants." 2011-06-28 20:17:59 -07:00
Jeff Brown
8134681b25 Improve input event consistency invariants.
Fixed some issues where inconsistent streams of events could
be generated by the dispatcher, particularly when switching from
hovering with one device to hovering with another.

Fixed a bug where the touch pad would fail to generate a new
HOVER_MOVE following a tap event.  As a result, the hover event
stream would not resume until the user touched the touch pad
again.

Change-Id: I444dce84641fb12e56a0af84c931520771d6c493
2011-06-28 20:10:40 -07:00
Jeff Sharkey
8994730fe3 Merge "Better network stats parsing, integer tags, async." 2011-06-28 18:02:12 -07:00
Jeff Sharkey
4414cea139 Better network stats parsing, integer tags, async.
Change NMS parsing to handle extended /proc/ stats formats by pairing
values with header keys.  Move TrafficStats to integer tags to match
kernel internals, and offer well-known tags for system services.

Async policy event dispatch from NPMS, and update tests to block for
event dispatch.  Narrow app policy to exclude apps signed with system
key, which are usually critical.

Bug: 4948913, 4903489, 4585280

Change-Id: Idb357227ccaa617906411f309371cea18d7bc519
2011-06-28 17:59:00 -07:00
Justin Ho
1619a65b58 Merge "Removing unused drawables" 2011-06-28 17:32:52 -07:00
Huahui Wu
b90a83c246 Merge "2nd try: Gets the URL that has a cert error and carrys it in SslError." 2011-06-28 16:26:32 -07:00
Justin Ho
981aa899a6 Removing unused drawables
Change-Id: I5d7306ee91a47b82dddf42214999edc06903f939
2011-06-28 15:59:37 -07:00
Dianne Hackborn
61b9fae046 Merge "Fix battery history management." 2011-06-28 14:34:51 -07:00
Daisuke Miyakawa
64c044f30e Merge "Use new usage feedback API in phone app / strequent" 2011-06-28 14:02:01 -07:00
Jeff Brown
3ec7fb4bcf Merge "Hover and stylus API cleanup." 2011-06-28 13:58:44 -07:00
Jim Miller
94e23cbb2d Merge "Fix 4691563: Fix memory leak caused by Tweeners hanging onto references." 2011-06-28 13:17:04 -07:00
Jim Miller
5b0eb1778a Merge "Fix 4691563: Don't show lock before unlock screen" 2011-06-28 12:57:25 -07:00
Jim Miller
bf591ff682 Fix 4691563: Fix memory leak caused by Tweeners hanging onto references.
This fixes a bug where the animations in MultiWaveView were keeping references
to bitmaps and preventing them from being reclaimed during GC.  The solution
is two-fold:
1. When any given animation completes, it is now removed from the list of running
animators objects.
2. When the client explicitly calls reset(), we release all references to
animators and objects.

Change-Id: Ice434ed1720fe4c253b9607ef61699d41f87f777
2011-06-28 12:55:38 -07:00
Jamie Gennis
3cf7cf5751 Merge changes I9fb59763,I8b2c6e00
* changes:
  SurfaceTexture: consume buffers after err checks
  SurfaceTexture: change onFrameAvailable behavior
2011-06-28 12:55:03 -07:00
Dianne Hackborn
ae3844527a Fix battery history management.
When rebooting the history time offset was not being handled
correctly, causing garbage data.

Change-Id: Ieca5a72c4c7c374bfe7f8673eed87354af148ef0
2011-06-28 12:34:40 -07:00
Huahui Wu
5bb9b19c5a 2nd try: Gets the URL that has a cert error and carrys it in SslError.
Identical to https://android-git.corp.google.com/g/#change,117828
which was reverted since its collaborative CL broke the build.

Change-Id: I5fa7d3e9b6026639bf72530ff5b449e36f802914
2011-06-28 12:32:56 -07:00
Adam Powell
a1d9ae69ff Fix bug 4961844 - Allow split style action bar to have 2 different colors
Add the actionBarSplitStyle theme attribute. It defaults to the value
of actionBarStyle.

Change-Id: I5e929114d9cc163df0dd429aa0714b88a1f6a7a9
2011-06-28 11:36:24 -07:00
Daisuke Miyakawa
f468591caf Use new usage feedback API in phone app / strequent
Basiaclly two changes included:

- Let CallLog use new data usage feedback API, so that
  ContactsProvider2 is able to figure out what type of contact
  method is used when a person is contacted.
- introduce phone_only parameter for strequent uri, which enables
  Contacts app to obtain a contact list for recently phone-called
  contacts.

markAsContacted() isn't used anymore, as nhe new API takes care of
old counters (TIMES_CONTACTED/LAST_TIME_CONTACTED) too.

Bug: 4371572
Change-Id: Ie193bb91ee49b18f4a546a1f52be780bb514301d
2011-06-28 11:12:33 -07:00
Huahui Wu
899639dd44 Merge "Revert "Gets the URL that has a cert error and carrys it in SslError."" 2011-06-28 10:12:56 -07:00
Huahui Wu
2e029c67a8 Revert "Gets the URL that has a cert error and carrys it in SslError."
This reverts commit 3015516a4611db23ce56ae057d281c9328cfdf24.
2011-06-28 10:10:07 -07:00
Huahui Wu
fa487ca830 Merge "Gets the URL that has a cert error and carrys it in SslError." 2011-06-28 09:38:47 -07:00
Debashish Chatterjee
5ba369f4f7 Merge "Got rid of deprecated EXTRA_CHANGED_BY from VoicemailContract." 2011-06-28 09:31:27 -07:00
Narayan Kamath
962402f46a Merge "Make the system global search provider a user setting." 2011-06-28 09:12:53 -07:00
Debashish Chatterjee
949a136dc6 Got rid of deprecated EXTRA_CHANGED_BY from VoicemailContract.
see http://b/4773134

Change-Id: Idf37cc85ef2d58875d386bffede73af64f64a7b9
2011-06-28 16:46:43 +01:00
Andy McFadden
84e297238f Remove native EventRecurrence parser
Switch over to the new parser.

Bug 4575374

Change-Id: If78d8042fb266182900398f7fc464a048c779966
2011-06-28 07:43:27 -07:00
Narayan Kamath
ee69ff4eae Make the system global search provider a user setting.
Also, modify Searchables / SearchManagerService to
honour the setting when it's set.

Change-Id: Ia63351fff4fe28ee79ac8b9e30fdb8edc43f5534
2011-06-28 15:30:49 +01:00
Debashish Chatterjee
4687cbc48d Introduced 'SELF_CHANGE' extra for voicemail notifications.
A follow up change in voicemail content provider will now
populate this extra instead instead of EXTRA_CHANGED_BY to indicate if
the change was caused by the receiver. This makes the the security of
the notifications a bit tighter by not revealing the package name of the
app that made the change to others.

See Bug http://b/4773134

Change-Id: Ie376c40c7bba9792da3b18e66d9f205166a402e0
2011-06-28 11:26:18 +01:00
Narayan Kamath
7ae28d3216 Merge "Expose the currently used engine to bundled apps." 2011-06-28 01:23:41 -07:00
Jeff Brown
53ca3f13e7 Hover and stylus API cleanup.
Added missing setOnHoverListener method.
Removed BUTTON_STATE_ERASER.

Change-Id: I5d820d0a8e47fe5fd2d88e9fd9fc3fc6ce0dea0d
2011-06-27 21:35:59 -07:00
Jake Hamby
531b95f12c Merge "Fix crash while device is pairing / unpairing." 2011-06-27 18:38:27 -07:00
Huahui Wu
3015516a46 Gets the URL that has a cert error and carrys it in SslError.
b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page.
This change receives the URL which has a cert error from webkit and carrys it in SslError.
so the Browser app can show the URL in the dialog boxes. Related CLs are:
   webkit: https://android-git.corp.google.com/g/#change,117817
   browser: https://android-git.corp.google.com/g/#change,117835

Change-Id: I65c3f038a48b6386fa93cb25a9ef70dbfb982c18
2011-06-27 18:14:54 -07:00
Jim Miller
2e4aa18884 Fix 4691563: Don't show lock before unlock screen
- Rename config_enableSlidingTabFirst to config_enableLockBeforeUnlockScreen and
default to 'false' on all devices.
- Use new larger handle asset.

Change-Id: I2537158b67642eb3f4c4a22a0bc388bf3022d408
2011-06-27 18:00:46 -07:00
Jaikumar Ganesh
c73dd732c9 Fix crash while device is pairing / unpairing.
When there are no paired devices, pairing a new device
will cause a crash since the profile proxies will be null.

Change-Id: Ie1a9fd198e46d7e9cc2ba1b2f3a806b3c709f568
2011-06-27 17:55:32 -07:00
Jamie Gennis
bd5404d031 SurfaceTexture: change onFrameAvailable behavior
This change alters the conditions under which the onFrameAvailable
callback gets called by the C++ SurfaceTexture class.  The new behavior
is to call the callback whenever a frame gets queued that will be
visible to the buffer consumer.  This means that buffers queued in
synchronous mode always trigger the callback, as those buffers will
remain pending until they are consumed.  Buffers queued in asynchronous
mode will only trigger the callback if there was not previously an
unconsumed buffer pending.

The new behavior means that a consumer should perform a draw operation
exactly once for every onFrameAvailable call that it recieves.  This
change also modifies SurfaceFlinger and the SurfaceTexture JNI to
support of the new behavior.

Change-Id: I8b2c6e00961d3d58b11c6af50b555b6e4c5f5b40
2011-06-27 15:45:39 -07:00
Brian Carlstrom
5106476bbf Merge "Moving ssl_certificate layout, resources, and helper code to SslCertificate Add IKeyChainService.deleteCaCertificate" 2011-06-27 15:15:29 -07:00
Jake Hamby
da1fa1e42f Merge "Fix race condition in WakeLocks." 2011-06-27 14:54:24 -07:00
Jean-Baptiste Queru
a2c8a7b573 am ec5039b3: am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
* commit 'ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172':
  Add WEBP to the list of Image formats that support Compression.
2011-06-27 14:15:01 -07:00
Scott Main
4971c3c4a1 am 44b48a37: am db76388e: am 9a05cfe5: docs: update docs for new screen support attributes and qualifiers
* commit '44b48a377d47bb27b667ab87347f0a88ba3fba0b':
  docs: update docs for new screen support attributes and qualifiers
2011-06-27 14:14:26 -07:00
Dave Santoro
d7e695876a Merge "Renamed INCLUDE_PROFILE param to ALLOW_PROFILE." 2011-06-27 13:52:00 -07:00
Mike J. Chen
04b9cafb32 Merge changes I0077e5e5,I42cbed69
* changes:
  Hookup interface status to other clients
  Revert "Revert "Propagate new link-status-change message to any NetworkManagementService""
2011-06-27 12:56:47 -07:00
Svetoslav Ganov
a20cdc06e5 Fixing the build
Change-Id: Ic3664e5cd812d5fe59c9cf2657a441ca76a61135
2011-06-27 12:45:30 -07:00
Svetoslav Ganov
932e4e6139 Merge "AccessibilityInjectorTest did not restore the default key binsings." 2011-06-27 12:40:50 -07:00