110219 Commits

Author SHA1 Message Date
Dianne Hackborn
42380b6de6 am 9f11f105: am 7f09ec39: Fix issue #10226007: Reset apps restores most of the changed settings...
* commit '9f11f105cd2983021a73b9aa921674fbff3457f3':
  Fix issue #10226007: Reset apps restores most of the changed settings...
2013-08-07 16:14:11 -07:00
Dianne Hackborn
9f11f105cd am 7f09ec39: Fix issue #10226007: Reset apps restores most of the changed settings...
* commit '7f09ec39b6fd7f24751f814649f12ea686cb28d4':
  Fix issue #10226007: Reset apps restores most of the changed settings...
2013-08-07 16:09:14 -07:00
Alan Viverette
d53e376ce3 Merge "Fix FastScroller regression for non-UI threads" 2013-08-07 22:59:17 +00:00
Victoria Lease
250d3c27a6 Merge "prototype colour emoji font" 2013-08-07 22:51:22 +00:00
Dianne Hackborn
7f09ec39b6 Fix issue #10226007: Reset apps restores most of the changed settings...
...to original but not all modified ones

Very stupid mistakes in messing up the iteration when pruning op
entries.

Change-Id: Ie536b9095f797fcd2b86c9a386a72746796430d1
2013-08-07 15:49:02 -07:00
Alan Viverette
39bed695ce Fix FastScroller regression for non-UI threads
Previously it was safe to call setFastScrollEnabled() and
setFastScrollAlwaysVisible() off the UI thread. After switching
FastScroller to use an Overlay, these methods stopped working.

This change ensures that all direct interaction with FastScroller
happens on the thread that created the host AbsListView.

BUG: 10210504
Change-Id: Ib6d9bd9212965420c0de39546652e3bc2d32ff8b
2013-08-07 15:47:04 -07:00
Victoria Lease
a0cbcd509f prototype colour emoji font
Bug: 9577689
Change-Id: Ia92460280fa00fc6849cfa8aa41ca06ae5866b4a
2013-08-07 15:46:16 -07:00
David Christie
eb2e139b38 Merge "Unhide Context.APP_OPS_SERVICE" 2013-08-07 22:44:36 +00:00
Romain Guy
cb883303f9 Only destroy remote graphic buffers
Bug #9795157

Change-Id: Ia7a39d3ef40994fede185482a5b4ca5500249b34
2013-08-07 15:42:29 -07:00
John Spurlock
1caf7eb599 Don't always auto-collapse an empty notification shade.
If the user is actively interacting with the shade, don't
collapse it from underneath them.

Bug:10226720
Change-Id: Idf26c8f59dc5a1a5ae3b4314f1ca81740b0517e7
2013-08-07 18:06:18 -04:00
Jeff Brown
ef981a40aa Fix propagation of display overscan information.
Fix several problems in the way that the overscan was plumbed in
which could result in information not being delivered to applications.
There was also a violation of certain invariants regarding the
immutability of returned DisplayInfo objects.

Bug: 10213771
Change-Id: I21184a14305e44278b5e81353bf95d511e8517fb
2013-08-07 14:33:50 -07:00
Jeff Brown
18ec40c44c Merge "Destroy surfaces when display is removed." 2013-08-07 21:32:32 +00:00
David Christie
db3720d42d Add helper methods to set/query the location master switch.
Consolidates the logic of exactly what the master switch means
so that if we change in the future, we don't have to find
all the different parts of the code that use it (location
settings, location quick settings, power widget, etc).

Change-Id: Ib918143b82e16541f0873c4d9141adb11fb815fc
2013-08-07 14:15:34 -07:00
Ben Gruver
dd72c9ed55 Improve the logic for determining whether the caller is a system app
Bug: 10024554
Change-Id: I742e918840a98dd83d713bdf7a43a919674e65fe
2013-08-07 13:59:17 -07:00
Mathias Agopian
9fb9a1c5c1 Merge "Fix a bug where window animation could be janky" 2013-08-07 20:36:26 +00:00
Alan Viverette
93e095b731 Merge "Add copy constructors for all widget-specific LayoutParams" 2013-08-07 20:31:45 +00:00
Alan Viverette
0a0e155cad Add copy constructors for all widget-specific LayoutParams
BUG: 10215589
Change-Id: I4c040091e216c87f851d6b617107f43729e55b0c
2013-08-07 13:24:09 -07:00
Dirk Dougherty
6e4cc12a6c am ec997806: am 1153eb46: am 4e847bd1: Doc change: fix federated urls.
* commit 'ec9978063794317b9934e2fc9ae4eb2de8c9b7a4':
  Doc change: fix federated urls.
2013-08-07 13:18:34 -07:00
Craig Mautner
2eb15342be Destroy surfaces when display is removed.
Fixes bug 10226153.

Change-Id: I4eb8b14258985768d36745260ad4e62ba6c78844
2013-08-07 13:13:35 -07:00
Mathias Agopian
9c72281d97 Fix a bug where window animation could be janky
SurfaceControl.closeTransaction() will block until the transaction
takes effect and this happens at the next vsync -- in practice
it means this call blocks for ~15ms.

Immediately after that we ask the choreographer to schedule the
next frame, which will happen at the next vsync. depending the
timing, this would cause the window manager to animate at 30 fps
instead of 60.

This is fixed here by calling the choreographer before we
call closeTransaction().

In the near future, we should be able to fix this by using
an offseted vsync for the window manager and it won't need
closeTransaction() to block at all.

Bug: 10209014
Change-Id: I33d0c5ecfc25154b2859f3023a8cda6e641826bf
2013-08-07 12:07:24 -07:00
David Christie
f45c9a0c6a Unhide Context.APP_OPS_SERVICE
Change-Id: Iab3e3fb2a32c3407c61abb694e21d84b50579d4f
2013-08-07 11:44:54 -07:00
Alan Viverette
7a2de0615f Merge "Add API for scrolling AbsListView by a pixel amount" 2013-08-07 18:38:15 +00:00
Todd Poynor
df89ca3308 batteryservice: add battery current now and charge counter data
Available for retrieval via future APIs if desired.  Dumped by dumpsys.
Not added to batterystats or ACTION_BATTERY_CHANGED intents at this point.

Also fixes a formatting problem in the existing dumpsys output for voltage.

Change-Id: I5320b19035914256fb872c13095c09c648dd522a
2013-08-07 18:33:12 +00:00
Craig Mautner
9a04435e5f Merge "Compare tasks not activities." 2013-08-07 18:26:49 +00:00
Craig Mautner
d0f964f93f Compare tasks not activities.
In order to determine if the topmost activity needs to be moved out
of the way, compare its task to the task of the source activity
rather than compare the activities themeselves.

Fixes bug 10182783.

Change-Id: Idd4542d7ddce8b7586ee47f100366bc47e07d54f
2013-08-07 11:16:33 -07:00
Amith Yamasani
d8e974931e Merge "Try again to cleanup all blocked apps" 2013-08-07 18:10:23 +00:00
Amith Yamasani
5e486f59c7 Try again to cleanup all blocked apps
Since the Restrictions feature was removed, some cleanup code was
added to unblock apps. But the cleanup is causing some runtime exceptions
due to happening too early in the boot up sequence. Moved the cleanup
to after boot_completed broadcast is received.

Bug: 10212758
Change-Id: Id42eff16b54c24ea48cf8b3a81f77ea801264edd
2013-08-07 11:06:44 -07:00
Joe Malin
68091b9e10 am 72289702: am 6180f104: DOC CHANGE: Fixed bug 10210178
* commit '72289702e5e134eb189a208aa6e2fb3edb041f7a':
  DOC CHANGE: Fixed bug 10210178
2013-08-07 10:47:59 -07:00
Joe Malin
72289702e5 am 6180f104: DOC CHANGE: Fixed bug 10210178
* commit '6180f104cf8c97316e77a4bbfd95992c2b7649cb':
  DOC CHANGE: Fixed bug 10210178
2013-08-07 10:44:45 -07:00
Brian Williammee
e2b1b8e2ad Merge "Track latency of captive portal checks" 2013-08-07 17:34:50 +00:00
Glenn Kasten
d840526196 Merge "Update audio comments" 2013-08-07 17:17:56 +00:00
Dianne Hackborn
feca78f7af Merge "Start adding IPC calls to retrieve proc stat data." 2013-08-07 17:15:05 +00:00
Baligh Uddin
b83f62236c Merge "Import translations. DO NOT MERGE" 2013-08-07 17:11:35 +00:00
Dianne Hackborn
23fb6e8418 Start adding IPC calls to retrieve proc stat data.
Also fix a bug where we were not correctly unparcelling service
duration data.

Change-Id: Ie9113b2e3a747622441b1939ffc45edb5803a10f
2013-08-07 10:08:22 -07:00
Joe Malin
6180f104cf DOC CHANGE: Fixed bug 10210178
Change-Id: If6e955ea287e66df20a441ab44e7bd4557645348
2013-08-07 09:53:09 -07:00
The Android Open Source Project
9d42e438cb Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
Change-Id: I9936340ef1544aad7b8115dc37e3fb9094ed0e2d
2013-08-07 09:43:07 -07:00
Baligh Uddin
85ba45dd62 Merge "Import translations. DO NOT MERGE" 2013-08-07 16:32:41 +00:00
Craig Mautner
039ceed41a Merge "Create SurfaceSession before creating DimLayer." 2013-08-07 16:27:20 +00:00
Craig Mautner
dee8bf0eb5 Create SurfaceSession before creating DimLayer.
Fixes "java.lang.IllegalArgumentException: session must not be null"

Change-Id: Id7e77a44e59e5169ed8944682ab79783631182dd
2013-08-07 09:24:11 -07:00
Marco Nelissen
53d86f6e49 am f5cfe708: am e8acd367: Merge "When deleting a db file, Context.deleteDatabase() has to be called instead of File.delete() to guarantee all db related files like journal, wal, shm, etc are deleted together."
* commit 'f5cfe708a61ecbd89c9db6e09c185ccb3ab87a4a':
  When deleting a db file, Context.deleteDatabase() has to be called instead of File.delete() to guarantee all db related files like journal, wal, shm, etc are deleted together.
2013-08-07 08:44:43 -07:00
Marco Nelissen
f5cfe708a6 am e8acd367: Merge "When deleting a db file, Context.deleteDatabase() has to be called instead of File.delete() to guarantee all db related files like journal, wal, shm, etc are deleted together."
* commit 'e8acd367acb82bd80deed31467adcdd9ab83248b':
  When deleting a db file, Context.deleteDatabase() has to be called instead of File.delete() to guarantee all db related files like journal, wal, shm, etc are deleted together.
2013-08-07 08:42:54 -07:00
Marco Nelissen
e8acd367ac Merge "When deleting a db file, Context.deleteDatabase() has to be called instead of File.delete() to guarantee all db related files like journal, wal, shm, etc are deleted together." 2013-08-07 15:39:39 +00:00
Marco Nelissen
ca4553d33f am 7ffbcb28: am ca5d99ac: Merge "Guarantee that all db related files are deleted together."
* commit '7ffbcb2892e66059ec0cce26b4d6054c7778c711':
  Guarantee that all db related files are deleted together.
2013-08-07 08:38:12 -07:00
Marco Nelissen
7ffbcb2892 am ca5d99ac: Merge "Guarantee that all db related files are deleted together."
* commit 'ca5d99ac41f00c282b9101d9b84da0338f15798e':
  Guarantee that all db related files are deleted together.
2013-08-07 08:34:17 -07:00
Marco Nelissen
ca5d99ac41 Merge "Guarantee that all db related files are deleted together." 2013-08-07 15:30:51 +00:00
Chris Wren
9afc50deda Animate the heads up notification into the shade.
Bug: 10001874
Change-Id: I14ece05dbc29a93a551381c6ddc3cbbb8a331430
2013-08-07 11:07:21 -04:00
Chris Wren
4c91312d55 ensure heads up slider is initialized.
Change-Id: I4095b89133b64dd5c5d81e3b7fab288ee5538654
2013-08-07 11:07:21 -04:00
Chris Wren
0f2aa68e3c proper geometry for heads up on tablets.
also some code cleanup since things are getting complicated.

Bug: 10074485
Change-Id: I900a60f0fdda8d2ef1bcfe01035d6f716e14aa56
2013-08-07 11:07:21 -04:00
Ken Wakasa
c3a1914bd7 Revert "Reduce the transaction fee of getEnabledInputMethodSubtypeList"
This reverts commit e9a6f9713ca48aab9a6c87e0645cb0a0af946a11.

Change-Id: I611d31086d4f02aae5c7021ac92975bd92a59f34
2013-08-07 15:03:24 +00:00
Satoshi Kataoka
e9a6f9713c Reduce the transaction fee of getEnabledInputMethodSubtypeList
Bug: 8467480
Change-Id: Ic1fddfe433e097041fcb09d1fd341d77d7d8b13b
2013-08-07 17:12:58 +09:00