OSDN Git Service
Suprabh Shukla [Wed, 20 Apr 2016 22:24:31 +0000 (15:24 -0700)]
Removing disk access from startActivity thread
Code was checking whether the directory for recent_images existed in
many places unnecessarily causing StrictMode violations. Moved the
code to only attempt to check and create the directory before
actually writing to disk.
Bug: b/
28195831
Change-Id: I05f77a10f1dafc8cc0b1836b62352d56549ac1ee
Doris Liu [Tue, 19 Apr 2016 22:14:35 +0000 (22:14 +0000)]
Merge "Fix pause/resume for AnimatorSet" into nyc-dev
Doris Liu [Tue, 19 Apr 2016 22:14:11 +0000 (22:14 +0000)]
Merge "Pause infinite AVD when the drawable is not visible" into nyc-dev
Rob Carr [Tue, 19 Apr 2016 22:11:00 +0000 (22:11 +0000)]
Merge "Force windows to be scalable during pinned animation." into nyc-dev
Adrian Roos [Tue, 19 Apr 2016 22:06:14 +0000 (22:06 +0000)]
Merge "Reload LockscreenWallpaper and ImageWallpaper on background thread" into nyc-dev
Adrian Roos [Tue, 19 Apr 2016 22:05:42 +0000 (22:05 +0000)]
Merge "Fix unprotected StatusBarManagerService calls" into nyc-dev
Rob Carr [Tue, 19 Apr 2016 21:54:22 +0000 (21:54 +0000)]
Merge "Place InputMethod after DockedDivider in window list." into nyc-dev
Amith Yamasani [Tue, 19 Apr 2016 21:46:40 +0000 (21:46 +0000)]
Merge "Add test method to remove admins." into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 21:38:29 +0000 (21:38 +0000)]
Merge "Don't crop windows not on defualt display to stack bounds." into nyc-dev
Chris Craik [Tue, 19 Apr 2016 21:08:12 +0000 (21:08 +0000)]
Merge "Document startService cost" into nyc-dev
Joe Onorato [Tue, 19 Apr 2016 20:49:41 +0000 (20:49 +0000)]
Merge "Add the wall clock time to dumpsys cpuinfo so it's easier to correlate with the logs." into nyc-dev
Joe Onorato [Tue, 19 Apr 2016 20:49:30 +0000 (20:49 +0000)]
Merge "Add an event log for when the memfactor changes." into nyc-dev
Joe Onorato [Tue, 19 Apr 2016 20:49:18 +0000 (20:49 +0000)]
Merge "Consolidate the HealthStats UI to only use milliseconds." into nyc-dev
Fyodor Kupolov [Tue, 19 Apr 2016 20:35:01 +0000 (20:35 +0000)]
Merge "Call defuse even when restrictions bundle is empty" into nyc-dev
Wale Ogunwale [Tue, 19 Apr 2016 18:29:05 +0000 (11:29 -0700)]
Don't crop windows not on defualt display to stack bounds.
There are some windows that live on other displays while there app
and main window live on the default display (e.g. casting...). We
don't want to crop this windows to the stack bounds which is only
currently supported on the default display.
Bug:
26782253
Change-Id: I45648cc6fe8729e35f5b28eb06207aac6c263cdf
Tony Mak [Tue, 19 Apr 2016 19:55:45 +0000 (19:55 +0000)]
Merge "Fix the misuse of calling user id as group id" into nyc-dev
Robert Carr [Tue, 12 Apr 2016 01:00:43 +0000 (18:00 -0700)]
Force windows to be scalable during pinned animation.
We resize windows at the beginning of the pinned stack
animation when animating to a larger size, and so for some
duration a resize will be pending. We need to force the window
out of SCALING_MODE_FREEZE so we can animate during this period.
Bug:
27891386
Change-Id: I5cff599ed67f2c179e938662b6f0d99bd790aaba
Todd Kennedy [Tue, 19 Apr 2016 19:46:58 +0000 (19:46 +0000)]
Merge "Always perform has code check" into nyc-dev
Tony Mak [Tue, 19 Apr 2016 19:44:12 +0000 (20:44 +0100)]
Fix the misuse of calling user id as group id
1. The userId stored in different clients are actually calling user id.
groupId should be used to do all the operations. Also, renamed the variable
to avoid further confusion.
2. Fix the bug null is always returned in getFingerprintDaemon
in RemovalClient.
3. Fix the misuse of calling uid as calling user id in startAuthentication.
Fix:
28268635
Fix:
28264725
Change-Id: I618ac3c6d913ae5c86e7b04cb3f9ead39828f216
Todd Kennedy [Fri, 15 Apr 2016 16:44:36 +0000 (09:44 -0700)]
Always perform has code check
Move code checking from the package parser and into the block
where we implement policy.
Bug:
28132476
Change-Id: Ie5cacacbf80289ff8d85acc5b57e58ea7216859c
Robin Lee [Tue, 19 Apr 2016 19:25:40 +0000 (19:25 +0000)]
Merge "Unit test for UidRange.java and UidRange.cpp" into nyc-dev
Robin Lee [Tue, 19 Apr 2016 19:19:42 +0000 (19:19 +0000)]
Merge "Move UidRange aidl declaration to system/netd" into nyc-dev
Kenny Guy [Tue, 19 Apr 2016 12:09:18 +0000 (13:09 +0100)]
Add test method to remove admins.
Add test method to remove admins that declare
FLAG_TEST_APP without informing them.
The method will also remove the device and profile
owner status of the admin.
Bug:
28027468
Change-Id: Idb4d3299a9c6595c94bfb424546cd8a384131835
Phil Burk [Tue, 19 Apr 2016 19:10:52 +0000 (19:10 +0000)]
Merge "MidiService: fix resource leak" into nyc-dev
Fyodor Kupolov [Tue, 19 Apr 2016 18:37:22 +0000 (11:37 -0700)]
Call defuse even when restrictions bundle is empty
Bug:
28259217
Change-Id: I3e9ba60ee80d1fedef4844d264b312418c287be4
Raph Levien [Tue, 19 Apr 2016 18:31:04 +0000 (18:31 +0000)]
Merge "Delete emojis before and after ZWJ at the same time." into nyc-dev
Joe Onorato [Fri, 15 Apr 2016 20:34:25 +0000 (13:34 -0700)]
Add the wall clock time to dumpsys cpuinfo so it's easier to correlate with the logs.
Bug:
28113068
Change-Id: Ifa90192b0aa3f57ba6928f38199beb5b56bca7e6
Joe Onorato [Fri, 15 Apr 2016 01:58:20 +0000 (18:58 -0700)]
Add an event log for when the memfactor changes.
Bug:
28113068
Change-Id: I84902d5f7f811fd49fa85ff4847cf21b258b62c0
Joe Onorato [Tue, 19 Apr 2016 18:02:26 +0000 (11:02 -0700)]
Consolidate the HealthStats UI to only use milliseconds.
BatteryStats uses a mix of microseconds and milliseconds, and keeping
which one is which straight is difficult. The internal bookkeeping
is left using us where it already does, for the extra precision. But
having the API be mixed will only make it harder for developers, and
lead them to make the same mistake that I did in the API where I
missed some conversions.
Bug:
28197858
Change-Id: I99114bae259b9bdd47ce5c22e724d87bbd63336d
Jason Monk [Tue, 19 Apr 2016 18:19:29 +0000 (18:19 +0000)]
Merge "Increase contrast on edit button" into nyc-dev
Jason Monk [Tue, 19 Apr 2016 18:17:01 +0000 (14:17 -0400)]
Increase contrast on edit button
Change-Id: I2d7eefabe9becc93e83aa6d245c42797ee966543
Fixes:
28180748
Dianne Hackborn [Tue, 19 Apr 2016 18:10:26 +0000 (18:10 +0000)]
Merge "Work on issue #
28221912: Starting service as foreground might..." into nyc-dev
Dianne Hackborn [Tue, 19 Apr 2016 18:10:13 +0000 (18:10 +0000)]
Merge "Fix issue #
28250286: Missing equals!" into nyc-dev
Jeff Sharkey [Tue, 19 Apr 2016 17:58:22 +0000 (17:58 +0000)]
Merge "Ignore user serial numbers in core-only mode." into nyc-dev
Pavel Zhamaitsiak [Tue, 19 Apr 2016 17:41:40 +0000 (17:41 +0000)]
Merge "Add wrappers for IConnectivityMetricsLogger functions" into nyc-dev
Jeff Sharkey [Tue, 19 Apr 2016 17:39:42 +0000 (11:39 -0600)]
Ignore user serial numbers in core-only mode.
When booting in core-only mode, our data partition is a tmpfs which
doesn't support xattrs, so we can't set/enforce user serial numbers.
Bug:
28254840
Change-Id: Id83c551c7c603a4cd5043e06f7161441b2dfaa8b
Bo Liu [Tue, 19 Apr 2016 17:39:15 +0000 (17:39 +0000)]
Merge "Expose DisplayListCanvas.drawGLFunctor to webview" into nyc-dev
Samuel Tan [Tue, 19 Apr 2016 17:25:31 +0000 (17:25 +0000)]
Merge "StateMachine: reset LogRecords.mOldestIndex in LogRecords.setSize" into nyc-dev
Jeff Sharkey [Tue, 19 Apr 2016 17:11:19 +0000 (17:11 +0000)]
Merge "Unlock should always wait for pending PRE_BOOT." into nyc-dev
Jeff Sharkey [Tue, 19 Apr 2016 17:10:54 +0000 (17:10 +0000)]
Merge "Disable "defusable" logging for now." into nyc-dev
Steve McKay [Tue, 19 Apr 2016 17:10:24 +0000 (17:10 +0000)]
Merge "Handle null uris in content changed events." into nyc-dev
Eric Laurent [Tue, 19 Apr 2016 17:04:59 +0000 (17:04 +0000)]
Merge "AudioSystem: allow platforms no audio ports" into nyc-dev
Siyamed Sinir [Tue, 19 Apr 2016 17:00:13 +0000 (17:00 +0000)]
Merge "Request re-layout after setText if layout width is 0" into nyc-dev
Selim Cinek [Tue, 19 Apr 2016 16:47:20 +0000 (09:47 -0700)]
Fixed a rebase gone wrong with pageindicator
The return statement was lost.
Change-Id: Ica403337bf9dce2c0b1c2447a0aa4359f991ac0d
Fixes:
27927374
Alan Viverette [Tue, 19 Apr 2016 16:39:13 +0000 (16:39 +0000)]
Merge "Use adjusted popup window position when calculating best-fit" into nyc-dev
Alan Viverette [Tue, 19 Apr 2016 16:39:08 +0000 (16:39 +0000)]
Merge "Call OnTimeChangedListener on AM/PM change in clock-style TimePicker" into nyc-dev
Jason Monk [Tue, 19 Apr 2016 16:20:47 +0000 (16:20 +0000)]
Merge "Fix QS edit overanimating" into nyc-dev
Andrii Kulian [Tue, 19 Apr 2016 16:19:04 +0000 (16:19 +0000)]
Merge "Recreate activity with correct configuration" into nyc-dev
Jason Monk [Tue, 19 Apr 2016 16:07:15 +0000 (12:07 -0400)]
Fix QS edit overanimating
Tell it when to animate, that way it can't animate too much.
Change-Id: I0acdd780e76a4a0b0d5ed5e2805c44dc59306fc1
Fixes:
27315295
Baligh Uddin [Tue, 19 Apr 2016 15:45:34 +0000 (15:45 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Tue, 19 Apr 2016 15:36:56 +0000 (15:36 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Tue, 19 Apr 2016 15:36:48 +0000 (15:36 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Tue, 19 Apr 2016 15:36:44 +0000 (15:36 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 15:29:18 +0000 (15:29 +0000)]
Merge "Move profile registration from bindApplication to LoadedApk" into nyc-dev
Jason Monk [Tue, 19 Apr 2016 15:19:45 +0000 (15:19 +0000)]
Merge "No QS hotspot unless supported" into nyc-dev
Tony Mak [Tue, 19 Apr 2016 15:15:20 +0000 (15:15 +0000)]
Merge "Set lock screen to be in public mode if one of its profile is secure" into nyc-dev
John Reck [Tue, 19 Apr 2016 14:45:31 +0000 (14:45 +0000)]
Merge "Make surfaceRedrawNeeded forgiving" into nyc-dev
John Reck [Tue, 19 Apr 2016 14:45:14 +0000 (14:45 +0000)]
Merge "Don't reuse LOST_SURFACE for stopped" into nyc-dev
Alan Viverette [Tue, 19 Apr 2016 14:17:00 +0000 (10:17 -0400)]
Use adjusted popup window position when calculating best-fit
Bug:
28194522
Bug:
28175404
Change-Id: I5685b397908f64559d0ec5fea5820bdea69f422c
Jason Monk [Tue, 19 Apr 2016 13:31:20 +0000 (09:31 -0400)]
No QS hotspot unless supported
Fixes:
27438917
Change-Id: Iadeee5a87ebb9b881e04ac706547004e186215ea
Eric Tang [Tue, 19 Apr 2016 13:38:05 +0000 (13:38 +0000)]
Merge "update string "Work profile" to "All work apps"" into nyc-dev
Alan Viverette [Tue, 19 Apr 2016 13:36:24 +0000 (13:36 +0000)]
Merge "Revert FrameLayout.LayoutParams default gravity to -1" into nyc-dev
Alan Viverette [Tue, 19 Apr 2016 13:29:20 +0000 (09:29 -0400)]
Call OnTimeChangedListener on AM/PM change in clock-style TimePicker
Bug:
28257554
Change-Id: I25aabac783ea2b6e68be4b6c60f0d55a4c37af26
Tony Mak [Tue, 19 Apr 2016 13:02:44 +0000 (14:02 +0100)]
Set lock screen to be in public mode if one of its profile is secure
Change-Id: I7d819c7d4a52ff45705b1a1b9e215faf0957cccb
Fix:
27118634
Julia Reynolds [Tue, 19 Apr 2016 12:50:32 +0000 (12:50 +0000)]
Merge changes I01afb5e9,I90d1adaf into nyc-dev
* changes:
Add content intent to autogroup summary.
Logging for ranker bundling.
Tony Mak [Tue, 19 Apr 2016 10:32:29 +0000 (10:32 +0000)]
Merge "User action should only stop lock task mode if it is in pinned mode" into nyc-dev
Andrei Stingaceanu [Tue, 19 Apr 2016 09:59:51 +0000 (09:59 +0000)]
Merge "Keyboard shortcuts: UI polish 2" into nyc-dev
Seigo Nonaka [Tue, 19 Apr 2016 09:54:50 +0000 (18:54 +0900)]
Delete emojis before and after ZWJ at the same time.
Vendor may want to introduce their own ZWJ emoji sequence. To delete
them by one back space as the same behavior of Unicode emoji sequence,
use all emoji as the zwj emoji.
Bug:
28248662
Change-Id: I572dad42ee108476962d4b3fe9f3a6019cb50098
Baligh Uddin [Tue, 19 Apr 2016 08:37:35 +0000 (01:37 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4de249a3fbf0c6d3faad2b3bb233be596c5ca815
Auto-generated-cl: translation import
Diego Perez [Tue, 19 Apr 2016 07:34:16 +0000 (07:34 +0000)]
Merge "Separate measure so it can only run inflate if needed" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 07:08:03 +0000 (07:08 +0000)]
Merge "Remove unused DHCP timeout event tag." into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 06:09:36 +0000 (06:09 +0000)]
Merge "Optimize some binder calls when recents configuration changes" into nyc-dev
Baligh Uddin [Tue, 19 Apr 2016 05:35:40 +0000 (22:35 -0700)]
Import translations. DO NOT MERGE
Change-Id: I25911f2c3a9ae2ea463f096e187350f96983310f
Auto-generated-cl: translation import
Hugo Benichi [Tue, 19 Apr 2016 02:53:43 +0000 (11:53 +0900)]
Remove unused DHCP timeout event tag.
DHCP timeouts should not be logged at DHCPClient level but as a timeout
event in IpManager.
Bug:
28204408
Change-Id: Ia12619e3bf71102cf289cbbcdec53fd5e7e8efff
Baligh Uddin [Tue, 19 Apr 2016 05:09:26 +0000 (22:09 -0700)]
Import translations. DO NOT MERGE
Change-Id: I1cba5a5c47981751f6134338855f3bd2cbdd9eb1
Auto-generated-cl: translation import
Baligh Uddin [Tue, 19 Apr 2016 05:03:13 +0000 (22:03 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2388d59a03f62e7e4617b64e85a552f49001a208
Auto-generated-cl: translation import
Jorim Jaggi [Mon, 18 Apr 2016 23:03:36 +0000 (16:03 -0700)]
Optimize some binder calls when recents configuration changes
Bug:
28122871
Change-Id: I54249428792c3ad4b3b6d3dcc0f405675b3b23b4
Keisuke Kuroyanagi [Tue, 19 Apr 2016 04:11:15 +0000 (04:11 +0000)]
Merge "Define equals and hashCode for InputDeviceIdentifier." into nyc-dev
Robert Carr [Tue, 19 Apr 2016 03:27:34 +0000 (20:27 -0700)]
Place InputMethod after DockedDivider in window list.
We need to ensure that the InputMethod ends up
after the docked divider so it will have a higher
Z-order for input.
Bug:
28184654
Change-Id: Ifbe943312a82a79e850f106cc906f3749737710d
Andrii Kulian [Tue, 19 Apr 2016 03:54:20 +0000 (20:54 -0700)]
Recreate activity with correct configuration
Dialer recreates activity inside onConfigurationChange
when configuration changes significantly. Recreated
activity in this case was initialised with old base version
which resulted in incorrect configuration in split-screen.
This CL updates configuration when activity is created from
override config.
Bug:
27976063
Change-Id: I0ac002a5661154ec25f2d5aba3d44070b683ba2f
Selim Cinek [Tue, 19 Apr 2016 02:54:46 +0000 (02:54 +0000)]
Merge changes Id1aab629,Idb24dbd4 into nyc-dev
* changes:
Fixed a few issues when adapting the dpi
Fixed a few issues with status bar density changes
Selim Cinek [Tue, 19 Apr 2016 02:53:01 +0000 (02:53 +0000)]
Merge "Fixed a crash when changing density with HUN visible" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 02:29:05 +0000 (02:29 +0000)]
Merge "Use .equals() to compare two UUIDs in SoundTriggerHelper, rather than ==" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 02:09:33 +0000 (02:09 +0000)]
Merge "Added extra validation for invalid paths." into nyc-dev
Doris Liu [Tue, 19 Apr 2016 00:31:24 +0000 (17:31 -0700)]
Fix pause/resume for AnimatorSet
Bug:
28251945
Change-Id: Ie98c779791bf181e2e8fbf38bbd453228ce43310
Doris Liu [Tue, 19 Apr 2016 00:26:51 +0000 (17:26 -0700)]
Pause infinite AVD when the drawable is not visible
And resume when it becomes visible again
Bug:
27441375
Change-Id: Ic5140a30f5726df252ca63be9e14c495cbd76466
Winson Chung [Tue, 19 Apr 2016 01:32:36 +0000 (01:32 +0000)]
Merge changes Ibec23fdb,Id7be5129,I25af8fad,Idbabfe39,I86b10805, ... into nyc-dev
* changes:
Hiding clear-all button on drag start.
Adding hint text for drop targets.
Fixing animation spec animation problem.
Making the dismiss animation feel smoother.
Fixing issue with gap between task views.
Adding desired undocking animation.
Winson [Mon, 18 Apr 2016 23:58:33 +0000 (16:58 -0700)]
Hiding clear-all button on drag start.
Bug:
27702186
Change-Id: Ibec23fdb1ce4853f52a449cbe6d8c6454f0b027c
Winson [Mon, 18 Apr 2016 23:57:27 +0000 (16:57 -0700)]
Adding hint text for drop targets.
Bug:
28192178
Change-Id: Id7be5129488622b56082d2dfa328b751311cabd7
Winson [Mon, 18 Apr 2016 19:57:56 +0000 (12:57 -0700)]
Fixing animation spec animation problem.
- We were always using the stack layout to get the task transforms, but
when we are animating to a given task position (ie. hitting recents
while the home->recents transition is happening), we would start the
animation with the final task rect, instead of the current task rect.
Instead, use the current transform of the task view, and transform
that to screen coordinates and use it.
Bug:
27154882
Change-Id: I25af8fad97ee78669c952dd81708e6cee5dfab05
Winson [Sat, 16 Apr 2016 02:06:54 +0000 (19:06 -0700)]
Making the dismiss animation feel smoother.
Bug:
27154882
Change-Id: Idbabfe396bc75b598861fd12b78c846f08243a90
Winson [Sat, 16 Apr 2016 00:54:52 +0000 (17:54 -0700)]
Fixing issue with gap between task views.
- Now that we changed the way the landscape tasks clipped, we no longer
have to worry about the aspect ratio scaled height.
Bug:
27921659
Change-Id: I86b10805e92decb9995caa3790649f9f7d211784
Winson [Fri, 15 Apr 2016 18:19:07 +0000 (11:19 -0700)]
Adding desired undocking animation.
- Separating task binding from task data updating
- Removing unused parameters
Bug:
27154882
Change-Id: Ia970597d57857a74b5d008e91a93703d8fb70c1e
Chris Thornton [Mon, 18 Apr 2016 23:51:08 +0000 (16:51 -0700)]
Use .equals() to compare two UUIDs in SoundTriggerHelper, rather than ==
Also refactors ModelData::clearState to clear a bit more of the state.
Bug:
28251543
Change-Id: I18d7ccd90a6a9ee8bc8743d9a92c48f17d87c842
TreeHugger Robot [Tue, 19 Apr 2016 00:47:27 +0000 (00:47 +0000)]
Merge "Properly resume paused activity when docked stack in maximized" into nyc-dev
Pavel Zhamaitsiak [Tue, 19 Apr 2016 00:41:19 +0000 (17:41 -0700)]
Add wrappers for IConnectivityMetricsLogger functions
Bug:
25691077
Change-Id: I51fa34a4815fb04e33d3b02f0134e3555afc3900
Steve McKay [Tue, 19 Apr 2016 00:35:41 +0000 (17:35 -0700)]
Handle null uris in content changed events.
Bug:
28244958
Change-Id: Id3a7adb0ab4a751cfcf6ed3fee4cc6337ce512bb
Craig Donner [Tue, 19 Apr 2016 00:10:53 +0000 (00:10 +0000)]
Merge "Checks for existence of vr components before trying to disable them." into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 00:03:59 +0000 (00:03 +0000)]
Merge "Use right starting window resource in multi-window mode." into nyc-dev
Dianne Hackborn [Mon, 18 Apr 2016 23:53:52 +0000 (16:53 -0700)]
Fix issue #
28250286: Missing equals!
Change-Id: I85073a1a8a0a37362a0c73a71d0e7c12ce9cfeef