76307 Commits

Author SHA1 Message Date
Romain Guy
2e353b35f0 am 2db084fa: Merge "Dialog not dismissed when tearing down dialog fragment." into jb-dev
* commit '2db084fa95a849c059db8094eddec155109c60c0':
  Dialog not dismissed when tearing down dialog fragment.
2012-05-06 14:08:01 -07:00
Romain Guy
2db084fa95 Merge "Dialog not dismissed when tearing down dialog fragment." into jb-dev 2012-05-06 14:06:05 -07:00
Romain Guy
95b0c45b06 am aaa71475: Merge "Remove unnecessary framework allocations" into jb-dev
* commit 'aaa7147595346fdd398e2932817e075acbb8e497':
  Remove unnecessary framework allocations
2012-05-06 13:31:15 -07:00
Romain Guy
aaa7147595 Merge "Remove unnecessary framework allocations" into jb-dev 2012-05-06 13:27:29 -07:00
Svetoslav Ganov
44bfdd88a7 Dialog not dismissed when tearing down dialog fragment.
1. The dismiss implementaton in Dialog was posting a message
   on the main thread to perform the real dismiss work. The
   goal of this was to allow calling dismiss() from multiple
   threads. The side effect of this is that when dialog fragment
   is dismissed the dialog is not dimissed until the current
   loop on the main thread is completed. However, during rotation
   of the screen the current activity has to be restarted, hence
   all fragments whould be removed. In the destruction process
   the dialog grament requests from the dialog to dismiss but
   since this is asynchromous, the code in
   ActivityThread#handleDestroyActivity detects a leaking window
   since the dialog window is still not removed and removes that
   window. Now when the dialog removal message is processed on
   the next loop we get an exception that the window has already
   been removed. Now if Dialog#dismiss() is called from the
   main thread the call goes right though otherwise a message is
   posted.

bug:5911682

Change-Id: I449d6dd75a84c0ff29ea13dac7d163219cc38341
2012-05-06 13:21:33 -07:00
Romain Guy
ab4c4f4ff7 Remove unnecessary framework allocations
These allocations were frequently triggered by the home screen. This change
removes dozens of allocations during page scrolls on home.

Change-Id: I7289efa28ecf5bd62459042b10062aa9cf0432dd
2012-05-06 13:11:24 -07:00
Dianne Hackborn
7bedac9417 am 139e5aa1: Fix issue #6404215: New ActionBar auto-hide can conflict with application
* commit '139e5aa1da51b27231ab36344cf2d0dafab23f1e':
  Fix issue #6404215: New ActionBar auto-hide can conflict with application
2012-05-06 12:48:45 -07:00
Dianne Hackborn
139e5aa1da Fix issue #6404215: New ActionBar auto-hide can conflict with application
The action bar now maintains separate states for the things that can
impact its visibility (calls from the app, action mode, system UI) so
that the changes in these won't incorrectly mix together.

Also added a hack to force the status bar to be shown when showing
the action bar for an action mode, when the UI is in a state where
the action bar would be shown with a gap above where the status bar
is.

Change-Id: Ib0950a7f585c5d2c9e77d11b237ba6e150f15ebd
2012-05-06 11:52:05 -07:00
Pin Ting
aa04866174 am d0c66f6a: Merge "Fix javadoc." into jb-dev
* commit 'd0c66f6a8f15bb95648b4306d2583575d0bb9935':
  Fix javadoc.
2012-05-06 07:14:11 -07:00
Pin Ting
d0c66f6a8f Merge "Fix javadoc." into jb-dev 2012-05-06 07:12:02 -07:00
Dianne Hackborn
ce1d03b399 am 3fd4a382: Merge "Implement cropping of windows based on system UI elements." into jb-dev
* commit '3fd4a3822160e8ad84122641a56c9f92540d02b5':
  Implement cropping of windows based on system UI elements.
2012-05-05 14:17:57 -07:00
Dianne Hackborn
3fd4a38221 Merge "Implement cropping of windows based on system UI elements." into jb-dev 2012-05-05 14:15:39 -07:00
Dianne Hackborn
3556c9a806 Implement cropping of windows based on system UI elements.
Start calling Surface.setActiveRect().

Change-Id: I94197059c971c6ab7820e615ea8f285482b86c75
2012-05-05 14:12:13 -07:00
Dianne Hackborn
dbd7131cf4 am e3320e6d: Merge "Fix issue #6444627: New status bar/action bar interaction a bit disjoint" into jb-dev
* commit 'e3320e6d91443450351d49cc2b37477070fb0ce8':
  Fix issue #6444627: New status bar/action bar interaction a bit disjoint
2012-05-05 14:09:56 -07:00
Dianne Hackborn
e3320e6d91 Merge "Fix issue #6444627: New status bar/action bar interaction a bit disjoint" into jb-dev 2012-05-05 14:07:02 -07:00
Conley Owens
9faf131723 am ee50eec0: (-s ours) am a10cc893: Merge "Revert "Telephony: Register/Unregister Phones with CallManager""
* commit 'ee50eec00cb819f986afbaf89b4c8e44b018892b':
  Revert "Telephony: Register/Unregister Phones with CallManager"
2012-05-04 19:45:41 -07:00
Conley Owens
9229ad930f am 356ca03c: (-s ours) am 6a1dca3e: Merge "Telephony: Register/Unregister Phones with CallManager"
* commit '356ca03c10c0ade514976254be0e666a6120c192':
  Telephony: Register/Unregister Phones with CallManager
2012-05-04 19:42:26 -07:00
Jean-Baptiste Queru
e7339d804d resolved conflicts for merge of acb5f383 to jb-dev-plus-aosp
Change-Id: I79f0394b20a61dc7e6faabdb74c66277f71dfcb3
2012-05-04 19:18:00 -07:00
Dianne Hackborn
1cc2bcedb5 Fix issue #6444627: New status bar/action bar interaction a bit disjoint
Make sure action bar animations use same duration as system dock animations.

Change-Id: Ie294d134177207499a05cc93db8f4b859f07ed0c
2012-05-04 18:59:02 -07:00
Conley Owens
ee50eec00c am a10cc893: Merge "Revert "Telephony: Register/Unregister Phones with CallManager""
* commit 'a10cc893f7e1f21783ea60c50a49401181611027':
  Revert "Telephony: Register/Unregister Phones with CallManager"
2012-05-04 18:13:20 -07:00
Conley Owens
356ca03c10 am 6a1dca3e: Merge "Telephony: Register/Unregister Phones with CallManager"
* commit '6a1dca3e1c863a3d2db654a1b9fb7156fb3da00d':
  Telephony: Register/Unregister Phones with CallManager
2012-05-04 18:13:17 -07:00
Jean-Baptiste Queru
acb5f383ea am 4b27125d: Merge changes Ib28636e6,I93ebc433
* commit '4b27125d8881924f003dfc70f46b21ab5d57f2a8':
  WallpaperManagerService does not properly propagate setDimensionHints()
  ImageWallpaper : get bitmap width before calc screen offset
2012-05-04 18:13:14 -07:00
Conley Owens
a10cc893f7 Merge "Revert "Telephony: Register/Unregister Phones with CallManager"" 2012-05-04 17:56:14 -07:00
Conley Owens
6a0f525a16 Revert "Telephony: Register/Unregister Phones with CallManager"
This reverts commit cbca38522ca90322cfc9ccbb7872586807bf6c48
2012-05-04 17:41:32 -07:00
Conley Owens
6a1dca3e1c Merge "Telephony: Register/Unregister Phones with CallManager" 2012-05-04 17:40:56 -07:00
Romain Guy
f9d5ee556a am 5b972e73: Merge "Don\'t check whether dismiss() is called on the UI thread Bug #6436642" into jb-dev
* commit '5b972e730f99ea4cf74f8ccf3e2c57289255c4f6':
  Don't check whether dismiss() is called on the UI thread Bug #6436642
2012-05-04 17:28:51 -07:00
Romain Guy
5b972e730f Merge "Don't check whether dismiss() is called on the UI thread Bug #6436642" into jb-dev 2012-05-04 17:27:11 -07:00
Svetoslav Ganov
81c0f9df0b am 35d79991: Merge "API REVIEW: android.widget.CalendarView" into jb-dev
* commit '35d79991d5c97270f6c34d0da8879ea4c3984f80':
  API REVIEW: android.widget.CalendarView
2012-05-04 17:22:20 -07:00
Nick Pelly
98a4d3ef92 am 1dd00544: Merge "Log PID of apps requesting location updates." into jb-dev
* commit '1dd005441301ab91c2df3d7dd6b1458c2006135e':
  Log PID of apps requesting location updates.
2012-05-04 17:19:44 -07:00
Svetoslav Ganov
35d79991d5 Merge "API REVIEW: android.widget.CalendarView" into jb-dev 2012-05-04 17:18:51 -07:00
Romain Guy
05e1c3a691 Don't check whether dismiss() is called on the UI thread
Bug #6436642

An app invoking dismiss() during a draw pass could cause crashes.
This change makes the code simpler too.

Change-Id: Iba89a8522e23d02f87697cfeec6cc713a1462669
2012-05-04 17:18:29 -07:00
Nick Pelly
1dd0054413 Merge "Log PID of apps requesting location updates." into jb-dev 2012-05-04 17:17:57 -07:00
Svetoslav Ganov
414efc3b5f API REVIEW: android.widget.CalendarView
1. Making sure that the comment blocks for methods setting/getting
   resource attributes include links to the related attribute
   documentation.

bug:6442803

Change-Id: If8acedfedf02400eee3f61ca3029325c05a5fb86
2012-05-04 16:54:06 -07:00
Mathias Agopian
f3df8789f7 am b05b158b: Merge "report a Sensor\'s version from the HAL" into jb-dev
* commit 'b05b158b84b620e46d736dcaf038fa6268cbcb00':
  report a Sensor's version from the HAL
2012-05-04 16:34:05 -07:00
Mathias Agopian
b05b158b84 Merge "report a Sensor's version from the HAL" into jb-dev 2012-05-04 16:30:32 -07:00
Nick Pelly
6e4cb6a93b Log PID of apps requesting location updates.
BUG=6444765

Change-Id: Ib948b8fddb99f95f63486fbc096a26609c1a6c21
2012-05-04 16:18:09 -07:00
Dianne Hackborn
967b361cd3 am 6ad5b4f6: Merge "Fix issue #6426645: API REVIEW: android.app.ActivityOptions" into jb-dev
* commit '6ad5b4f637e64cb07a17079424cff66c867c7f27':
  Fix issue #6426645: API REVIEW: android.app.ActivityOptions
2012-05-04 16:12:37 -07:00
Dianne Hackborn
6ad5b4f637 Merge "Fix issue #6426645: API REVIEW: android.app.ActivityOptions" into jb-dev 2012-05-04 16:10:16 -07:00
Michael Jurka
a6b863a44d am c9c23196: Merge "Fix NPE for real" into jb-dev
* commit 'c9c23196a11bda6fbc1c44f6d170b3626b036474':
  Fix NPE for real
2012-05-04 16:01:21 -07:00
Michael Jurka
c9c23196a1 Merge "Fix NPE for real" into jb-dev 2012-05-04 15:58:02 -07:00
Fabrice Di Meglio
fe76fa41da am ebbd247d: Merge "Update Arabic font for SystemUI" into jb-dev
* commit 'ebbd247d83270df7c9f3c2f68d3ee9856c86a0b9':
  Update Arabic font for SystemUI
2012-05-04 15:55:58 -07:00
Fabrice Di Meglio
ebbd247d83 Merge "Update Arabic font for SystemUI" into jb-dev 2012-05-04 15:53:49 -07:00
Svetoslav Ganov
9878a04b3c am 5fd72a2c: Merge "Finding focus for from rectangle now working." into jb-dev
* commit '5fd72a2cceae9955af316f32e17a84515c317738':
  Finding focus for from rectangle now working.
2012-05-04 15:52:45 -07:00
Mathias Agopian
277d1b2f49 report a Sensor's version from the HAL
Bug: 6447433
Change-Id: I0f46cb378de9bde20876608d5459689cc108c592
2012-05-04 15:51:29 -07:00
Svetoslav Ganov
5fd72a2cce Merge "Finding focus for from rectangle now working." into jb-dev 2012-05-04 15:49:44 -07:00
Michael Jurka
9d69b4463f Fix NPE for real
Bug: 6444814
2012-05-04 15:46:32 -07:00
Jeff Sharkey
084c71ebad am 8c58677e: Merge "Fix network stats and policy tests." into jb-dev
* commit '8c58677e28bf6c546a0a91aa85032e8c9658ff8b':
  Fix network stats and policy tests.
2012-05-04 15:27:33 -07:00
Jeff Sharkey
8c58677e28 Merge "Fix network stats and policy tests." into jb-dev 2012-05-04 15:24:53 -07:00
Jeff Sharkey
0cf6de0c93 Fix network stats and policy tests.
Bug: 6299195
Change-Id: I1941b5f7329940cc7469bd3fda17c3dc3a656250
2012-05-04 15:15:42 -07:00
Fabrice Di Meglio
cf4284bce1 Update Arabic font for SystemUI
- bug #5987379 Need an Arabic font with metrics "compatible" with Roboto
- use the Alt version with GSUB optimizations

Change-Id: I4d8c62cab37a7b010abab602c39899084d347fdc
2012-05-04 15:14:58 -07:00