OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Relabel emergency button"
Adrian Roos [Wed, 8 Apr 2015 16:58:57 +0000 (16:58 +0000)]
Merge "Relabel emergency button"

9 years agoRelabel emergency button
Adrian Roos [Wed, 8 Apr 2015 16:56:38 +0000 (18:56 +0200)]
Relabel emergency button

Bug: 19574098
Change-Id: Iddf96ba2206838712980aea00c9ea304f590c8b3

9 years agoam 81954cf3: am 8ddc3e26: am 393f89f2: Merge "[ActivityManager] Avoid NullPointerExce...
Olawale Ogunwale [Wed, 8 Apr 2015 16:51:01 +0000 (16:51 +0000)]
am 81954cf3: am 8ddc3e26: am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"

* commit '81954cf30816a007186fbf3be375feed5a7936cc':
  [ActivityManager] Avoid NullPointerException if no crash info

9 years agoam 8ddc3e26: am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if...
Olawale Ogunwale [Wed, 8 Apr 2015 16:40:24 +0000 (16:40 +0000)]
am 8ddc3e26: am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"

* commit '8ddc3e26e6534adc6f0cdc5c8b9e6ddc3fe3dd10':
  [ActivityManager] Avoid NullPointerException if no crash info

9 years agoam 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"
Olawale Ogunwale [Wed, 8 Apr 2015 16:28:52 +0000 (16:28 +0000)]
am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"

* commit '393f89f26df724a3da7a21b28925a21fe5fb253f':
  [ActivityManager] Avoid NullPointerException if no crash info

9 years agoMerge "[ActivityManager] Avoid NullPointerException if no crash info"
Olawale Ogunwale [Wed, 8 Apr 2015 16:07:44 +0000 (16:07 +0000)]
Merge "[ActivityManager] Avoid NullPointerException if no crash info"

9 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 8 Apr 2015 15:41:10 +0000 (15:41 +0000)]
Merge "Import translations. DO NOT MERGE"

9 years agoMerge "Allow disabling the lock screen when multiple users are present"
Benjamin Franz [Wed, 8 Apr 2015 15:02:40 +0000 (15:02 +0000)]
Merge "Allow disabling the lock screen when multiple users are present"

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Apr 2015 14:43:35 +0000 (07:43 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id26cdcbd9afee8df2e9f8435383923dcc4d96feb
Auto-generated-cl: translation import

9 years agoMerge "Animate ActionBar items"
Chet Haase [Wed, 8 Apr 2015 14:11:35 +0000 (14:11 +0000)]
Merge "Animate ActionBar items"

9 years agoMerge "Use default theme for StandaloneActivity (DocumentsUI)."
Tomasz Mikolajewski [Wed, 8 Apr 2015 13:33:10 +0000 (13:33 +0000)]
Merge "Use default theme for StandaloneActivity (DocumentsUI)."

9 years agoam ce5bdfea: am 380415b6: am 1bdbce29: Merge "[ActivityManager] Finish the failed...
Olawale Ogunwale [Wed, 8 Apr 2015 13:30:03 +0000 (13:30 +0000)]
am ce5bdfea: am 380415b6: am 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"

* commit 'ce5bdfea12657c1705d910a47cc48b65abc81723':
  [ActivityManager] Finish the failed-to-pause activity

9 years agoMerge "Add StubProvider::isChildDocument()."
Tomasz Mikolajewski [Wed, 8 Apr 2015 13:28:53 +0000 (13:28 +0000)]
Merge "Add StubProvider::isChildDocument()."

9 years agoam 380415b6: am 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"
Olawale Ogunwale [Wed, 8 Apr 2015 13:19:02 +0000 (13:19 +0000)]
am 380415b6: am 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"

* commit '380415b6431adeb8138bc328a926807b8ae41df9':
  [ActivityManager] Finish the failed-to-pause activity

9 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 8 Apr 2015 13:18:40 +0000 (13:18 +0000)]
Merge "Import translations. DO NOT MERGE"

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Apr 2015 13:13:49 +0000 (06:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2e860f32f21ae0449ca98dda3519e4733d2d614e
Auto-generated-cl: translation import

9 years agoam 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"
Olawale Ogunwale [Wed, 8 Apr 2015 13:09:42 +0000 (13:09 +0000)]
am 1bdbce29: Merge "[ActivityManager] Finish the failed-to-pause activity"

* commit '1bdbce295cd7978e50b5444420ed222ec6c6281c':
  [ActivityManager] Finish the failed-to-pause activity

9 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 8 Apr 2015 12:55:19 +0000 (12:55 +0000)]
Merge "Import translations. DO NOT MERGE"

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Apr 2015 12:52:41 +0000 (05:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib75733c03e1a3350e192c9967a0f8b2e4b49e8c2
Auto-generated-cl: translation import

9 years agoMerge "[ActivityManager] Finish the failed-to-pause activity"
Olawale Ogunwale [Wed, 8 Apr 2015 12:51:11 +0000 (12:51 +0000)]
Merge "[ActivityManager] Finish the failed-to-pause activity"

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Apr 2015 12:35:59 +0000 (05:35 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0f9b0b3036a149b304b874fbaa2d95cf56e4e816
Auto-generated-cl: translation import

9 years agoUse default theme for StandaloneActivity (DocumentsUI).
Tomasz Mikolajewski [Wed, 8 Apr 2015 11:35:33 +0000 (20:35 +0900)]
Use default theme for StandaloneActivity (DocumentsUI).

Change-Id: I41841702e0b68123cb73ff1203ca6e6fe5eae320

9 years agoAdd StubProvider::isChildDocument().
Tomasz Mikolajewski [Wed, 8 Apr 2015 10:38:55 +0000 (19:38 +0900)]
Add StubProvider::isChildDocument().

Change-Id: Ib17df4307c1f658c42468f86e1f66d4469eefe58

9 years ago[ActivityManager] Avoid NullPointerException if no
louis_chang [Wed, 8 Apr 2015 10:04:11 +0000 (18:04 +0800)]
[ActivityManager] Avoid NullPointerException if no
crash info

Symptom:
This issue happens because the ANR process got killed
(because it crashed) before the ANR dialog dismissed.
In that case, the process record is marked as crashed
(ProcessRecord.crashing = true). When the ANR dialog
dismissed by user, it will cause NullPointerException
when writeToParcel while performing IPC because there
is no crash info (ApplicationErrorReport.crashInfo = null)

Solution:
Check crashinfo before access it

Change-Id: I2995de57684c1e13aab8297f5eea1e82ca3b7ad8

9 years ago[ActivityManager] Finish the failed-to-pause activity
louis_chang [Wed, 8 Apr 2015 08:35:55 +0000 (16:35 +0800)]
[ActivityManager] Finish the failed-to-pause activity

Symptom:
In some scenario, the mPausingActivity may be replaced by other
activity. When previous activity paused, the completePausedLocked()
won't be invoked because it is no longer the mPausingActivity. If
the activity is also pending to finish, it would never be done
because the activity kept in PAUSING state. Since the activity's
window also remain visible and is above on Wallpaper, user would
see it when back to home.

Solution:
Finish the failed-to-pause activity if the activity is pending to
finish.

A Real Case:
(1) Screen turn off
(2) The top activity T1 crashed
(3) When finish activity T1, the next top activity T2 will be
    scheduled to resume and pause (due to screen off).
(4) The activity T2 is also set to finishing due to T1 crashed.
(5) Before T2 paused and before paused timeout occurs, there has
    a new process started which brings up the next top activity T3
    to resume and pause. So the pausing activity is now replaced.
(6) When activity T2 paused, it cannot completed the pause operation
    T2 will remain in PAUSING and finishing state with its window
    visible. The process won't be killed because the oomadj stays
    at 1 (Visible).

Change-Id: Ib10fded891b21c774b26a93071c717fa50516e22

9 years agoMerge "Floating toolbar: Create the FloatingActionMode and use it in DecorView."
Clara Bayarri [Wed, 8 Apr 2015 07:59:58 +0000 (07:59 +0000)]
Merge "Floating toolbar: Create the FloatingActionMode and use it in DecorView."

9 years agoam 5b61a282: am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
Romain Guy [Wed, 8 Apr 2015 07:38:58 +0000 (07:38 +0000)]
am 5b61a282: am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"

* commit '5b61a282255b5273f5194db73f3c88550dc11a57':
  Prevent possible memory leak in SpanSet

9 years agoam e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
Romain Guy [Wed, 8 Apr 2015 07:27:58 +0000 (07:27 +0000)]
am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"

* commit 'e4d787b277a4b9435688c7e6f380bfc367751f76':
  Prevent possible memory leak in SpanSet

9 years agoam 80e455e3: Merge "Prevent possible memory leak in SpanSet"
Romain Guy [Wed, 8 Apr 2015 07:14:35 +0000 (07:14 +0000)]
am 80e455e3: Merge "Prevent possible memory leak in SpanSet"

* commit '80e455e32580fb909af18ad0a21fccc6b433dd4b':
  Prevent possible memory leak in SpanSet

9 years agoMerge "Prevent possible memory leak in SpanSet"
Romain Guy [Wed, 8 Apr 2015 06:56:24 +0000 (06:56 +0000)]
Merge "Prevent possible memory leak in SpanSet"

9 years agoMerge "TIF: Redefine time shift status and change callback and position APIs"
Jae Seo [Wed, 8 Apr 2015 04:42:33 +0000 (04:42 +0000)]
Merge "TIF: Redefine time shift status and change callback and position APIs"

9 years agoMerge "Add an initial version for a StubProvider for DocumentsUI."
Tomasz Mikolajewski [Wed, 8 Apr 2015 04:19:39 +0000 (04:19 +0000)]
Merge "Add an initial version for a StubProvider for DocumentsUI."

9 years agoAdd an initial version for a StubProvider for DocumentsUI.
Tomasz Mikolajewski [Wed, 8 Apr 2015 00:21:08 +0000 (09:21 +0900)]
Add an initial version for a StubProvider for DocumentsUI.

It will be used for testing as well as for development.

Change-Id: I1556836e1070d9e4483d2574bba40aa2fdfde229

9 years agoam d242647a: am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge...
Eric Gilmore [Wed, 8 Apr 2015 02:15:51 +0000 (02:15 +0000)]
am d242647a: am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit 'd242647afa201cb160db1582ac53dec074292446':
  Fixing date.

9 years agoMerge "Fix Google app crash"
Selim Gurun [Wed, 8 Apr 2015 01:54:42 +0000 (01:54 +0000)]
Merge "Fix Google app crash"

9 years agoam 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date...
Eric Gilmore [Wed, 8 Apr 2015 01:49:50 +0000 (01:49 +0000)]
am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit '1fb61c4688c37677020c66b96f067074b1dab3b4':
  Fixing date.

9 years agoFix Google app crash
Selim Gurun [Wed, 8 Apr 2015 01:40:14 +0000 (18:40 -0700)]
Fix Google app crash

Bug: 20110378

Until chromium imlementation lands, use the base implementation.

Change-Id: Icd8e83503770471219718fb38a131938b1bbf0c2

9 years agoam b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp...
Eric Gilmore [Wed, 8 Apr 2015 01:29:10 +0000 (01:29 +0000)]
am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit 'b1044aaf29227b2075e08098b6f5ed5eaf7cf2c0':
  Fixing date.

9 years agoMerge "Fix 64-bit build."
Ying Wang [Wed, 8 Apr 2015 01:05:28 +0000 (01:05 +0000)]
Merge "Fix 64-bit build."

9 years agoFix 64-bit build.
Ying Wang [Wed, 8 Apr 2015 01:03:31 +0000 (18:03 -0700)]
Fix 64-bit build.

Change-Id: I9f2e2edf276f98864b65708b746bf938a4a3c8d6

9 years agoMerge "Fix broken tests in DocumentsUI."
Tomasz Mikolajewski [Wed, 8 Apr 2015 00:55:50 +0000 (00:55 +0000)]
Merge "Fix broken tests in DocumentsUI."

9 years agoFix broken tests in DocumentsUI.
Tomasz Mikolajewski [Tue, 7 Apr 2015 09:52:06 +0000 (18:52 +0900)]
Fix broken tests in DocumentsUI.

Change-Id: Ia41eda4d9f500882ca7eb62b13a4bca60978bc33

9 years agoam 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:53:50 +0000 (00:53 +0000)]
am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit '8ba1380fb59d3b7adec7e99f354eccabcead65b6':
  Fixing date.

9 years agoam a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:43:41 +0000 (00:43 +0000)]
am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs

* commit 'a4f72eb079938bed57e8183e8110da044fe03429':
  Fixing date.

9 years agoTIF: Redefine time shift status and change callback and position APIs
Jae Seo [Tue, 7 Apr 2015 01:40:46 +0000 (18:40 -0700)]
TIF: Redefine time shift status and change callback and position APIs

Also added/modified the documentation and addressed feedback from the
previous CL.

Change-Id: I046970cd0d2688886039d37a332bbe11bc5a4b0f

9 years agoam aac938a8: Merge "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:33:07 +0000 (00:33 +0000)]
am aac938a8: Merge "Fixing date." into lmp-docs

* commit 'aac938a8597efb8d71ce7dc124779f1d268510eb':
  Fixing date.

9 years agoMerge "Add IntentFilter auto verification - part 3"
Fabrice Di Meglio [Wed, 8 Apr 2015 00:30:35 +0000 (00:30 +0000)]
Merge "Add IntentFilter auto verification - part 3"

9 years agoAdd IntentFilter auto verification - part 3
Fabrice Di Meglio [Tue, 7 Apr 2015 02:41:28 +0000 (19:41 -0700)]
Add IntentFilter auto verification - part 3

- add private API PackageManager.getAllIntentFilters(String)
for getting all IntentFilters from a given package
- update IntentFilterVerificationInfo to use an ArrayList<String>
for domains instead of a String[]
- if you make an App a default domain handler then make the
others as non default
- create an IntentVerificationInfo even if the App IntentFilters
do not need to be verified. This would be done only if the App
has some domain URLs defined and would allow to make it the
default handler for a domain
- a few code optimizations here and there

Change-Id: I4535372a0bb1a2c8e662e1485be8ca700003e9b3

9 years agoMerge "Fixing date." into lmp-docs
Eric Gilmore [Wed, 8 Apr 2015 00:05:27 +0000 (00:05 +0000)]
Merge "Fixing date." into lmp-docs

9 years agoMerge "Adding per UID WiFi power distribution."
Adam Lesinski [Tue, 7 Apr 2015 23:51:14 +0000 (23:51 +0000)]
Merge "Adding per UID WiFi power distribution."

9 years agoMerge "Constrain 'touch modal' behavior to the activity stack."
Vladislav Kaznacheev [Tue, 7 Apr 2015 23:32:06 +0000 (23:32 +0000)]
Merge "Constrain 'touch modal' behavior to the activity stack."

9 years agoConstrain 'touch modal' behavior to the activity stack.
Vladislav Kaznacheev [Thu, 19 Mar 2015 17:13:31 +0000 (10:13 -0700)]
Constrain 'touch modal' behavior to the activity stack.

Currently a 'touch modal' window grabs drag events
from the entire screen. Since 'touch modal' is the
default, this makes dragging between apps impossible.

This change allows such grabbing behavior only for
events that are still over the same activity stack.

Bug:19548858
Change-Id: I7d48b58e7fcb620521361e17cb70914913afae03

9 years agoMerge "heapdump: use appendable file descriptor"
Nick Kralevich [Tue, 7 Apr 2015 23:28:30 +0000 (23:28 +0000)]
Merge "heapdump: use appendable file descriptor"

9 years agoAnimate ActionBar items
Chet Haase [Fri, 20 Mar 2015 20:17:25 +0000 (13:17 -0700)]
Animate ActionBar items

Chnages to the ActionBar are now tracked so that new items,
items that go away, and items that change location are now animated into
their new state.

Issue #10863316 action bar items don't fade in correctly

Change-Id: Ia956b2b76958f02108c756dab2d1c2617a5904dc

9 years agoheapdump: use appendable file descriptor
Nick Kralevich [Tue, 7 Apr 2015 23:22:46 +0000 (16:22 -0700)]
heapdump: use appendable file descriptor

For heapdump functionality, there's no need to give apps
readable/writable file descriptors. An append-only file descriptor
is sufficient.

Bug: 20073185
Change-Id: Ib2c42a72b2704db5f1b919c24e33609f7a45e57a

9 years agoam 5dd10bd1: am e2e945a8: am 40c4021a: Merge "third part apps can disable the secret...
Jim Miller [Tue, 7 Apr 2015 23:18:57 +0000 (23:18 +0000)]
am 5dd10bd1: am e2e945a8: am 40c4021a: Merge "third part apps can disable the secret lockscreen"

* commit '5dd10bd11a524e224a88615444bf8b52b1ec11d6':
  third part apps can disable the secret lockscreen

9 years agoam e2e945a8: am 40c4021a: Merge "third part apps can disable the secret lockscreen"
Jim Miller [Tue, 7 Apr 2015 23:08:05 +0000 (23:08 +0000)]
am e2e945a8: am 40c4021a: Merge "third part apps can disable the secret lockscreen"

* commit 'e2e945a8871310ab900dbe33b587e522446b9a6d':
  third part apps can disable the secret lockscreen

9 years agoMerge "Fixed issue with prematurely removing display for child activities."
Wale Ogunwale [Tue, 7 Apr 2015 23:02:58 +0000 (23:02 +0000)]
Merge "Fixed issue with prematurely removing display for child activities."

9 years agoam 40c4021a: Merge "third part apps can disable the secret lockscreen"
Jim Miller [Tue, 7 Apr 2015 22:58:53 +0000 (22:58 +0000)]
am 40c4021a: Merge "third part apps can disable the secret lockscreen"

* commit '40c4021a70c56bcc4d6f6569d795dff52ab4e369':
  third part apps can disable the secret lockscreen

9 years agoMerge "Fix hours in clock"
Alan Viverette [Tue, 7 Apr 2015 22:54:47 +0000 (22:54 +0000)]
Merge "Fix hours in clock"

9 years agoMerge "third part apps can disable the secret lockscreen"
Jim Miller [Tue, 7 Apr 2015 22:41:17 +0000 (22:41 +0000)]
Merge "third part apps can disable the secret lockscreen"

9 years agoFix hours in clock
Alan Viverette [Tue, 7 Apr 2015 22:37:30 +0000 (15:37 -0700)]
Fix hours in clock

Bug: 20096871
Change-Id: Ib4f155f6b6221bd2a41af86a018d42ddea372950

9 years agoam 66a51c70: am da1bc605: am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout...
Adam Powell [Tue, 7 Apr 2015 22:02:48 +0000 (22:02 +0000)]
am 66a51c70: am da1bc605: am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"

* commit '66a51c7080f26219652f84ae8d10b1e4d63409af':
  Fixed memory leak in ExtractEditLayout finish()

9 years agoam f401d637: am 947b5029: am 8391e03b: Merge "ProgressBar: Fix error of process bar...
Adam Powell [Tue, 7 Apr 2015 22:02:38 +0000 (22:02 +0000)]
am f401d637: am 947b5029: am 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condition."

* commit 'f401d63796d9a7f81e8d1a4adf6ae2615faa7d91':
  ProgressBar: Fix error of process bar cannot update on some condition.

9 years agoam a30020f8: am ef2f390f: am 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs...
Quddus Chong [Tue, 7 Apr 2015 22:02:29 +0000 (22:02 +0000)]
am a30020f8: am ef2f390f: am 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

* commit 'a30020f8654a72a36e24a97e67865379e6145c2a':
  docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

9 years agoam e7c79398: am d8cf94d7: am 0c7f9436: am 47c1835a: am 868c795d: am 0307acf9: Merge...
Quddus Chong [Tue, 7 Apr 2015 22:02:20 +0000 (22:02 +0000)]
am e7c79398: am d8cf94d7: am 0c7f9436: am 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293" into lmp-docs

* commit 'e7c79398dbfca11357fb6f244aff6fb76e1c8061':
  docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293

9 years agoam de35df74: am 617181bc: am 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs...
Joe Fernandez [Tue, 7 Apr 2015 22:02:12 +0000 (22:02 +0000)]
am de35df74: am 617181bc: am 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard

* commit 'de35df74344857690feb0f15e8f83355450a034a':
  docs: Small fix for Android Dashboard

9 years agoam 7e2b9599: am f545618f: am 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs...
Joe Fernandez [Tue, 7 Apr 2015 22:02:01 +0000 (22:02 +0000)]
am 7e2b9599: am f545618f: am 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update

* commit '7e2b95997490a1beda28bbb93284b292e9c44e3c':
  docs: April 2015 Android Dashboard update

9 years agoam da1bc605: am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"
Adam Powell [Tue, 7 Apr 2015 21:50:03 +0000 (21:50 +0000)]
am da1bc605: am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"

* commit 'da1bc6057417e0ee6faa1cdd08a0be346a27659a':
  Fixed memory leak in ExtractEditLayout finish()

9 years agoam 947b5029: am 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update...
Adam Powell [Tue, 7 Apr 2015 21:49:58 +0000 (21:49 +0000)]
am 947b5029: am 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condition."

* commit '947b5029e5fa3b08f79afd61e6bc0fb77bc6a10c':
  ProgressBar: Fix error of process bar cannot update on some condition.

9 years agoMerge "resolved conflicts for merge of 764f08ad to master"
Stephen Hines [Tue, 7 Apr 2015 21:49:47 +0000 (21:49 +0000)]
Merge "resolved conflicts for merge of 764f08ad to master"

9 years agoam ef2f390f: am 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo...
Quddus Chong [Tue, 7 Apr 2015 21:49:53 +0000 (21:49 +0000)]
am ef2f390f: am 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

* commit 'ef2f390fa670332d19a0d51b2d44693051fd8bb5':
  docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

9 years agoam d8cf94d7: am 0c7f9436: am 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed...
Quddus Chong [Tue, 7 Apr 2015 21:49:49 +0000 (21:49 +0000)]
am d8cf94d7: am 0c7f9436: am 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293" into lmp-docs

* commit 'd8cf94d7da723d7804b1b7545556e05b236b7cf7':
  docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293

9 years agoam 617181bc: am 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix...
Joe Fernandez [Tue, 7 Apr 2015 21:49:45 +0000 (21:49 +0000)]
am 617181bc: am 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard

* commit '617181bcfabcc45c031dad74f1c1aaf1be380b85':
  docs: Small fix for Android Dashboard

9 years agoam f545618f: am 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015...
Joe Fernandez [Tue, 7 Apr 2015 21:49:41 +0000 (21:49 +0000)]
am f545618f: am 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update

* commit 'f545618fd2c0199d05c4a9b4bd70a5c693983858':
  docs: April 2015 Android Dashboard update

9 years agoresolved conflicts for merge of 764f08ad to master
Stephen Hines [Tue, 7 Apr 2015 21:47:32 +0000 (14:47 -0700)]
resolved conflicts for merge of 764f08ad to master

Change-Id: I0a22225b2d26b6d806de2dcc70ffba29c96865b3

9 years agoMerge "Implement IntentFilter verification service."
Joseph Wen [Tue, 7 Apr 2015 21:44:22 +0000 (21:44 +0000)]
Merge "Implement IntentFilter verification service."

9 years agoMerge "AudioTrack: update javadoc for missing DEAD_OBJECT return code"
Jean-Michel Trivi [Tue, 7 Apr 2015 21:42:08 +0000 (21:42 +0000)]
Merge "AudioTrack: update javadoc for missing DEAD_OBJECT return code"

9 years agoFixed issue with prematurely removing display for child activities.
Wale Ogunwale [Tue, 7 Apr 2015 21:23:14 +0000 (14:23 -0700)]
Fixed issue with prematurely removing display for child activities.

When relaunching a parent activity we finish all its children and set
a 2sec timeout to clean up their tasks/stacks/displays if we don't
hear anything back. This time might not be sufficient for the client
activity to respond back in time depending on what else is happening
on the system and we might end-up prematurely removing its display
which will cause it to crash. In this specfic case, the client
activity which wasn't the focus activity was been relaunched with a
bunch of other activities due to a configuration change.

Instead of having a timeout for the clean-up we now let the activity
go through the normal clean-up process that occurs as it changes
states which will eventually clean-up the right states in a max.
time of 10secs (on destroy timeout) or sooner. This is in line with
activity cycle expections.

Bug: 17702043
Change-Id: I484124e07ad32b9056f75ec41af1dd7718488335

9 years agoMerge "Add stat collection start time"
John Reck [Tue, 7 Apr 2015 21:30:27 +0000 (21:30 +0000)]
Merge "Add stat collection start time"

9 years agoam 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"
Adam Powell [Tue, 7 Apr 2015 21:23:58 +0000 (21:23 +0000)]
am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"

* commit '7a3c8c70a6c745aa2559a7f769528774021b62a6':
  Fixed memory leak in ExtractEditLayout finish()

9 years agoam 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condi...
Adam Powell [Tue, 7 Apr 2015 21:23:50 +0000 (21:23 +0000)]
am 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condition."

* commit '8391e03b7ef20f22ffc31da43e01b2fb8d1ec00a':
  ProgressBar: Fix error of process bar cannot update on some condition.

9 years agoam 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing...
Quddus Chong [Tue, 7 Apr 2015 21:18:23 +0000 (21:18 +0000)]
am 4559d6ae: am 90bf99b1: am 922946ea: am a0c887c6: docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

* commit '4559d6aefb928edc68da5d0ed301db37bd8b30b7':
  docs: Fixed typo in Implementing In-app Billing guide. bug: 19961296

9 years agoam 0c7f9436: am 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed instruction...
Quddus Chong [Tue, 7 Apr 2015 21:18:03 +0000 (21:18 +0000)]
am 0c7f9436: am 47c1835a: am 868c795d: am 0307acf9: Merge "docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293" into lmp-docs

* commit '0c7f94365c732ea6d1a4c383ed68005c0e67a619':
  docs: Removed instruction to add gms version in manifest during Google Play services setup, since Android Studio automatically handles this. bug: 20077293

9 years agoam 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard
Joe Fernandez [Tue, 7 Apr 2015 21:17:55 +0000 (21:17 +0000)]
am 2e567682: am 038fe2de: am 19a57761: am 95c39774: docs: Small fix for Android Dashboard

* commit '2e567682a2802170a3f5fd7f621296178a397541':
  docs: Small fix for Android Dashboard

9 years agoam 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboar...
Joe Fernandez [Tue, 7 Apr 2015 21:17:49 +0000 (21:17 +0000)]
am 5861b5b6: am 911e4c50: am ab882856: am b1a6bd01: docs: April 2015 Android Dashboard update

* commit '5861b5b618cf891ae490c1832f15b101e6b4a090':
  docs: April 2015 Android Dashboard update

9 years agoam d782c57d: am 5352411a: Merge "Move cache dir to its own class."
Tim Murray [Tue, 7 Apr 2015 21:12:59 +0000 (21:12 +0000)]
am d782c57d: am 5352411a: Merge "Move cache dir to its own class."

* commit 'd782c57d376f27e511692ac6259759dd5a0bdced':
  Move cache dir to its own class.

9 years agoam 5352411a: Merge "Move cache dir to its own class."
Tim Murray [Tue, 7 Apr 2015 20:59:39 +0000 (20:59 +0000)]
am 5352411a: Merge "Move cache dir to its own class."

* commit '5352411a8c41dd1c3c51a28cdd0b09f42e246b33':
  Move cache dir to its own class.

9 years agoImplement IntentFilter verification service.
Joseph Wen [Wed, 25 Feb 2015 19:00:39 +0000 (14:00 -0500)]
Implement IntentFilter verification service.

This commit adds a verifier that verifies a host delegates permission for
an app to handle Url for the host using the Statement protocol.

- Implements the Statement protocol
-- The protocol defines a file format that represents statements.
-- The protocol defines where each asset type should put their statement
declaration. For web asset, the statement file should be hosted at
<scheme>://<host>:<port>/.well-known/associations.json.

- Implements IntentFilterVerificationReceiver, an interface between
StatementService and PackageManager. PackageManager will send a
broadcast with action Intent.ACTION_INTENT_FILTER_NEEDS_VERIFICATION.
The service will process the request and returns the results by calling
PackageManager.verifyIntentFilter().

To verify an IntentFilter like this defined in Android app com.test.app
<intent-filter>
  <data android:scheme="https" />
  <data android:host="www.test.com" />
  <data android:pathPattern=".*"/>
</intent-filter>

The service will try to retrieve the statement file from
https://www.test.com:443/.well-known/associations.json and try to find
a JSON object equivalent to
{'relation': ['delegate_permission/common.handle_all_urls'],
 'target': {'namespace': 'android_app',
            'package_name': 'com.test.app',
            'sha256_cert_fingerprints': [APP_CERT_FP]}}
The entry should have the correct relation, package name, and
certificate sha256 fingerprint.

Because this implementation will send a HTTP request for each host
specified in the intent-filter in AndroidManifest.xml, to avoid overwhelming
the network at app install time, we limit the maximum number of hosts we will
verify for a single app to 10. Any app with more than 10 hosts in the
autoVerify=true intent-filter won't be auto verified.

Change-Id: I787c9d176e4110aa441eb5fe4fa9651a071c6610

9 years agoMerge "Fixed memory leak in ExtractEditLayout finish()"
Adam Powell [Tue, 7 Apr 2015 20:56:47 +0000 (20:56 +0000)]
Merge "Fixed memory leak in ExtractEditLayout finish()"

9 years agoMerge "ProgressBar: Fix error of process bar cannot update on some condition."
Adam Powell [Tue, 7 Apr 2015 20:56:33 +0000 (20:56 +0000)]
Merge "ProgressBar: Fix error of process bar cannot update on some condition."

9 years agoMerge "Fixed glitch in NuPlayer when surface size changes"
Wale Ogunwale [Tue, 7 Apr 2015 20:50:24 +0000 (20:50 +0000)]
Merge "Fixed glitch in NuPlayer when surface size changes"

9 years agoFixed glitch in NuPlayer when surface size changes
Wale Ogunwale [Tue, 7 Apr 2015 18:32:17 +0000 (11:32 -0700)]
Fixed glitch in NuPlayer when surface size changes

When VideoView calls setFixedSize(), the SurfaceControl.setSize()
gets called from WindowStateAnimator.setSurfaceBoundariesLocked,
but setSurfaceBoundariesLocked only updates the size, not the
transform matrix/scaling factor.

The after some time, SurfaceControl.setMatrix gets called by
WindowStateAnimator.prepareSurfaceLocked. It updates both size and
matrix (size update is skipped since it's already updated by
setSurfaceBoundariesLocked earlier). This corrects the transform
matrix, and restores video rendering.

We now call setMatrix() in setSurfaceBoundariesLocked() to avoid
the glitch.

Bug: 18773834
Change-Id: I5e8de38495fabe54eefa8bd3003627d11392c0f1

9 years agoUnnecessary dexopt in installPackageLI
Fyodor Kupolov [Tue, 7 Apr 2015 02:04:08 +0000 (19:04 -0700)]
Unnecessary dexopt in installPackageLI

When a new package is created, installNewPackageLI does not need to call
dexopt, since it has already been made.

Bug: 19550105
Bug: 20087446
Change-Id: If6b05bea590eea5f95efebb22a67ccd8cdf632c2

9 years agoMerge "Move cache dir to its own class."
Tim Murray [Tue, 7 Apr 2015 20:33:33 +0000 (20:33 +0000)]
Merge "Move cache dir to its own class."

9 years agoMove cache dir to its own class.
Tim Murray [Tue, 7 Apr 2015 20:24:14 +0000 (13:24 -0700)]
Move cache dir to its own class.

This prevents us from loading the RS static initializer all the time.

Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f

9 years agoMerge "fix a potential race condition"
Xiaohui Chen [Tue, 7 Apr 2015 20:00:23 +0000 (20:00 +0000)]
Merge "fix a potential race condition"

9 years agoMerge "Fix build"
Jorim Jaggi [Tue, 7 Apr 2015 19:55:54 +0000 (19:55 +0000)]
Merge "Fix build"

9 years agoMerge "Add a name to ScriptGroup2.Builder.create method"
Yang Ni [Tue, 7 Apr 2015 19:54:29 +0000 (19:54 +0000)]
Merge "Add a name to ScriptGroup2.Builder.create method"

9 years agoFix build
Jorim Jaggi [Tue, 7 Apr 2015 19:53:37 +0000 (12:53 -0700)]
Fix build

Change-Id: I1c748fd9fea6f5d4baf2c9cb29d1f3dc9f3a7082