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
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
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
- 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
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
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
Children where not removed from the stackscrollstate as
their removal was blocked when removing a group.
Change-Id: I0a3bbb91d0df2693e1ec7e89276c8714636a34ad
Fixes: 28670320
- 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
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
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
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
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
Updating TV recording docs: change for TvInputManager.updateTvInputInfo(),
adding info on new android:canRecord attribute.
Bug: 28451239
Change-Id: I11bdb41245c5aedec566211b853293ed079c140c