103749 Commits

Author SHA1 Message Date
Eric Laurent
756561f1fc am 742647c8: Merge "AudioService: removed last audible volume index" into jb-mr2-dev
* commit '742647c809622703207c34171d482c562e34b10b':
  AudioService: removed last audible volume index
2013-04-02 08:24:26 -07:00
Jeff Brown
21b41af7ea am d42ae93c: Merge "Make MessageQueue and Looper final." into jb-mr2-dev
* commit 'd42ae93c44a28f63d8f266277644864bfd0f4a16':
  Make MessageQueue and Looper final.
2013-04-02 08:24:15 -07:00
Winson Chung
0853ec1598 am 3a5a7749: Fixing NPE on screenshot error. (Bug 8328886)
* commit '3a5a774954d28911bbf9eaa7dfd8329a085fbdc5':
  Fixing NPE on screenshot error. (Bug 8328886)
2013-04-02 08:24:03 -07:00
Christopher Tate
c16da6aa15 am 73882cf4: Merge "debuggerd now notifies the Activity Manager about native crashes" into jb-mr2-dev
* commit '73882cf489b44cfd393701c0629bb2d3613857d1':
  debuggerd now notifies the Activity Manager about native crashes
2013-04-02 08:23:41 -07:00
Michael Wright
ef588f73cf am 54531f81: Merge "Flush pending input events immediately upon channel dispose" into jb-mr2-dev
* commit '54531f819567066fe4a5219eb445a453551be374':
  Flush pending input events immediately upon channel dispose
2013-04-02 08:23:38 -07:00
Michael Wright
6192341835 am cd928a41: Merge "Start input event sequence numbers at 1" into jb-mr2-dev
* commit 'cd928a41a5657bc79f2488f241463dbb75f7ad42':
  Start input event sequence numbers at 1
2013-04-02 08:23:36 -07:00
Chet Haase
c99d3c1fd6 Stop jank from window animations overlapping activity animations
Relaunching a running activity will sometimes cause animations in that
activity to run, causing jank due to too much happening (window animations
on that same window running at the same time).

An earlier fix pauses application rendering while window animations are running,
but only the first time the activity comes up. If the window is animated
after that (such as is the case with re-launching it while it is running
in the background), rendering, and therefore animations, happen as usual,
causing the jank.

The fix is to simply broaden the scope of when application rendering is
paused to include anytime the window is animating.

Issue #8472972 Make app animations play nice with window animations

Change-Id: I1dd8da039fcb4d1faf6c0811bae97ef2847deb84
2013-04-02 07:30:52 -07:00
Jeff Tinker
16b8cffb28 MediaDrm API update
Clarify offline usage of sessions and keys and implement
implement CryptoSession to support additional crypto use
cases.

Change-Id: Id3f8c706e9e3034b09af8e2a6a2f26bd74a49f93
2013-04-01 21:59:35 -07:00
Jeff Brown
579b0c091c Merge "Fix a doc typo." into jb-mr2-dev 2013-04-02 03:24:10 +00:00
Jeff Brown
24e22d19a2 Fix a doc typo.
Change-Id: Id41af7644e552b0fbfe90818d0a9f42178c6474d
2013-04-01 19:41:41 -07:00
Craig Mautner
e79d4268c0 Yet more movement from ActivityStack to Supervisor
- Remove redundant synchronize in ActivityStack.activityIdleInternal().
- Move startSpecificActivityLocked from ActivityStack to Supervisor.
- Move handleAppDiedLocked from Supervisor to ActivityStack.

Change-Id: Id746ab3bdff861b61182282bea1deb8fcf284084
2013-04-01 19:01:53 -07:00
quddusc
ce4027bd2d docs: Added details about key/signature for IAB/Licensing docs.
Bugs: 8338447

Change-Id: Ifc5556dc096065e59d34f6cde8fde2b64e5b200e
2013-04-01 18:43:50 -07:00
Dianne Hackborn
4d491a605e Fix bug in initializing preferred activities.
Now that we are smarter about the initialization, we need
to do this after all packages are scanned.

Change-Id: I598f5ef84dcc83779bbff29e4c92136c63fb32de
2013-04-01 18:10:51 -07:00
Chris Craik
94d6170b67 Merge "Update view's alpha and layer docs" into jb-mr2-dev 2013-04-02 01:04:30 +00:00
Eric Laurent
742647c809 Merge "AudioService: removed last audible volume index" into jb-mr2-dev 2013-04-02 00:32:32 +00:00
Craig Mautner
2420ead032 More movement from ActivityStack to Supervisor
- Move showAskCompatModeDialogLocked from ActivityStack to
ActivityManagerService.
- Keep track of userId in ActivityStackSupervisor and initialize
new ActivityStacks with it.
- Move realStartActivityLocked to ActivityStackSupervisor except
for the part that actually updates the ActivityStack.

Change-Id: I7467302f1249fee2ea3cf027a49e0894c9a2213d
2013-04-01 17:31:37 -07:00
Chris Craik
16ecda5317 Update view's alpha and layer docs
bug:8501661

Makes the performance issues and interaction with layer type/paint
more clear.

Additionally, corrects change from 47ab7d6612e2b5b8b66fb261dafef7c91264e173
to still allow displayList alpha to override layer paint

Change-Id: Ic94d75865700820489370461cd8ac9f9077a8d90
2013-04-01 17:21:35 -07:00
Michael Wright
8fa56f60a7 Lock when obtaining the current monitor name.
Also, remove some dead code.

Change-Id: I0e65671f9ca43addd8fc44dcd878bcff2f588e42
2013-04-01 16:46:36 -07:00
Jeff Brown
d42ae93c44 Merge "Make MessageQueue and Looper final." into jb-mr2-dev 2013-04-01 23:39:11 +00:00
Craig Mautner
b0f7dc7588 Move performClearTaskLocked into TaskRecord.
Make TaskRecord responsible for clearing itself.

Change-Id: I03fa50aaec108ab7f071412785da59ad58243d87
2013-04-01 16:34:45 -07:00
Craig Mautner
23ac33bb85 Migrate activity starts into ActivityStackSupervisor.
Individual ActivityStacks should not be the place where stack
decisions are made.

Change-Id: If9c7a10e1127618c3ae008a0fea6e5943f776be4
2013-04-01 16:27:10 -07:00
Eric Laurent
42b041ed4f AudioService: removed last audible volume index
Removed storage of last audible stream volume index.
This information is redundant because we already have
two pieces of information (current volume and mute state)
allowing to completely define which volume should actually
be applied by the framework or indicated to apps.

The last audible index management had anyway been broken by
successive changes making that the value stored could be 0
in some cases causing problems like issue 8109149 when
restoring the volume settings from the DB.

Bug 8109149

Change-Id: Iea80f5a994554e42d45b227f651ec9646844aa77
2013-04-01 16:16:57 -07:00
Winson Chung
3a5a774954 Fixing NPE on screenshot error. (Bug 8328886)
Change-Id: Id47b8429c512c02e63d86de2ce37bd8e3ee02359
2013-04-01 16:04:28 -07:00
Craig Mautner
9899f61144 Merge "Remove mFocusedStack from ActivityManagerService." 2013-04-01 22:53:18 +00:00
Craig Mautner
53e23f55c1 Merge "Minor refactors" 2013-04-01 22:51:57 +00:00
Jeff Brown
67fc67cf3e Make MessageQueue and Looper final.
Applications already cannot subclass these classes because
their constructors are not visible.

Change-Id: Id979d86dd05f7bcc888fe4ea499ab9b95d3d5dde
2013-04-01 14:27:57 -07:00
Christopher Tate
73882cf489 Merge "debuggerd now notifies the Activity Manager about native crashes" into jb-mr2-dev 2013-04-01 21:22:27 +00:00
Michael Wright
54531f8195 Merge "Flush pending input events immediately upon channel dispose" into jb-mr2-dev 2013-04-01 21:20:16 +00:00
Michael Wright
cd928a41a5 Merge "Start input event sequence numbers at 1" into jb-mr2-dev 2013-04-01 21:19:11 +00:00
Craig Mautner
20e7227454 Remove mFocusedStack from ActivityManagerService.
Use ActivityStackSupervisor.mMainStack in its place. Or, in cases
where multiple stacks must replace mFocusedStack, create new
methods in ActivityStackSupervisor that will replace it.

Change-Id: Ib0dda51e1043a6d5110e5a2914d695ef16bf9371
2013-04-01 13:57:18 -07:00
Christopher Tate
58d380d2af debuggerd now notifies the Activity Manager about native crashes
The Activity Manager sets up a permission-guarded domain socket, which
debuggerd connects to when a crash happens.  If this is successful,
the daemon then mirrors the logged crash report to that socket, then
closes it.

The Activity Manager parses the native crash dump supplied by debuggerd
and forwards it to the standard app-crashed code.  The UX result is
that users now see the normal "app has stopped unexpectedly" dialog
with "report" and "okay" options for native crashes, not just for
DVM-mediated crashes.

Bug 8322568

Change-Id: Ie1b279896c603bd74d82d6cfcfd66a8f231da134
2013-04-01 13:50:23 -07:00
Tim Murray
52044825aa am 28c2246f: am 4134ce33: Merge "Fix blur intrinsic creation." into jb-mr2-dev
* commit '28c2246f0baf4357f1205202089a6c949d62aa79':
  Fix blur intrinsic creation.
2013-04-01 13:32:29 -07:00
Tim Murray
28c2246f0b am 4134ce33: Merge "Fix blur intrinsic creation." into jb-mr2-dev
* commit '4134ce3386e791bd2e024677197e36a3b4768dbb':
  Fix blur intrinsic creation.
2013-04-01 13:29:57 -07:00
Tim Murray
4134ce3386 Merge "Fix blur intrinsic creation." into jb-mr2-dev 2013-04-01 20:27:28 +00:00
Michael Wright
ef17e8710e Flush pending input events immediately upon channel dispose
Change-Id: I949326423f733376aa8d3121bfed24fd76ca0784
2013-04-01 13:15:55 -07:00
Michael Wright
10f9b0997e Start input event sequence numbers at 1
Change-Id: Ia69574cb25bfced8bbeefbc23350706bacdfee12
2013-04-01 13:11:34 -07:00
Craig Mautner
e11f2b774b Minor refactors
- Eliminate unused mLooper.
- Rename isSleeping to isSleepingOrShuttingDown.
- Fix dump formats.

Change-Id: I4cfc99605ac34213bf9b705562f2c701810434fd
2013-04-01 13:06:11 -07:00
Tim Murray
bddc7ffb52 Fix blur intrinsic creation.
Change-Id: Iaf54c7395d447eec94d8b6c12986fa8d16c030f5
2013-04-01 12:47:38 -07:00
Scott Main
60aab1d297 am 246aed27: am 53de5c29: am f1ba1fb4: am bfe4a29b: am 1e8d22cc: am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit '246aed27d30f3ee205cca43ceadee718b0c9b072':
  update IO announcement on homepage for IO Extended
2013-04-01 11:46:31 -07:00
Scott Main
246aed27d3 am 53de5c29: am f1ba1fb4: am bfe4a29b: am 1e8d22cc: am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit '53de5c296a579e9012d152f8a25c08f6f6091b3b':
  update IO announcement on homepage for IO Extended
2013-04-01 11:45:08 -07:00
Scott Main
53de5c296a am f1ba1fb4: am bfe4a29b: am 1e8d22cc: am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit 'f1ba1fb4ba55d4d706716b74060cbcc04bb48bfc':
  update IO announcement on homepage for IO Extended
2013-04-01 11:42:33 -07:00
Scott Main
f1ba1fb4ba am bfe4a29b: am 1e8d22cc: am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit 'bfe4a29bd63bfed7662341d58882f9e3813c3264':
  update IO announcement on homepage for IO Extended
2013-04-01 11:40:02 -07:00
Scott Main
bfe4a29bd6 am 1e8d22cc: am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit '1e8d22ccede109b4c8e80a6af2ed494fc77cb850':
  update IO announcement on homepage for IO Extended
2013-04-01 11:37:24 -07:00
Scott Main
1e8d22cced am 37a10754: am 2ab25723: update IO announcement on homepage for IO Extended
* commit '37a10754dea09ab9018446c9f667eb5d7d58758c':
  update IO announcement on homepage for IO Extended
2013-04-01 11:36:01 -07:00
Scott Main
37a10754de am 2ab25723: update IO announcement on homepage for IO Extended
* commit '2ab257231fe774748298ab92f78564a5e19f23f0':
  update IO announcement on homepage for IO Extended
2013-04-01 11:33:02 -07:00
Jean-Baptiste Queru
c18c712a45 am 82f070e6: am b7aca350: Merge "It helps to catch the right exception."
* commit '82f070e67a6635c8d85253da0f5f1b48effa1d02':
  It helps to catch the right exception.
2013-04-01 11:31:20 -07:00
Jean-Baptiste Queru
82f070e67a am b7aca350: Merge "It helps to catch the right exception."
* commit 'b7aca350e4c46bbc431f2ecaa4d8cee87915fe8b':
  It helps to catch the right exception.
2013-04-01 11:28:59 -07:00
Mike Lockwood
5947ec3046 am b1a2b594: am 1341f1ee: MTP: Implement date created field in GetObjectInfo
* commit 'b1a2b59493ccc80d40e0422e2a86132bdc2de932':
  MTP: Implement date created field in GetObjectInfo
2013-04-01 11:27:43 -07:00
Mike Lockwood
b1a2b59493 am 1341f1ee: MTP: Implement date created field in GetObjectInfo
* commit '1341f1eee3493fc5e263494acb8adebb6f0180b6':
  MTP: Implement date created field in GetObjectInfo
2013-04-01 11:25:06 -07:00
Scott Main
2ab257231f update IO announcement on homepage for IO Extended
Change-Id: Id0e769162236954670dee07d6ac225a9d4b83581
2013-04-01 11:20:00 -07:00