Commit Graph

245370 Commits

Author SHA1 Message Date
Jason Monk
4691e24d0b Merge "Fix accessibility order in nav bar" into nyc-dev 2016-05-10 15:26:36 +00:00
Jason Monk
c62cf80faa Fix accessibility order in nav bar
Change-Id: I2e90dee8e50b0642f39258fe3d04ded2f0bb8961
Fixes: 28281859
2016-05-10 11:19:48 -04:00
Amanda Kassay
7cf1e9c403 Deleting pages so redirects work on DevSite. b/28670825
Change-Id: I4eb039d96f3f1378ecf0960d31ffea1bfbca0520
2016-05-10 11:10:44 -04:00
Ruben Brunk
aaabcce6d4 Merge "Set notification listener defaults for system VrListeners." into nyc-dev 2016-05-10 14:54:46 +00:00
Narayan Kamath
966210b721 Use MetricsLogger.histogram for optimizing app statistics.
bug: 28528058
bug: 28544474
Change-Id: Icbe26e9699eade08725e38914f07d7584e77b608
2016-05-10 15:53:29 +01:00
TreeHugger Robot
9bfc33f8ae Merge "Patrially revert 4ec026930bfbbb5d8923f359c8." into nyc-dev 2016-05-10 14:45:36 +00:00
Delphine Martin
2a6b5c63c0 Set jack.assert.policy value to 'always'
The policy value 'enable' does not exist anymore
and was replaced by 'always'

Change-Id: I233a555821a84d917e3b3ec923b5baffc18bd2d2
2016-05-10 14:42:33 +00:00
Diego Perez
5ca21e4cec Fix VectorDrawable_Delegate and DrawerLayout
Modify the nDraw call that has been changed in the framework to return
an int with the number of pixels allocated.
Modify the animation initialization render call to use the actual
measured size (instead of 0,0) so the DrawerLayout is setup
correctly.

Change-Id: I198de05206382c6489056f7c3d9a1d328864321c
2016-05-10 15:21:38 +01:00
Joachim Sauer
91f4aec3cc Fix AbstractStringBuilder gaining extra APIs.
AbstractStringBuilder showed up in the API as gaining methods originally
belonging to StringBuffer/StringBuilder (mostly append(*) and
insert(*)).

Ideally it should not be in the API at all, but it's traditionally been
there and we'll keep it for now.

@hide the affected methods and move the "implements Appendable"
definition to StringBuffer/StringBuilder (as methods implementing an
interface can't be @hidden).

Bug: 27582395
Change-Id: I0b85c2c84f3e52ffe7864728d083f9c6ea7304ef
2016-05-10 15:15:17 +01:00
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
TreeHugger Robot
9b40edab61 Merge "Revert "Enable profile merging for post-OTA package verification"" into nyc-dev 2016-05-10 12:09:26 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Youngsang Cho
e2cd56cc8a TIF: Handle possible memory leaks
Bug: 28656236
Change-Id: I162bb8ebc59be90ac1b1eb824c1db5aa9169c247
2016-05-09 15:30:43 -07:00
TreeHugger Robot
3b25fd081d Merge "Fix a couple bad links in the javadoc for android.os.health." into nyc-dev 2016-05-09 22:03:05 +00:00
Daniel Yu
3f2dd58872 docs: Updating Scoped Directory Access docs for N DP3
Adding info about new getStorageVolume(File) API.

Bug: 28449136

Change-Id: I33f91a65cb9c926a9f1569bf4bea637f622c1e71
2016-05-09 21:59:22 +00:00
Daniel Yu
9bef35b598 docs: Updating TV recording API docs for N DP3
Updating TV recording docs: change for TvInputManager.updateTvInputInfo(),
adding info on new android:canRecord attribute.

Bug: 28451239

Change-Id: I11bdb41245c5aedec566211b853293ed079c140c
2016-05-09 21:56:59 +00:00
Winson Chung
e981777f0e Merge "Fixing regression in call to showRecents()." into nyc-dev 2016-05-09 21:36:57 +00:00
Paul Crowley
9aa6bb5a4a Merge "Two phases to set the password for disk encryption" into nyc-dev 2016-05-09 21:35:34 +00:00
Chong Zhang
a806e8ab12 Merge "Fix a flicker when opening app again quickly while it's exiting" into nyc-dev 2016-05-09 21:16:49 +00:00