OSDN Git Service
Sungsoo Lim [Thu, 3 Mar 2016 04:59:21 +0000 (13:59 +0900)]
MediaBorwserService: Update javadoc
Bug:
26733259
Change-Id: I7240149c0cbbacf221e466908e6ebc201d603c5f
Keisuke Kuroyanagi [Fri, 4 Mar 2016 00:53:57 +0000 (00:53 +0000)]
Merge "Refresh action mode always when selection is modified." into nyc-dev
Felipe Leme [Fri, 4 Mar 2016 00:46:24 +0000 (00:46 +0000)]
Merge "Code cleanup on NMPS and NMS." into nyc-dev
Felipe Leme [Thu, 3 Mar 2016 00:17:38 +0000 (16:17 -0800)]
Code cleanup on NMPS and NMS.
- Always check for DBG before using Slog.d.
- Logs duration of NMS.systemReady() when debugging.
- Logs duration of NMPS.updateRulesForGlobalChangeLocked() when debugging.
- Removed redundant toString() calls.
- Catch multiple exceptions.
- Replaced enhanced for on nested Iterable iterations.
BUG:
21725996
Change-Id: Ia775a394b59de7a0570ad4954d1fe3a2698c66d6
Chris Craik [Fri, 4 Mar 2016 00:20:44 +0000 (00:20 +0000)]
Merge "Improve handling of undefined-at-record-time bounds in new ops" into nyc-dev
Nick Kralevich [Fri, 4 Mar 2016 00:20:04 +0000 (00:20 +0000)]
Merge "Am.java: Use write-only file descriptors" into nyc-dev
Adam Lesinski [Fri, 4 Mar 2016 00:16:45 +0000 (00:16 +0000)]
Merge "Move the guts of Resources to ResourcesImpl" into nyc-dev
Roozbeh Pournader [Thu, 3 Mar 2016 23:46:56 +0000 (23:46 +0000)]
Merge "Unhide LocaleList.getAdjustedDefault()" into nyc-dev
Roozbeh Pournader [Thu, 3 Mar 2016 23:45:22 +0000 (23:45 +0000)]
Merge "Fix script-related parts of locale resource matching" into nyc-dev
Jason Monk [Thu, 3 Mar 2016 23:41:40 +0000 (23:41 +0000)]
Merge "Fix night mode availability" into nyc-dev
Sid Soundararajan [Thu, 3 Mar 2016 23:37:13 +0000 (23:37 +0000)]
Merge "Add Launch Task Animation, re-do values for red-lines." into nyc-dev
Keisuke Kuroyanagi [Thu, 3 Mar 2016 23:34:47 +0000 (23:34 +0000)]
Merge "Supress SuggestionPopup for original field." into nyc-dev
Todd Kennedy [Thu, 3 Mar 2016 23:30:09 +0000 (23:30 +0000)]
Merge "Fix javadoc" into nyc-dev
Jason Monk [Thu, 3 Mar 2016 23:25:54 +0000 (18:25 -0500)]
Fix night mode availability
Night mode tile is getting auto-added. Do the safe thing for now
and fix the checks around the tile availability to make sure it
isn't shown when it shouldn't be, then fix the auto-add logic later.
Bug:
27480924
Change-Id: I3d032038cbc77bf478e3c769c6796be289a8d993
Todd Kennedy [Thu, 3 Mar 2016 23:24:33 +0000 (15:24 -0800)]
Fix javadoc
Make referenced constants @SystemApi and change argument name to
match its actual meaning.
bug:
25441401
Change-Id: I4277799b95f394edb4305be05f57437717a86691
Nick Kralevich [Thu, 3 Mar 2016 23:20:39 +0000 (15:20 -0800)]
Am.java: Use write-only file descriptors
Use write only file descriptors for am commands. Having read-write
file descriptors isn't needed, and not all SELinux app domains have
read access to /data/local/tmp file descriptors.
Addresses the following denial:
avc: denied { read } for path="/data/local/tmp/foo" dev="dm-2"
ino=654084 scontext=u:r:system_app:s0
tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=0
Steps to reproduce:
adb shell ps | grep settings
adb shell am dumpheap PID_FROM_ABOVE /data/local/tmp/settings.hat
Expected:
1) command works
Actual:
1) SELinux denial and no settings.hat output.
Bug:
27472701
Change-Id: Id8df0c5a41046b405444e14c70075c986d9936c3
Felipe Leme [Thu, 3 Mar 2016 23:20:28 +0000 (23:20 +0000)]
Merge "Created a firewall chain for power save mode." into nyc-dev
Roozbeh Pournader [Thu, 3 Mar 2016 23:06:46 +0000 (15:06 -0800)]
Fix script-related parts of locale resource matching
Previously, a bit was kept to find if the script of a locale was
explicitly "provided" in a resource. This was not backward
compatible, and failed in some edge cases when the package was
created with older versions of AAPT that did not set the bit.
The cases would happen when the old resource had an explicit script
specified in its locale, but since the "provided" bit was not set in
the package, we would assume that the script was computed by us.
This CL replaces the "provided" bit with a "computed" bit, so the
default value of the bit (set to "false" for old packages) would be
correct.
Bug:
27156990
Change-Id: I99e7f1ad8f70c90e25ab3640ed34cc1a6f8d1d64
Andreas Gampe [Thu, 3 Mar 2016 23:19:26 +0000 (23:19 +0000)]
Merge "Frameworks/base: OtaDexopt needs to move artifacts on boot" into nyc-dev
Philip P. Moltmann [Thu, 3 Mar 2016 23:05:08 +0000 (23:05 +0000)]
Merge "Fix three bugs in the handling of the advanced options activity" into nyc-dev
Selim Cinek [Thu, 3 Mar 2016 22:32:54 +0000 (22:32 +0000)]
Merge "Fixed that the bigtext nofitication had slightly different padding" into nyc-dev
Selim Cinek [Thu, 3 Mar 2016 22:32:07 +0000 (22:32 +0000)]
Merge "Fixed a bug where the notification content could become empty" into nyc-dev
Winson Chung [Thu, 3 Mar 2016 22:29:37 +0000 (22:29 +0000)]
Merge "Disabling timer" into nyc-dev
Winson [Tue, 1 Mar 2016 20:05:59 +0000 (12:05 -0800)]
Disabling timer
- Disabling the timer by default
- Adding flag to enable/disable paging (disabled by default). When
disabled, the second tap will just launch the next task.
- Updating the initial state to put tasks at specific points on the
curve. This allows us to allocate specific space for the front most
tasks, as well as the tasks behind it.
- Removing hardware layer config (no devices targeting N depend on it)
- Fixing issue with the header not having the final dim applied when
transitioning into recents.
- Fixing issue where the stack range would not be reloaded after docking
or undocking a task.
Bug:
27409035
Change-Id: I13a03fba2b1a770f15d0033d43ef4c28415041c9
Dianne Hackborn [Thu, 3 Mar 2016 22:24:23 +0000 (22:24 +0000)]
Merge "Work on issue #
27381069: Master tracking bug: NYC is Sluggish" into nyc-dev
Roozbeh Pournader [Thu, 3 Mar 2016 22:20:52 +0000 (14:20 -0800)]
Unhide LocaleList.getAdjustedDefault()
Apps/libraries/widgets that wish to display text their own way (think
WebView/Chrome) or do some resource management themselves should be
able to use LocaleList.getAdjustedDefault(), the same way we use it
in Paint and Resources.
Bug:
26988869
Change-Id: I4b6aac7adb5da15459dca92574923f33f0702433
Chris Craik [Thu, 3 Mar 2016 22:16:31 +0000 (14:16 -0800)]
Improve handling of undefined-at-record-time bounds in new ops
bug:
26591194
Change-Id: Ifc695d285d688903e2ef6aa3f0cb9e7ebf1f68d6
Julia Reynolds [Thu, 3 Mar 2016 22:08:52 +0000 (22:08 +0000)]
Merge "Only noisy notifications can be bumped for intrusiveness." into nyc-dev
Adrian Roos [Thu, 3 Mar 2016 21:59:13 +0000 (21:59 +0000)]
Merge "Disable extract UI on remote input" into nyc-dev
Udam Saini [Thu, 3 Mar 2016 21:45:08 +0000 (21:45 +0000)]
Merge "Only adds translucent status bar according to theme values." into nyc-dev
Mihai Niță [Thu, 3 Mar 2016 21:39:55 +0000 (21:39 +0000)]
Merge "Show locale in region list even if suggested in language list" into nyc-dev
Dianne Hackborn [Thu, 3 Mar 2016 21:39:10 +0000 (13:39 -0800)]
Work on issue #
27381069: Master tracking bug: NYC is Sluggish
Have the activity manager us its own scheduling priority constants,
so that the new relative comparisons it is doing will work out
correctly.
Change-Id: I7bd1e5a3178ea491117bc497f87e4b75c92e0bc8
George Mount [Thu, 3 Mar 2016 21:38:23 +0000 (21:38 +0000)]
Merge "Remove animation listener while paused." into nyc-dev
Todd Kennedy [Thu, 3 Mar 2016 21:34:56 +0000 (21:34 +0000)]
Merge "Splits without restart" into nyc-dev
Selim Cinek [Thu, 3 Mar 2016 01:22:19 +0000 (17:22 -0800)]
Fixed that the bigtext nofitication had slightly different padding
The reason was that we're using a different textview there which uses
a SimpleLayout. This is now changed to also use the same one.
Bug:
27436418
Change-Id: I7e6dd503e09cf69ba8ed5bb6dd07fc79ee519cd3
Selim Cinek [Wed, 2 Mar 2016 23:34:28 +0000 (15:34 -0800)]
Fixed a bug where the notification content could become empty
This was caused by legacy code which set the actual height, which
in turn set the contentview to collapsed. If that happend during
an animation, the view could become blank.
Bug:
27448145
Change-Id: I0b3a2a2aee3052810176c2ff9a23825d83145d69
Udam Saini [Thu, 3 Mar 2016 21:20:18 +0000 (13:20 -0800)]
Only adds translucent status bar according to theme values.
On SUW screens, we do not want to add a translucent status bar. This
also affects ime insets when keyboards are shown.
bug:
27479424
bug:
27063940
Change-Id: Ic339a9d931f6580a9af8deea85ec5e5bb60f6cca
Rob Carr [Thu, 3 Mar 2016 21:23:53 +0000 (21:23 +0000)]
Merge "Reimplement PIP animation to not use drag resizing." into nyc-dev
Rob Carr [Thu, 3 Mar 2016 21:23:38 +0000 (21:23 +0000)]
Merge "Ensure we apply override configuration to the global one." into nyc-dev
Rob Carr [Thu, 3 Mar 2016 21:23:15 +0000 (21:23 +0000)]
Merge "Update mCompatFrame in applyGravityAndUpdateFrame." into nyc-dev
Rob Carr [Thu, 3 Mar 2016 21:23:00 +0000 (21:23 +0000)]
Merge "Fix pinned stack frame computation." into nyc-dev
mukesh agrawal [Thu, 3 Mar 2016 21:22:43 +0000 (21:22 +0000)]
Merge "WifiConfiguration: show more detail in toString()" into mm-wireless-dev
am:
7516adbd6d
* commit '
7516adbd6d8584aff957ff722dd20543c25c6897':
WifiConfiguration: show more detail in toString()
Andreas Gampe [Fri, 26 Feb 2016 19:25:36 +0000 (11:25 -0800)]
Frameworks/base: OtaDexopt needs to move artifacts on boot
Make OtaDexoptService a bootstrap service. It needs to start
immediately after the PackageManagerService so that it can move
A/B artifacts into their new place.
Add a method to Installer for the move.
Bug:
25612095
Change-Id: Idcf759b3c947088b416d54d2fa269ef27daf93ab
Mukesh Agrawal [Thu, 3 Mar 2016 21:15:18 +0000 (21:15 +0000)]
Merge "WifiConfiguration: show more detail in toString()" into mm-wireless-dev
Ji Yang [Thu, 3 Mar 2016 21:10:44 +0000 (21:10 +0000)]
Merge "New CarrierMessagingService API for sms filtering" into nyc-dev
Wale Ogunwale [Thu, 3 Mar 2016 21:10:16 +0000 (21:10 +0000)]
Merge "Added more log points for add/remove in window manager." into nyc-dev
Dimitry Ivanov [Thu, 3 Mar 2016 21:07:52 +0000 (21:07 +0000)]
Merge "Use modified android_dlwarning" into nyc-dev
Ji Yang [Tue, 23 Feb 2016 00:59:37 +0000 (16:59 -0800)]
New CarrierMessagingService API for sms filtering
Add a new sms filtering method to let the carrier app tell
the platform to keep the message while keep it invisible to
the end user.
BUG:
27292180
Change-Id: I306a7dbde6dcb9929e358b3d1bbda9807ef35943
Mathieu Chartier [Thu, 3 Mar 2016 21:04:33 +0000 (21:04 +0000)]
Merge "Trim " (deleted)" from map names" into nyc-dev
Wei Jia [Thu, 3 Mar 2016 21:03:22 +0000 (21:03 +0000)]
Merge "MediaPlayer: use local variable to check member is null." into nyc-dev
Julia Reynolds [Thu, 3 Mar 2016 20:10:21 +0000 (15:10 -0500)]
Only noisy notifications can be bumped for intrusiveness.
Bug:
27431139
Change-Id: I5a1d2e2ac33bb9db04df2b6eea7d0baec2552c36
Mathieu Chartier [Thu, 3 Mar 2016 18:59:33 +0000 (10:59 -0800)]
Trim " (deleted)" from map names
Fixes application images to show as .art instead of GC accounting.
This was caused by storing the image in an anonymous map.
Bug:
27471334
Change-Id: I1a9584ab56cd7674df3832304886c743dafee731
Adrian Roos [Thu, 3 Mar 2016 20:34:05 +0000 (12:34 -0800)]
Disable extract UI on remote input
Change-Id: Ibb759a50ade279ad96598b25f99b169bc27a5b72
Julia Reynolds [Thu, 3 Mar 2016 20:32:07 +0000 (20:32 +0000)]
Merge "Reintroduce priority to notification sorting order." into nyc-dev
Eino-Ville Talvala [Thu, 3 Mar 2016 20:21:00 +0000 (20:21 +0000)]
Merge "Camera: Fix error handling for reading in vendor tags" into nyc-dev
Seigo Nonaka [Thu, 3 Mar 2016 20:20:43 +0000 (20:20 +0000)]
Merge "Fix unexpected ellipsize for long suggestion text." into nyc-dev
Pirama Arumuga Nainar [Thu, 3 Mar 2016 20:13:07 +0000 (20:13 +0000)]
Merge "[RenderScript] Enable untyped variants of Allocation-copy functions for FLOAT_16" into nyc-dev
Pirama Arumuga Nainar [Thu, 3 Mar 2016 20:12:49 +0000 (20:12 +0000)]
Merge "[RenderScript] Allow copyTo(short[]) etc for Float16 Allocations" into nyc-dev
Julia Reynolds [Thu, 3 Mar 2016 16:22:12 +0000 (11:22 -0500)]
Reintroduce priority to notification sorting order.
Bug:
27387966
Change-Id: I7de7c4688c9774c2dbd9ea7f2c69566cb66b7285
Robert Carr [Tue, 1 Mar 2016 01:45:02 +0000 (17:45 -0800)]
Reimplement PIP animation to not use drag resizing.
When using drag resizing it is difficult to keep big surface
surfaces (e.g. main app windows) and child windows in sync
as we resize. Furthermore it's difficult to resize child windows
quick enough to achieve more than a few frames a second as we have
to propagate through the client UI thread. Our new implementation
uses window scaling.
Bug:
26454664
Change-Id: Iac96619cefc075b1412cfeba3d3c9bcd7ce22f52
Robert Carr [Tue, 1 Mar 2016 00:24:33 +0000 (16:24 -0800)]
Ensure we apply override configuration to the global one.
We are confusing clients by sending the correctly merged
override and global configurations through the primary
ActivityManager channel but then sending only
the global configuration through the window manager channels
ensure we always merge the configurations prior to sending
them to the client.
Bug:
26454664
Change-Id: I7183365e1c414f9a68564338c60e2f5283ddb57d
Tao Bao [Thu, 3 Mar 2016 19:52:43 +0000 (19:52 +0000)]
Merge "Switch to socket communication with uncrypt." into nyc-dev
Eino-Ville Talvala [Thu, 3 Mar 2016 19:50:39 +0000 (11:50 -0800)]
Camera: Fix error handling for reading in vendor tags
- Fix bad format string for the unexpected error case
- Add expected error case for devices with no camera HAL module
Bug:
27465574
Change-Id: I0e77a689df402de96553b81274be85da7397e08e
Robert Carr [Mon, 29 Feb 2016 23:57:13 +0000 (15:57 -0800)]
Update mCompatFrame in applyGravityAndUpdateFrame.
We need to make sure mCompatFrame is always updated when
mFrame is. In the reposition child case we will have
applyGravityAndUpdateFrame without computeFrameLw
so we were previously failing to do so.
Bug:
26454664
Change-Id: Ibad1644d38e6d78e5e96eff7b3c6763bd1c92f9b
Robert Carr [Mon, 29 Feb 2016 23:45:45 +0000 (15:45 -0800)]
Fix pinned stack frame computation.
We want to compute the frames for pinned like we do for freeform
as we are not constraining layout to the suggested display area by the
PhoneWindowManager. Also update applyGravityAndUpdateFrame
to not clip frames to the display for child windows. In the case
of computeFrameLw this would not be a problem as we would then
go on to overwrite mFrame anyway, but in the case of repositionChild
it could create issues (where we have applyGravityAndUpdateframe without
compute frame).
Bug:
26454664
Change-Id: I6fd4c9f37060d51003d041566368edd2b9eb7afd
Tim Murray [Thu, 3 Mar 2016 19:48:26 +0000 (19:48 +0000)]
Merge "Make sure perceptible services are in the default sched group." into nyc-dev
Dianne Hackborn [Thu, 3 Mar 2016 19:48:11 +0000 (19:48 +0000)]
Merge "Work on issue #
24403813: ANR traces are too heavyweight." into nyc-dev
Dianne Hackborn [Thu, 3 Mar 2016 19:47:54 +0000 (19:47 +0000)]
Merge "Add APIs to find out the time when a process was created." into nyc-dev
Phil Burk [Thu, 3 Mar 2016 19:42:55 +0000 (19:42 +0000)]
Merge "AudioService: update device info when ENCODED_SURROUND_OUTPUT changed" into nyc-dev
Tim Murray [Thu, 3 Mar 2016 17:52:07 +0000 (09:52 -0800)]
Make sure perceptible services are in the default sched group.
bug
27381069
Change-Id: Ic3b9901a914020105bfa36a2c133a448f030da4f
Mihai Nita [Mon, 29 Feb 2016 22:42:12 +0000 (14:42 -0800)]
Show locale in region list even if suggested in language list
Even if English US is suggested, when choosing English I should
still see US in the country list.
Because now the same LocaleInfo object (from cache) can be present
in both lists (language & region), it means that the label should
depend on the context.
We also need to explicitely disable suggestions in the region list.
Bug:
26590073
Bug:
26939203
Change-Id: Ib1cbad9d26a8b183bf462505335bef04193e82f4
Steve McKay [Thu, 3 Mar 2016 19:39:16 +0000 (19:39 +0000)]
Merge "Show proper icons for SD and USB attached storage." into nyc-dev
Robin Lee [Thu, 3 Mar 2016 19:11:35 +0000 (19:11 +0000)]
Merge "Guard against null component when binding KeyChain" into nyc-dev
Wale Ogunwale [Thu, 3 Mar 2016 19:03:26 +0000 (11:03 -0800)]
Added more log points for add/remove in window manager.
Bug:
27286867
Change-Id: Iecb522a1ff7e093a8feef27fdd68c50b9a80d553
Steve McKay [Wed, 2 Mar 2016 23:15:00 +0000 (15:15 -0800)]
Show proper icons for SD and USB attached storage.
Use USB icon for MTP devices.
Bug:
26883880
Change-Id: I8ce85ffc915a012dca79a5de1cc7c74361776792
Robin Lee [Mon, 29 Feb 2016 18:55:35 +0000 (18:55 +0000)]
Guard against null component when binding KeyChain
If keychain is removed from a device, there will be no sensible
resolution and client apps will bind to whatever is available.
Doesn't affect system apps which are forcibly prevented from wildcard
binding.
Bug:
27475655
Change-Id: Ide1aab3778e12f0b9a96662deb297a76d2f4997f
Siyamed Sinir [Thu, 3 Mar 2016 18:43:21 +0000 (18:43 +0000)]
Merge "TextView should fade edges according to text." into nyc-dev
Siyamed Sinir [Thu, 3 Mar 2016 18:42:57 +0000 (18:42 +0000)]
Merge "Email address autolink regex updates." into nyc-dev
Siyamed Sinir [Thu, 3 Mar 2016 18:42:42 +0000 (18:42 +0000)]
Merge "Update EditText.setEllipsize JavaDoc" into nyc-dev
Eino-Ville Talvala [Thu, 3 Mar 2016 18:36:36 +0000 (18:36 +0000)]
Merge "Fix incremental build" into nyc-dev
Sudheer Shanka [Thu, 3 Mar 2016 18:31:50 +0000 (18:31 +0000)]
Merge "Update restricted icon." into nyc-dev
Sudheer Shanka [Thu, 3 Mar 2016 18:26:44 +0000 (18:26 +0000)]
Merge "Part1: Show the restricted lock icon in place of the pref widget." into nyc-dev
Eino-Ville Talvala [Thu, 3 Mar 2016 18:19:27 +0000 (10:19 -0800)]
Fix incremental build
Remove old generated camera AIDL code
Change-Id: I8293c08abb94ca0abca1fb2e892586202ccc3443
Wei Jia [Thu, 3 Mar 2016 18:02:19 +0000 (10:02 -0800)]
MediaPlayer: use local variable to check member is null.
Bug:
26961341
Change-Id: I343b18f4bfaba9b119a6721e1b39415474149d75
Mady Mellor [Thu, 3 Mar 2016 17:58:20 +0000 (17:58 +0000)]
Merge "Fix inline controls from being swipeable" into nyc-dev
Mady Mellor [Thu, 3 Mar 2016 17:57:40 +0000 (17:57 +0000)]
Merge "Add logging for actions around gear behind notifications" into nyc-dev
Phil Weaver [Thu, 3 Mar 2016 17:47:31 +0000 (17:47 +0000)]
Merge "Control AccessibilityServices with one setting." into nyc-dev
Felipe Leme [Thu, 11 Feb 2016 01:28:31 +0000 (17:28 -0800)]
Created a firewall chain for power save mode.
When power-save mode was first implemented, there were no firewall rules
on netd, so the solution was to make all network interface metered and
re-use the bw_penalty_box chain.
This change removes that workaround by creating a explicit fw_powersave
chain, whose behavior is similar to fw_dozable (in fact, it reuses some
of its code); such change not only makes network restrictions on
power-save mode simpler, but it also allows to optimze how the restrict
network rules are changed (which will be done in a separate change).
BUG:
27127112
BUG:
26685616
Change-Id: I7f7a7b1c1855e916c6651ad90da29fe187a7bea2
Yang Ni [Thu, 3 Mar 2016 17:04:59 +0000 (17:04 +0000)]
Merge "Set flags in RS JNI calls for rsObj creation" into nyc-dev
Adam Powell [Thu, 3 Mar 2016 17:04:22 +0000 (17:04 +0000)]
Merge "Fix crash for showing linker errors for apps with no label" into nyc-dev
Jaewan Kim [Thu, 3 Mar 2016 16:57:31 +0000 (16:57 +0000)]
Merge "PIP: Fix move to full screen" into nyc-dev
Jeremy Joslin [Thu, 3 Mar 2016 16:54:28 +0000 (16:54 +0000)]
Merge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev
am:
3f7314e331
* commit '
3f7314e3310fbaddc984ae3218f7bb22f13cda11':
Revert "New systemapi to mark a wifi network as metered."
Jeremy Joslin [Thu, 3 Mar 2016 16:49:27 +0000 (16:49 +0000)]
Merge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev
Yang Ni [Thu, 7 Jan 2016 22:57:16 +0000 (14:57 -0800)]
Set flags in RS JNI calls for rsObj creation
Bug:
25570907
Added a flag to all RS runtime API for rsObj creation to indicate a
call is from Java. This flag will help us avoid incrementing the user
ref count for rsObj's created from Single-Source RS, and therefore
avoid memory leaks for such objects.
Change-Id: Id3604f93b166089e3aca896d1c6c509b3ea19bcf
(cherry picked from commit
ad88055821a7aba3318f066c4e5f87bd0315462c)
Adam Powell [Thu, 3 Mar 2016 16:43:37 +0000 (08:43 -0800)]
Fix crash for showing linker errors for apps with no label
Use ApplicationInfo#loadLabel to provide the standard fallback chain
of strings to identify an app instead of getString on the raw label
resource id, which will throw a NotFoundException if 0.
Bug
27469189
Change-Id: I344273c600f029361f3accfe5d91b0d332635b3d
Phil Weaver [Mon, 29 Feb 2016 21:57:31 +0000 (13:57 -0800)]
Control AccessibilityServices with one setting.
Accessibility services were controlled by two settings:
ENABLED_ACCESSIBILITY_SERVICES and ACCESSIBILITY_ENABLED. These
settings needed to be changed together, and race conditions could
creating inconsistent states as ACCESSIBILITY_ENABLED was also
changed by the framework itself.
Restructuring to keep ACCESSIBILITY_ENABLED up-to-date, but not to
use it to decide whether or not to enable accessibility. Enabling
is controlled solely by ENABLED_ACCESSIBILITY_SERVICES.
Bug:
27455234
Change-Id: I9ab1e5936080c1b0dd8410dd6e8666e7f6eaccf3
Lajos Molnar [Thu, 3 Mar 2016 16:14:24 +0000 (16:14 +0000)]
Merge "media: Add track ID format key" into nyc-dev
George Mount [Wed, 2 Mar 2016 16:06:32 +0000 (08:06 -0800)]
Remove animation listener while paused.
Bug
27418573
While an animator was paused, it continued to receive
Choreographer callbacks. This has been changed now so
that after the first callback, it is removed.
Change-Id: If73483404b38f1f354a63fc98d07696f442987e6
Lajos Molnar [Fri, 26 Feb 2016 16:49:30 +0000 (08:49 -0800)]
media: Add track ID format key
Bug:
25684127
Change-Id: I574515c3c144f5cabe4f40d934d062de1dd20851
Lajos Molnar [Thu, 3 Mar 2016 16:05:52 +0000 (16:05 +0000)]
Merge "media: correctly return cached size for MediaDataSource" into nyc-dev