187857 Commits

Author SHA1 Message Date
Geoff Mendal
032492572e Import translations. DO NOT MERGE
Change-Id: Ib75733c03e1a3350e192c9967a0f8b2e4b49e8c2
Auto-generated-cl: translation import
2015-04-08 05:52:41 -07:00
Olawale Ogunwale
1bdbce295c Merge "[ActivityManager] Finish the failed-to-pause activity" 2015-04-08 12:51:12 +00:00
Geoff Mendal
3ebbdd03ea Import translations. DO NOT MERGE
Change-Id: I0f9b0b3036a149b304b874fbaa2d95cf56e4e816
Auto-generated-cl: translation import
2015-04-08 05:35:59 -07:00
Tomasz Mikolajewski
86213c9486 Use default theme for StandaloneActivity (DocumentsUI).
Change-Id: I41841702e0b68123cb73ff1203ca6e6fe5eae320
2015-04-08 20:35:33 +09:00
Tomasz Mikolajewski
78699be5ff Add StubProvider::isChildDocument().
Change-Id: Ib17df4307c1f658c42468f86e1f66d4469eefe58
2015-04-08 19:38:55 +09:00
louis_chang
3d86b88fa7 [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
2015-04-08 18:04:11 +08:00
louis_chang
047dfd40fd [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
2015-04-08 16:35:55 +08:00
Clara Bayarri
2f92e9710a Merge "Floating toolbar: Create the FloatingActionMode and use it in DecorView." 2015-04-08 08:00:01 +00:00
Romain Guy
492c836f83 am 5b61a282: am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
* commit '5b61a282255b5273f5194db73f3c88550dc11a57':
  Prevent possible memory leak in SpanSet
2015-04-08 07:38:58 +00:00
Romain Guy
5b61a28225 am e4d787b2: am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
* commit 'e4d787b277a4b9435688c7e6f380bfc367751f76':
  Prevent possible memory leak in SpanSet
2015-04-08 07:27:58 +00:00
Romain Guy
e4d787b277 am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
* commit '80e455e32580fb909af18ad0a21fccc6b433dd4b':
  Prevent possible memory leak in SpanSet
2015-04-08 07:14:35 +00:00
Romain Guy
80e455e325 Merge "Prevent possible memory leak in SpanSet" 2015-04-08 06:56:26 +00:00
Jae Seo
9054431af3 Merge "TIF: Redefine time shift status and change callback and position APIs" 2015-04-08 04:42:36 +00:00
Tomasz Mikolajewski
2c696c4cc6 Merge "Add an initial version for a StubProvider for DocumentsUI." 2015-04-08 04:19:40 +00:00
Tomasz Mikolajewski
0fc8beb2df Add an initial version for a StubProvider for DocumentsUI.
It will be used for testing as well as for development.

Change-Id: I1556836e1070d9e4483d2574bba40aa2fdfde229
2015-04-08 13:14:52 +09:00
Eric Gilmore
e71c0e315f am d242647a: am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
* commit 'd242647afa201cb160db1582ac53dec074292446':
  Fixing date.
2015-04-08 02:15:51 +00:00
Selim Gurun
6dc7ca3040 Merge "Fix Google app crash" 2015-04-08 01:54:45 +00:00
Eric Gilmore
d242647afa am 1fb61c46: am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
* commit '1fb61c4688c37677020c66b96f067074b1dab3b4':
  Fixing date.
2015-04-08 01:49:50 +00:00
Selim Gurun
7e01c4ceb6 Fix Google app crash
Bug: 20110378

Until chromium imlementation lands, use the base implementation.

Change-Id: Icd8e83503770471219718fb38a131938b1bbf0c2
2015-04-07 18:40:14 -07:00
Eric Gilmore
1fb61c4688 am b1044aaf: am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
* commit 'b1044aaf29227b2075e08098b6f5ed5eaf7cf2c0':
  Fixing date.
2015-04-08 01:29:10 +00:00
Ying Wang
50d126bc24 Merge "Fix 64-bit build." 2015-04-08 01:05:30 +00:00
Ying Wang
05f5674ae8 Fix 64-bit build.
Change-Id: I9f2e2edf276f98864b65708b746bf938a4a3c8d6
2015-04-07 18:03:31 -07:00
Tomasz Mikolajewski
4caa91000b Merge "Fix broken tests in DocumentsUI." 2015-04-08 00:55:52 +00:00
Tomasz Mikolajewski
8090ffe633 Fix broken tests in DocumentsUI.
Change-Id: Ia41eda4d9f500882ca7eb62b13a4bca60978bc33
2015-04-08 09:54:43 +09:00
Eric Gilmore
b1044aaf29 am 8ba1380f: am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
* commit '8ba1380fb59d3b7adec7e99f354eccabcead65b6':
  Fixing date.
2015-04-08 00:53:50 +00:00
Eric Gilmore
8ba1380fb5 am a4f72eb0: am aac938a8: Merge "Fixing date." into lmp-docs
* commit 'a4f72eb079938bed57e8183e8110da044fe03429':
  Fixing date.
2015-04-08 00:43:41 +00:00
Jae Seo
465f0d6aa3 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
2015-04-07 17:34:39 -07:00
Eric Gilmore
a4f72eb079 am aac938a8: Merge "Fixing date." into lmp-docs
* commit 'aac938a8597efb8d71ce7dc124779f1d268510eb':
  Fixing date.
2015-04-08 00:33:07 +00:00
Fabrice Di Meglio
9f3f6000ed Merge "Add IntentFilter auto verification - part 3" 2015-04-08 00:30:37 +00:00
Fabrice Di Meglio
0788595e0c 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
2015-04-07 17:13:32 -07:00
Svetoslav
96a77167c8 Apps can request permissions only on platforms that have runtime permissions.
Change-Id: Id0e53c37c9d472287f5bd6a610d446aef6b695b9
2015-04-07 17:12:00 -07:00
Eric Gilmore
aac938a859 Merge "Fixing date." into lmp-docs 2015-04-08 00:05:28 +00:00
Chien-Yu Chen
0a551f1487 camera2: add reprocess format map
Add reprocess format map to StreamConfigurationMap and add support
for ImageFormat.PRIVATE.

Change-Id: I5dd8ecbbb63231574a9ca4bf27c374b4a220e0ed
2015-04-07 16:57:23 -07:00
Adam Lesinski
0dfd7fba38 Merge "Adding per UID WiFi power distribution." 2015-04-07 23:51:17 +00:00
Vladislav Kaznacheev
17494017a6 Merge "Constrain 'touch modal' behavior to the activity stack." 2015-04-07 23:32:10 +00:00
Vladislav Kaznacheev
c7ad0a0cb0 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
2015-04-07 16:30:06 -07:00
Nick Kralevich
550a901ce1 Merge "heapdump: use appendable file descriptor" 2015-04-07 23:28:32 +00:00
Chet Haase
952cba2e07 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
2015-04-07 16:26:32 -07:00
Nick Kralevich
8b0c61d378 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
2015-04-07 16:22:46 -07:00
Jim Miller
c68b9d6acc 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
2015-04-07 23:18:57 +00:00
Jim Miller
5dd10bd11a am e2e945a8: am 40c4021a: Merge "third part apps can disable the secret lockscreen"
* commit 'e2e945a8871310ab900dbe33b587e522446b9a6d':
  third part apps can disable the secret lockscreen
2015-04-07 23:08:05 +00:00
Wale Ogunwale
07e1967cfc Merge "Fixed issue with prematurely removing display for child activities." 2015-04-07 23:03:02 +00:00
Jim Miller
e2e945a887 am 40c4021a: Merge "third part apps can disable the secret lockscreen"
* commit '40c4021a70c56bcc4d6f6569d795dff52ab4e369':
  third part apps can disable the secret lockscreen
2015-04-07 22:58:53 +00:00
Alan Viverette
7f9f68f8a0 Merge "Fix hours in clock" 2015-04-07 22:54:49 +00:00
Jim Miller
40c4021a70 Merge "third part apps can disable the secret lockscreen" 2015-04-07 22:41:19 +00:00
Alan Viverette
fc76a64be7 Fix hours in clock
Bug: 20096871
Change-Id: Ib4f155f6b6221bd2a41af86a018d42ddea372950
2015-04-07 15:37:30 -07:00
Alex Klyubin
38bb642bbb Add BlockMode.GCM constant to AndroidKeyStore API.
GCM mode is not yet implemented. This is just adding a constant to
KeyStoreKeyConstraints.BlockMode.

Bug: 18088752
Change-Id: Ibba5b393f56ab9f6bb96d994f110687ab8d65ff3
2015-04-07 15:09:12 -07:00
Adam Powell
a3f3a309cd am 66a51c70: am da1bc605: am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"
* commit '66a51c7080f26219652f84ae8d10b1e4d63409af':
  Fixed memory leak in ExtractEditLayout finish()
2015-04-07 22:02:48 +00:00
Adam Powell
20a2ef45e1 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.
2015-04-07 22:02:38 +00:00
Quddus Chong
da7c854e1b 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
2015-04-07 22:02:29 +00:00