240384 Commits

Author SHA1 Message Date
Robin Lee
79c4dca2a8 Merge "Unit test for UidRange.java and UidRange.cpp" into nyc-dev 2016-04-19 19:25:41 +00:00
Robin Lee
c6184685d8 Merge "Move UidRange aidl declaration to system/netd" into nyc-dev 2016-04-19 19:19:43 +00:00
Kenny Guy
38dcca51a7 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
2016-04-19 20:10:56 +01:00
Phil Burk
0e81694a02 Merge "MidiService: fix resource leak" into nyc-dev 2016-04-19 19:10:54 +00:00
Felipe Leme
019fcd2bec Added onRestrictBackgroundWhitelistChanged callback.
When users add or remove an app to the Data Saver Mode whitelist, the
app is notified through a
ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED. But besides this
broadcast, it's also necessary to notify internal apps such Settings,
hence a new method is being added to INetworkPolicyListener.

BUG: 27481520
Change-Id: I1537a77becf6b7da1535ed5faabdc894fd9f7084
2016-04-19 12:06:00 -07:00
Fyodor Kupolov
0d88d54c34 Call defuse even when restrictions bundle is empty
Bug: 28259217
Change-Id: I3e9ba60ee80d1fedef4844d264b312418c287be4
2016-04-19 11:37:22 -07:00
Raph Levien
7ecd7671b7 Merge "Delete emojis before and after ZWJ at the same time." into nyc-dev 2016-04-19 18:31:05 +00:00
Joe Onorato
d2bc2ba778 Add the wall clock time to dumpsys cpuinfo so it's easier to correlate with the logs.
Bug: 28113068
Change-Id: Ifa90192b0aa3f57ba6928f38199beb5b56bca7e6
2016-04-19 11:27:11 -07:00
Joe Onorato
1dbff801ae Add an event log for when the memfactor changes.
Bug: 28113068
Change-Id: I84902d5f7f811fd49fa85ff4847cf21b258b62c0
2016-04-19 11:27:10 -07:00
Joe Onorato
bee44ae8e5 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
2016-04-19 11:27:05 -07:00
Jason Monk
5cb0226e4c Merge "Increase contrast on edit button" into nyc-dev 2016-04-19 18:19:31 +00:00
Jason Monk
aa2702feca Increase contrast on edit button
Change-Id: I2d7eefabe9becc93e83aa6d245c42797ee966543
Fixes: 28180748
2016-04-19 14:17:01 -04:00
Dianne Hackborn
9c211a3396 Merge "Work on issue #28221912: Starting service as foreground might..." into nyc-dev 2016-04-19 18:10:28 +00:00
Dianne Hackborn
e896090caf Merge "Fix issue #28250286: Missing equals!" into nyc-dev 2016-04-19 18:10:14 +00:00
Jeff Sharkey
adfa806cfb Merge "Ignore user serial numbers in core-only mode." into nyc-dev 2016-04-19 17:58:24 +00:00
Winson
0a461f0111 Ensure that the drag view is not dimmed.
- When picking up a task view to dock it, we should animate remove the
  dim on the task view so that when you drop it, there is no jump from
  the dimmed version to non-dimmed app.

Bug: 27154882
Change-Id: Ifa1493227593dd950e49650b69f178cef82bc82e
2016-04-19 10:51:12 -07:00
Pavel Zhamaitsiak
6e08a629c4 Merge "Add wrappers for IConnectivityMetricsLogger functions" into nyc-dev 2016-04-19 17:41:42 +00:00
Winson
863828763a Disallowing scrim activity from setting TaskDescription.
Bug: 28248314
Change-Id: Ifa2ed84a0a772ed3636ec4a8b94a165aebeb7049
2016-04-19 10:41:40 -07:00
Jeff Sharkey
214bea1b59 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
2016-04-19 11:39:44 -06:00
Bo Liu
57b615c3fd Merge "Expose DisplayListCanvas.drawGLFunctor to webview" into nyc-dev 2016-04-19 17:39:17 +00:00
Jakub Pawlowski
c0e8ff323e OobData documentation
Bug: 27385555
Change-Id: Ie290914e4d2b9378c6dff3ae14d96d6f8b13ab9d
2016-04-19 17:36:12 +00:00
Samuel Tan
e749cd3b15 Merge "StateMachine: reset LogRecords.mOldestIndex in LogRecords.setSize" into nyc-dev 2016-04-19 17:25:33 +00:00
Jeff Sharkey
89fa73fd7a Merge "Unlock should always wait for pending PRE_BOOT." into nyc-dev 2016-04-19 17:11:20 +00:00
Jeff Sharkey
d3a25ad4b9 Merge "Disable "defusable" logging for now." into nyc-dev 2016-04-19 17:10:56 +00:00
Steve McKay
00c9815d94 Merge "Handle null uris in content changed events." into nyc-dev 2016-04-19 17:10:25 +00:00
Eric Laurent
0b724f8770 Merge "AudioSystem: allow platforms no audio ports" into nyc-dev 2016-04-19 17:05:01 +00:00
Siyamed Sinir
d01e6f9083 Merge "Request re-layout after setText if layout width is 0" into nyc-dev 2016-04-19 17:00:15 +00:00
Selim Cinek
20e84c750f Fixed a rebase gone wrong with pageindicator
The return statement was lost.

Change-Id: Ica403337bf9dce2c0b1c2447a0aa4359f991ac0d
Fixes: 27927374
2016-04-19 16:52:59 +00:00
Felipe Leme
65a9c6760e Show "Android System" instead of "Shell" on notifications.
BUG: 26517701
Change-Id: If2543b8db0fdd913365df6f69cf26146d32d4b15
2016-04-19 09:49:18 -07:00
Alan Viverette
0529197e9d Merge "Use adjusted popup window position when calculating best-fit" into nyc-dev 2016-04-19 16:39:15 +00:00
Alan Viverette
a98cc8beb9 Merge "Call OnTimeChangedListener on AM/PM change in clock-style TimePicker" into nyc-dev 2016-04-19 16:39:09 +00:00
Jason Monk
90a225d46d Merge "Fix QS edit overanimating" into nyc-dev 2016-04-19 16:20:48 +00:00
Andrii Kulian
5ac2da04c1 Merge "Recreate activity with correct configuration" into nyc-dev 2016-04-19 16:19:05 +00:00
Jason Monk
c72c8e35c8 Fix QS edit overanimating
Tell it when to animate, that way it can't animate too much.

Change-Id: I0acdd780e76a4a0b0d5ed5e2805c44dc59306fc1
Fixes: 27315295
2016-04-19 12:07:15 -04:00
Baligh Uddin
30fc04a99c Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-19 15:45:36 +00:00
Jason Monk
8b54cade4f Collapse QS panel after details if we expanded it before
Change-Id: I7de2ec3b304649fbce688ef6d54573cc7c2f4b64
Fixes: 27747650
2016-04-19 11:38:03 -04:00
Baligh Uddin
f2a87aa9c3 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-19 15:36:58 +00:00
Baligh Uddin
4a19326d91 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-19 15:36:50 +00:00
Baligh Uddin
451dc7e146 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-19 15:36:46 +00:00
TreeHugger Robot
f016d3aef7 Merge "Move profile registration from bindApplication to LoadedApk" into nyc-dev 2016-04-19 15:29:19 +00:00
Jason Monk
93e742b588 Merge "No QS hotspot unless supported" into nyc-dev 2016-04-19 15:19:46 +00:00
Tony Mak
95a127cbf4 Merge "Set lock screen to be in public mode if one of its profile is secure" into nyc-dev 2016-04-19 15:15:22 +00:00
John Reck
28e284bd06 Merge "Make surfaceRedrawNeeded forgiving" into nyc-dev 2016-04-19 14:45:33 +00:00
John Reck
9110429f0d Merge "Don't reuse LOST_SURFACE for stopped" into nyc-dev 2016-04-19 14:45:16 +00:00
Alan Viverette
55f0a99076 Use adjusted popup window position when calculating best-fit
Bug: 28194522
Bug: 28175404
Change-Id: I5685b397908f64559d0ec5fea5820bdea69f422c
2016-04-19 10:17:00 -04:00
Jason Monk
28680c61c9 No QS hotspot unless supported
Fixes: 27438917
Change-Id: Iadeee5a87ebb9b881e04ac706547004e186215ea
2016-04-19 09:49:28 -04:00
Eric Tang
2f87f1d1c5 Merge "update string "Work profile" to "All work apps"" into nyc-dev 2016-04-19 13:38:07 +00:00
Alan Viverette
8940a5b286 Merge "Revert FrameLayout.LayoutParams default gravity to -1" into nyc-dev 2016-04-19 13:36:26 +00:00
Alan Viverette
30b57b6bd2 Call OnTimeChangedListener on AM/PM change in clock-style TimePicker
Bug: 28257554
Change-Id: I25aabac783ea2b6e68be4b6c60f0d55a4c37af26
2016-04-19 09:29:20 -04:00
Rubin Xu
f8451b9815 Kill foreground apps when turning off work
While work apps will all be killed as we stop the profile user when
turning off work, this can sometimes take a while. So let's kill the
foreground apps as soon as work profile is being turned off to make
the user experience nicer.

Bug: 27631526
Change-Id: Icdd3799385a98ee531b0b4247e8ede78f6f10da8
2016-04-19 14:23:33 +01:00