Commit Graph

246497 Commits

Author SHA1 Message Date
Baligh Uddin
fc41735835 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-10 13:45:26 +00:00
Narayan Kamath
3496fdbd2f Patrially revert 4ec026930b.
In preparation for using MetricsLogger.histogram / count. The main
purpose of this change is to remove the (now bogus) action IDs
associated with this logging.

bug: 28528058
bug: 28544474

Change-Id: Id79de2d34c3f937a327ac21d44e55c18047bce85
2016-05-10 14:26:46 +01:00
Calin Juravle
264c5a60f6 Merge "Revert "Enable profile merging for post-OTA package verification"" into nyc-dev
am: 9b40edab61

* commit '9b40edab61ca9bf3b9f5931bbfc266eb6c6216e6':
  Revert "Enable profile merging for post-OTA package verification"

Change-Id: Ifa08f475a9dd3830e0c7175757a4a5b22d6b3fd8
2016-05-10 12:20:42 +00:00
TreeHugger Robot
9b40edab61 Merge "Revert "Enable profile merging for post-OTA package verification"" into nyc-dev 2016-05-10 12:09:26 +00:00
Narayan Kamath
eac07576b7 Merge "Add a command to print package dexopt status." into nyc-dev
am: eaeb3a21ae

* commit 'eaeb3a21aecbf284cd60c236d68f10a859ed7e4b':
  Add a command to print package dexopt status.

Change-Id: I860692ca798c6e96be6210946d2ba661db8faae2
2016-05-10 09:45:38 +00:00
TreeHugger Robot
eaeb3a21ae Merge "Add a command to print package dexopt status." into nyc-dev 2016-05-10 09:35:51 +00:00
Janis Danisevskis
5fc108a3c2 Merge "Updates training/camera/photobasics.jd with FileProvider details" into nyc-dev
am: 8f6c64d459

* commit '8f6c64d45970ff162a5669edd897b0496b3023de':
  Updates training/camera/photobasics.jd with FileProvider details

Change-Id: I27401db46cdaede83b493ef4bc8a5271a8673129
2016-05-10 09:25:20 +00:00
Janis Danisevskis
8f6c64d459 Merge "Updates training/camera/photobasics.jd with FileProvider details" into nyc-dev 2016-05-10 09:12:49 +00:00
Narayan Kamath
88eea9e580 Add a command to print package dexopt status.
Can be invoked like so :

$adb shell dumpsys package dexopt
$adb shell dumpsys package dexopt <packageName>

bug: 27494108
Change-Id: Ie91f744aeac772e0e22abc9c805df9290a4e2418
2016-05-10 08:51:56 +00:00
Guang Zhu
e3dec83852 Merge "Revert "Persist settings on a dedicated background thread"" into nyc-dev
am: 875e99443f

* commit '875e99443f6c56d71090b8bedddd71f2b9601787':
  Revert "Persist settings on a dedicated background thread"

Change-Id: Ice3e7f7ebe50f85eb0a9f3e04662df5f68963c07
2016-05-10 07:18:29 +00:00
Guang Zhu
875e99443f Merge "Revert "Persist settings on a dedicated background thread"" into nyc-dev 2016-05-10 07:03:07 +00:00
Guang Zhu
5537ce1f94 Revert "Persist settings on a dedicated background thread"
Bug: 25472484

This reverts commit 82b8c92b97.

Change-Id: I1a8c2e186ad74d78f1c82fe508c6f71c438177dc
2016-05-10 07:02:42 +00:00
Joe Fernandez
e738cbb1a1 docs: Wear F Preview page infrastructure am: 9ccfe2553b am: 1b99b2ce92
am: b31c073689

* commit 'b31c073689bd9837f7d76958974a3d363f55263a':
  docs: Wear F Preview page infrastructure

Change-Id: I4b44d6d4b406c03ee86adba039578e2a509a8b56
2016-05-10 06:05:47 +00:00
Joe Fernandez
b31c073689 docs: Wear F Preview page infrastructure am: 9ccfe2553b
am: 1b99b2ce92

* commit '1b99b2ce927ec16ade8f05f607eb190dc91b2548':
  docs: Wear F Preview page infrastructure

Change-Id: I2ac0d97023fad2c20f67f96d89921c19b7c72270
2016-05-10 06:00:16 +00:00
Joe Fernandez
1b99b2ce92 docs: Wear F Preview page infrastructure
am: 9ccfe2553b

* commit '9ccfe2553bb0f2cf5ae6f493f12042cf9fa1eba2':
  docs: Wear F Preview page infrastructure

Change-Id: I7665b4ecbd3c46a8ea7eb1a675933f43243911cc
2016-05-10 05:54:38 +00:00
Joe Fernandez
9ccfe2553b docs: Wear F Preview page infrastructure
- add new landing page for F Preview
- add new supporting pages for F Preview
- Update TOC file to list new pages

b/28004352

Change-Id: I3a4de8b3c756f1bbee91e136d67a413a5953277a
2016-05-09 22:37:15 -07:00
Andreas Gampe
9d3022c704 Merge "Frameworks/base: Make profile buffer adjustable" into nyc-dev
am: a2723ca88c

* commit 'a2723ca88c630f62ac413e562fe335b5fc623f1c':
  Frameworks/base: Make profile buffer adjustable

Change-Id: I161883b14055d64438ded935ffb1d8983dc862d3
2016-05-10 04:30:18 +00:00
Andreas Gampe
a2723ca88c Merge "Frameworks/base: Make profile buffer adjustable" into nyc-dev 2016-05-10 04:15:13 +00:00
Andreas Gampe
0f03a01ca3 Frameworks/base: Make profile buffer adjustable
Add a debug system property to change the profile buffer size.

Bug: 26877591
Change-Id: Idd13f2bc6563fd88daadd1d6679f3243dab1a0ef
2016-05-09 21:05:12 -07:00
Svet Ganov
b3f1e67921 Persist settings on a dedicated background thread
am: 82b8c92b97

* commit '82b8c92b97d3c7006d7a9f67a9cdb83263d6bf2c':
  Persist settings on a dedicated background thread

Change-Id: I1432822542bf914d106440b3f4bfa0e56b911eb2
2016-05-10 03:50:44 +00:00
Svet Ganov
82b8c92b97 Persist settings on a dedicated background thread
Settings were persisted on the system background thread but during
first boot the device is under heavy load and persisting settings
competes with other system components using the shared background
thread. As a result persisting settings can be delayed much longer
than the expected 200ms. This can cause issues with setup wizard
being skipped/went over and its component disaabled being persisted
but the setting whether the device is provisioned not being
persisted - now if the device boots it will have no SUW but also
the home button would be missing. Generally, we need a tansactional
abstraction in the system process to peform all delayed operations
atomically.

bug:25472484

Change-Id: Icf38e72403b190a8fa9d0554b8dd83ce78da3bc8
2016-05-10 03:39:55 +00:00
Wale Ogunwale
5a8e2b210a Merge "Remove replaced window if we aren\'t animating its exit." into nyc-dev
am: c26aabadc3

* commit 'c26aabadc3a88af6cdfe50fa163eb48c0330c90e':
  Remove replaced window if we aren't animating its exit.

Change-Id: I160f49ab3b0bf1ea77f38a1cbc0ae493577860d4
2016-05-10 03:39:38 +00:00
TreeHugger Robot
c26aabadc3 Merge "Remove replaced window if we aren't animating its exit." into nyc-dev 2016-05-10 03:31:33 +00:00
Selim Cinek
17dcb56262 Merge "Fixed a memory leak with notification children" into nyc-dev
am: 9688c2edc9

* commit '9688c2edc962a0d2ef983d4b5cf99be2c764ddb1':
  Fixed a memory leak with notification children

Change-Id: If0bd6a153cf84063b518fa0562a1e59dab016d2d
2016-05-10 03:17:21 +00:00
Selim Cinek
9688c2edc9 Merge "Fixed a memory leak with notification children" into nyc-dev 2016-05-10 03:03:09 +00:00
Chong Zhang
eb66557eeb Make sure preserved surface is removed when it's no longer needed
Preserved surface might be used for format change as well as surface
size change outside a drag resizing. We currently remove the preserved
surface in prepareSurfaceLocked() after the window is shown, but
sometimes app gets stopped before any animation pass is run.

bug: 28546172
Change-Id: I7f883f4b5c6da4dce70f94173b368a912056d062
2016-05-09 19:26:52 -07:00
Selim Cinek
7103fd44a8 Fixed a memory leak with notification children
Children where not removed from the stackscrollstate as
their removal was blocked when removing a group.

Change-Id: I0a3bbb91d0df2693e1ec7e89276c8714636a34ad
Fixes: 28670320
2016-05-09 22:22:33 -04:00
smain@google.com
144a60a0be update the collections metadata for relocated studio pages. bug: 28632136 am: 8fb04c66c8 am: 6d18d5dc1f am: 78ac696e6b
am: 6be7049639

* commit '6be70496395e7044d8bcb205e2875952a4a25c2e':
  update the collections metadata for relocated studio pages. bug: 28632136

Change-Id: I4f49f6cbdfc49df583970795d6218290daadef88
2016-05-10 01:53:48 +00:00
smain@google.com
6be7049639 update the collections metadata for relocated studio pages. bug: 28632136 am: 8fb04c66c8 am: 6d18d5dc1f
am: 78ac696e6b

* commit '78ac696e6b525b40d85c2699940da823198909ac':
  update the collections metadata for relocated studio pages. bug: 28632136

Change-Id: I70e4f37404e639b8afd579dbea8aefb6f983ce50
2016-05-10 01:48:11 +00:00
smain@google.com
78ac696e6b update the collections metadata for relocated studio pages. bug: 28632136 am: 8fb04c66c8
am: 6d18d5dc1f

* commit '6d18d5dc1f457661d798aef252391b67b71171f6':
  update the collections metadata for relocated studio pages. bug: 28632136

Change-Id: I26feb5b6fc327378d32e878301fef95d32076902
2016-05-10 01:42:11 +00:00
Youngsang Cho
0153d78dc3 Merge "TIF: Handle possible memory leaks" into nyc-dev
am: cea42f6353

* commit 'cea42f63536f637ad17ad2706cfee3164b576438':
  TIF: Handle possible memory leaks

Change-Id: I470dac004836e4bb68ecf282e5b43af6c675e490
2016-05-10 01:36:11 +00:00
smain@google.com
6d18d5dc1f update the collections metadata for relocated studio pages. bug: 28632136
am: 8fb04c66c8

* commit '8fb04c66c8f51d39722a7b0be4f55812aac36270':
  update the collections metadata for relocated studio pages. bug: 28632136

Change-Id: I606539247da364cf02ae9645e0b4ee7b5c7fbd77
2016-05-10 01:36:08 +00:00
TreeHugger Robot
cea42f6353 Merge "TIF: Handle possible memory leaks" into nyc-dev 2016-05-10 01:23:36 +00:00
Wale Ogunwale
73da942b72 Merge "Fixed bug with pop-up window placement at the bottom in split-screen" into nyc-dev
am: 21bbc5a775

* commit '21bbc5a775ea65318d1250b0406c2573128d285e':
  Fixed bug with pop-up window placement at the bottom in split-screen

Change-Id: I03fa322474eb7884720a0ce4ace38c71d95f06e9
2016-05-10 00:56:01 +00:00
smain@google.com
8fb04c66c8 update the collections metadata for relocated studio pages.
bug: 28632136

Change-Id: I3c858523751c8a58b8ad90c15ffd5400925ad4df
2016-05-09 17:55:54 -07:00
TreeHugger Robot
21bbc5a775 Merge "Fixed bug with pop-up window placement at the bottom in split-screen" into nyc-dev 2016-05-10 00:44:41 +00:00
Carlos Valdivia
e7e7a6b2c7 Merge "[Security] Prevent malicious notifications from AMS." into nyc-dev
am: c118e62076

* commit 'c118e62076c6defc39001c1618d566e20dda2574':
  [Security] Prevent malicious notifications from AMS.

Change-Id: I55046f06652b37702f48d7e36b121e893e9ffe5f
2016-05-10 00:38:08 +00:00
Jeff Sharkey
cc72e549ab Merge "Fix package cleanup when parsed APK missing." into nyc-dev
am: b3b7763d5d

* commit 'b3b7763d5d35f4e85f3c5245abb9ab526b0e4c23':
  Fix package cleanup when parsed APK missing.

Change-Id: If387d9dc16358af03e95693e9794bfe6bbfa22b6
2016-05-10 00:32:06 +00:00
Carlos Valdivia
c118e62076 Merge "[Security] Prevent malicious notifications from AMS." into nyc-dev 2016-05-10 00:25:47 +00:00
TreeHugger Robot
b3b7763d5d Merge "Fix package cleanup when parsed APK missing." into nyc-dev 2016-05-10 00:19:39 +00:00
Selim Cinek
df5454ef11 Merge "Fixed an issue where clearing transient views could ANR" into nyc-dev
am: b745a89c1f

* commit 'b745a89c1f1cec0bfc14c5cd3053b32b0ffc22fe':
  Fixed an issue where clearing transient views could ANR

Change-Id: Ia38f5fc483078241124b92b1ab15a30b7544014f
2016-05-09 23:46:00 +00:00
Selim Cinek
b745a89c1f Merge "Fixed an issue where clearing transient views could ANR" into nyc-dev 2016-05-09 23:33:15 +00:00
Ruben Brunk
8820f943e0 Set notification listener defaults for system VrListeners.
- For a package that has been enabled as a VrListenerService
  and been preinstalled on the device's system image, enable
  NotificationListenerServices by default for that package as
  well.
- Use appops function instead of packagemanager for runtime
  permissions.

Bug: 28614768
Change-Id: If88d47b666656a6e9567118626c1d9fa00280ec4
2016-05-09 16:31:43 -07:00
Adrian Roos
181385ce33 Keep RemoteInputView visible when focused
Scrolls the NotificationStackScrollLayout in response to movement
to ensure that the focused view stays visible. Also makes sure that
the action list is always aligned at the bottom of the notification
to avoid jank during this scrolling when the height changes.

Fixes: 28193862
Fixes: 26919632
Change-Id: I911a873367fe26eafd9fae4bca4e693d0827eba7
2016-05-09 23:30:26 +00:00
Selim Cinek
a7ebe2c7da Merge "Fixed a crash with min-priority notifications in a group" into nyc-dev
am: 3e04c56432

* commit '3e04c5643230cb9ac688f1367e19495509005637':
  Fixed a crash with min-priority notifications in a group

Change-Id: I3167891563ba73c895ca41ed0cfead37c6601110
2016-05-09 23:29:12 +00:00
Phil Weaver
2fbdd48682 Reduce cost of a11y services with magnification.
Services that declare that they can control magnification,
but never actually make a change or register a listener
waste cycles as we compute magnification data they never use.

Avoid registering for magnification callbacks unless magnification
gestures are enabled, a service is listening for magnification
changes, or a service has changed magnification.

Bug: 28425922
Change-Id: I114a833669bd53b2cd757c94ea52b65a2f838a08
2016-05-09 16:21:29 -07:00
Selim Cinek
3e04c56432 Merge "Fixed a crash with min-priority notifications in a group" into nyc-dev 2016-05-09 23:19:28 +00:00
Selim Cinek
81f26d332c Fixed an issue where clearing transient views could ANR
It could lead to an infinite loop because it was called on
the wrong view.

Change-Id: Ie8008114474eccf2c0a4b930a5299eb6be1247c1
Fixes: 28634521
2016-05-09 18:54:10 -04:00
Jeff Sharkey
aab8cbfa23 Fix package cleanup when parsed APK missing.
Recently the uninstall logic was changed to require a parsed APK to
succeed, but we need uninstall to succeed when the APK lives on an
ejected storage device.

To fix that case, create a fake parsed package with just enough
information for the delete to proceed.

Fix package movement bug that sent an invalid user ID to installd;
we need to explicitly ask for each user.

Bug: 28658206
Change-Id: Icf417661f07688c7523f0d082528adec2ac70cc6
2016-05-09 16:51:11 -06:00
Adam Powell
858cf036a3 Move Activity multi-window event logic out of the public methods
Move the logic for dispatching multi-window mode change events to
fragments and the activity window out of the public API onFoo methods
meant to be overridden by apps. This prevents problems if an extending
class forgets to call super.onFoo in these methods and removes the
need for doing so.

Bug 28667205

Change-Id: Ibf4c543e22b95753e1e4812bbd3e81f7648de54d
2016-05-09 15:45:37 -07:00