OSDN Git Service
TreeHugger Robot [Tue, 26 Apr 2016 15:25:43 +0000 (15:25 +0000)]
Merge "Frameworks/base: Make debug helper lazy in ConnectivityManager" into nyc-dev
David Brazdil [Tue, 26 Apr 2016 12:22:14 +0000 (12:22 +0000)]
Merge "Change app selection policy for post-OTA verification" into nyc-dev
Narayan Kamath [Mon, 25 Apr 2016 18:16:56 +0000 (19:16 +0100)]
LoadedApk: Don't set up JIT profile support inside the system_server.
We shouldn't profile *any* packages loaded by the system_server, not
just the system_servers own ("android") package.
bug:
28241500
Change-Id: I5f3f477b40c758030a5bdc8e97d17cab6e68e204
David Brazdil [Mon, 18 Apr 2016 13:08:52 +0000 (14:08 +0100)]
Change app selection policy for post-OTA verification
Changes the policy for selecting packages which will be pre-verified
during post-OTA boot animation.
For Nx to Ny, an app is pre-verified if used in the foreground in the
last 7 days, or if its APK was loaded by other apps.
For M to N (or early N builds without detailed stats), an app is
pre-verified if it has any recorded use in the last 7 days.
Bug:
27902702
Bug:
27350503
Change-Id: I2b38daf017ecd0e5aa5ed596ed9351cffa03dbcb
David Brazdil [Tue, 26 Apr 2016 11:39:41 +0000 (11:39 +0000)]
Merge "Enable profile merging for post-OTA package verification" into nyc-dev
David Brazdil [Tue, 26 Apr 2016 09:18:04 +0000 (10:18 +0100)]
Enable profile merging for post-OTA package verification
Currently post-OTA verification will attempt to compile with
'verify-profile' but does not merge the profiles prior to calling
dex2oat. As a result, we may miss some or all classes that need
verification.
Bug:
27688727
Change-Id: I1aa93cad2686513594cb37f6d3d181ae5c718d1d
TreeHugger Robot [Tue, 26 Apr 2016 09:31:55 +0000 (09:31 +0000)]
Merge "WebView downgrade prevention logic" into nyc-dev
Shreyas Basarge [Tue, 26 Apr 2016 09:23:28 +0000 (09:23 +0000)]
Merge "Wait for JobService to start before scheduling syncs" into nyc-dev
Lorenzo Colitti [Tue, 26 Apr 2016 08:52:24 +0000 (08:52 +0000)]
Merge "Close open sockets when enabling firewall rules." into nyc-dev
Erik Kline [Tue, 26 Apr 2016 07:14:58 +0000 (07:14 +0000)]
Merge "IpManager: delete dead getLinkProperties() code" into nyc-dev
Erik Kline [Tue, 26 Apr 2016 05:39:49 +0000 (14:39 +0900)]
IpManager: delete dead getLinkProperties() code
Now that it's long since been unused also delete the locking that was
introduced to make it possible.
Bug:
17733693
Bug:
24837343
Change-Id: Iee817a7c2e1d1dc9c080d3124d5986232dcda00f
Jaewan Kim [Tue, 26 Apr 2016 06:02:59 +0000 (06:02 +0000)]
Merge "PIP: Send KEYCODE_WINDOW to app first if PIP isn't exist" into nyc-dev
Lorenzo Colitti [Sun, 24 Apr 2016 03:52:00 +0000 (12:52 +0900)]
Close open sockets when enabling firewall rules.
When enabling a firewall rule that will deny networking to apps,
first close any sockets opened by those apps. Just dropping an
app's packets without closing its connections has the following
problems:
1. The app has no way to know this has happened until a network
timeout occurs.
2. The app's connections stay open, so the other end of the
connection (e.g., a server) might continue to retransmit
packets. These packets will wake up the kernel and cause
battery drain, but we cannot respond to them because packets
on those connections are dropped by the kernel (since the app
is blackholed). So the other end might keep retransmitting.
3. Even though we think the connections are still open, the
other end of the connection, or any intermediate NATs or
firewalls, might time out and close the connection (e.g., by
sending a RST). Because the app is blackholed, we have no way
of knowing that this has happened, so when the app is granted
network access again, these connections might just get stuck.
Bug:
27824851
Bug:
27867653
Change-Id: Iaaad1b26954fc5f1ba5c9ed8bdee039282f5e249
Jaewan Kim [Wed, 20 Apr 2016 12:17:58 +0000 (21:17 +0900)]
PIP: Send KEYCODE_WINDOW to app first if PIP isn't exist
Bug:
27954955
Change-Id: I517e378d5c1672ac0eb87bdf4375b7d733276e58
Lorenzo Colitti [Tue, 26 Apr 2016 03:22:24 +0000 (03:22 +0000)]
Merge "When dumping connectivity metrics events, print data as well." into nyc-dev
Jorim Jaggi [Tue, 26 Apr 2016 01:51:16 +0000 (18:51 -0700)]
Fix a few issues with occluded Keyguard
- When we get a collapse before the layout happened in SystemUI,
don't expand the panel after the layout.
- Don't reset waitingToShow when coming out of sleep. This will cause
win.isVisibleOrBehindKeyguardLw to return false and then occluded
state will change rapidly from true -> false -> true, leading to
flickering in SysUI.
Bug:
23898941
Change-Id: I2b941188de777086bb2b477f5bfc00cc0cd6abe0
TreeHugger Robot [Tue, 26 Apr 2016 02:21:16 +0000 (02:21 +0000)]
Merge "Don't hide app windows due to not showing when locked when keyguard is hidden" into nyc-dev
Jorim Jaggi [Tue, 26 Apr 2016 00:31:22 +0000 (17:31 -0700)]
Make sure to notify divider always
In some cases, recents didn't get resumed, so divider was never
notified and thus we didn't start the animation. Instead, move
the first drawn logic into onStart.
Bug:
28366529
Change-Id: Ia71d6b517451bba727ae31a184bb55cecf5af198
Wale Ogunwale [Tue, 26 Apr 2016 00:21:34 +0000 (17:21 -0700)]
Don't hide app windows due to not showing when locked when keyguard is hidden
This worked in pre-N because the only visible app was the app that can be
shown when the keyguard is hidden. That isn't the case in multi-window mode
where one of the apps can be shown when locked and the other doesn't have
the show when locked flag. Only hide the other app if the keyguard is shown.
Bug:
28368875
Change-Id: I5039098db74492fadf667fed24fc58448436681a
Makoto Onuki [Tue, 26 Apr 2016 00:07:57 +0000 (00:07 +0000)]
Merge "When app is updated, save the new version code, and update shortcuts with resource based icons." into nyc-dev
Shreyas Basarge [Thu, 21 Apr 2016 19:31:44 +0000 (20:31 +0100)]
Wait for JobService to start before scheduling syncs
Add code to wait for SycJobService to pass back an
instance of itself after boot before allowing syncs
to be scheduled.
Also removes unused constant MESSAGE_SYNC_EXPIRED.
Bug:
28380795
Change-Id: I616ba5c74578a81ff1e37ba4bd1fd937ce5c006d
TreeHugger Robot [Mon, 25 Apr 2016 22:43:29 +0000 (22:43 +0000)]
Merge "CodecCapabilities: handle legacy VP9 codecs with no profiles" into nyc-dev
Lajos Molnar [Mon, 25 Apr 2016 22:36:53 +0000 (22:36 +0000)]
Merge "clarify MediaCodec.setVideoScalingMode behavior" into nyc-dev
TreeHugger Robot [Mon, 25 Apr 2016 22:27:56 +0000 (22:27 +0000)]
Merge "Fixed issue with wrong stack fullscreen state on configuration change" into nyc-dev
TreeHugger Robot [Mon, 25 Apr 2016 22:10:36 +0000 (22:10 +0000)]
Merge "Check for null drawable during LayerDrawable.jumpToCurrentState()" into nyc-dev
Jeff Sharkey [Mon, 25 Apr 2016 21:59:57 +0000 (21:59 +0000)]
Merge "Destroy both CE and DE data when corrupted." into nyc-dev
Jeff Sharkey [Mon, 25 Apr 2016 21:59:40 +0000 (21:59 +0000)]
Merge "Track down Contexts without data directories." into nyc-dev
TreeHugger Robot [Mon, 25 Apr 2016 21:53:29 +0000 (21:53 +0000)]
Merge "Make fake libart for misbehaving apps be loaded." into nyc-dev
Amith Yamasani [Mon, 25 Apr 2016 21:37:16 +0000 (21:37 +0000)]
Merge "Fix deadlock between VrManager, ActivityManager and WindowManager" into nyc-dev
Chong Zhang [Mon, 25 Apr 2016 21:13:27 +0000 (21:13 +0000)]
Merge "Wait for next app to be visible if current activity is marked visible" into nyc-dev
Wale Ogunwale [Mon, 25 Apr 2016 20:40:30 +0000 (13:40 -0700)]
Fixed issue with wrong stack fullscreen state on configuration change
- No need to run TaskStack#updateBoundsAfterConfigChange if the stack
is fullscreen as the bounds will already be updated to when the display
content changed due to rotation.
- Correctly set mTmpRect2 that we are using to calculate the rotated
bounds to the current mBounds.
Bug:
28319277
Bug:
27870534
Change-Id: Ic3d9407b735210351c28297de79bf035909afcfe
Jorim Jaggi [Mon, 25 Apr 2016 20:59:38 +0000 (20:59 +0000)]
Merge "Fix bug with cancelled drag" into nyc-dev
Lajos Molnar [Mon, 25 Apr 2016 20:07:59 +0000 (13:07 -0700)]
clarify MediaCodec.setVideoScalingMode behavior
Bug:
28131249
Change-Id: I4fd3a5333cbdc0ebec683c9a43ce071478a79d90
Lajos Molnar [Sat, 9 Apr 2016 05:59:35 +0000 (22:59 -0700)]
CodecCapabilities: handle legacy VP9 codecs with no profiles
Bug:
26935336
Change-Id: I1049b9da8e6c984f86e307990000401b66119693
Chong Zhang [Mon, 25 Apr 2016 20:17:53 +0000 (13:17 -0700)]
Wait for next app to be visible if current activity is marked visible
WM's AppWindowToken.updateReportedVisibilityLocked() may not report
nowVisible if the app has animation set. So nowVisibible could be false
for a while after the app is already on screen. If we finish the app in
this state, we still need to wait for next app to be visible.
bug:
28019637
Change-Id: I4f9f8e138f5d011a9ab393913159ed2978d26e0d
Dongwon Kang [Mon, 25 Apr 2016 20:16:21 +0000 (20:16 +0000)]
Merge "TIF: Be consistent with argument name for startRecording" into nyc-dev
Dongwon Kang [Fri, 22 Apr 2016 18:00:03 +0000 (11:00 -0700)]
TIF: Be consistent with argument name for startRecording
Change-Id: Icb0125049cc92c5664e0810cdb86f1cb0903405f
Jeff Sharkey [Mon, 25 Apr 2016 20:14:57 +0000 (20:14 +0000)]
Merge "API changes for DownloadManager and JobScheduler." into nyc-dev
Kweku Adams [Mon, 25 Apr 2016 20:09:39 +0000 (20:09 +0000)]
Merge "Removing extraneous field from batterystats dumpsys." into nyc-dev
Jorim Jaggi [Mon, 25 Apr 2016 20:00:27 +0000 (13:00 -0700)]
Fix bug with cancelled drag
Bug:
28257206
Change-Id: Ic7342f4284185486e884836220b05423e308f7ae
Jorim Jaggi [Mon, 25 Apr 2016 19:33:38 +0000 (19:33 +0000)]
Merge "Fix stuck windows in multi-window" into nyc-dev
Jorim Jaggi [Sat, 23 Apr 2016 02:50:13 +0000 (19:50 -0700)]
Fix stuck windows in multi-window
Window manager checked for the full display size so isHiddenFromUserLocked
always returned true but activity manager and other places in window manager
thought it would be visible which created a really weird state.
Bug:
28344326
Change-Id: I98daefbcc64bf7a5196588c25d2cbc5ee046a77d
Jorim Jaggi [Mon, 25 Apr 2016 19:29:39 +0000 (19:29 +0000)]
Merge "Fix layout for child windows" into nyc-dev
Jorim Jaggi [Fri, 22 Apr 2016 22:05:50 +0000 (15:05 -0700)]
Fix layout for child windows
Turns out that we also need to fit child windows to display in all
cases except NO_LIMITS is set.
Bug:
27991404
Change-Id: I34a12bbf9d0169bdb770e0e96f4b994146063e90
Jeff Sharkey [Mon, 25 Apr 2016 19:23:30 +0000 (13:23 -0600)]
Destroy both CE and DE data when corrupted.
When we find either a CE or DE data directory that has been corrupted,
destroy both CE and DE data together, since internal services like
AccountManager get confused if they find DE data without matching CE
data.
Bug:
28346537
Change-Id: Iaf3694c20e4664536af25a2afeb45fe8a90d8171
Daniel Sandler [Mon, 25 Apr 2016 19:22:38 +0000 (19:22 +0000)]
Merge changes from topic 'substitute-notification-app-name' into nyc-dev
* changes:
Move EXTRA_SUBSTITUTE_APP_NAME to the published system api.
Show "Android System" instead of "System UI" in screenshot notifications.
Daniel Sandler [Mon, 25 Apr 2016 19:21:44 +0000 (19:21 +0000)]
Merge "Tap, don't touch." into nyc-dev
Daniel Sandler [Mon, 25 Apr 2016 19:21:01 +0000 (19:21 +0000)]
Merge "Don't generate stack in logcat if assistant missing." into nyc-dev
Jeff Sharkey [Mon, 25 Apr 2016 19:20:25 +0000 (13:20 -0600)]
Track down Contexts without data directories.
Data directories for all packages should be created and managed by
installd; if we create a Context and the data directory doesn't exist
yet, we're in trouble, since a later mkdirs() would end up creating
the directory with incorrect permissions, mode, and SELinux labels.
Bug:
28272737
Change-Id: Ie3bb884ab07748719378de5c792046a031a3f945
Amith Yamasani [Mon, 25 Apr 2016 19:07:30 +0000 (19:07 +0000)]
Merge "Fix NPE when assist data request times out" into nyc-dev
Mady Mellor [Mon, 25 Apr 2016 19:06:16 +0000 (19:06 +0000)]
Merge "Fix gear being covered on notification update" into nyc-dev
Mady Mellor [Mon, 25 Apr 2016 19:05:47 +0000 (19:05 +0000)]
Merge "Fix the gear so that it is always centered based on the min noti height" into nyc-dev
TreeHugger Robot [Mon, 25 Apr 2016 18:57:29 +0000 (18:57 +0000)]
Merge "Added a 'deferred' parameter on executeRunnableDismissingKeyguard()." into nyc-dev
TreeHugger Robot [Mon, 25 Apr 2016 18:39:45 +0000 (18:39 +0000)]
Merge "WebView doc: explain persist js across navigations" into nyc-dev
Rubin Xu [Mon, 25 Apr 2016 17:58:28 +0000 (17:58 +0000)]
Merge "Add back protected profile availibility broadcasts." into nyc-dev
TreeHugger Robot [Mon, 25 Apr 2016 17:51:12 +0000 (17:51 +0000)]
Merge "Allow multiple recent entries for task with FLAG_ACTIVITY_MULTIPLE_TASK" into nyc-dev
Rubin Xu [Mon, 25 Apr 2016 17:47:36 +0000 (18:47 +0100)]
Add back protected profile availibility broadcasts.
Bug:
27532254
Change-Id: Ifbf59f64358864cd1d48be5e797c45ec2744eac0
Selim Cinek [Mon, 25 Apr 2016 17:44:10 +0000 (17:44 +0000)]
Merge "Added the ripple drawable back to the media notification" into nyc-dev
Kweku Adams [Mon, 25 Apr 2016 17:44:05 +0000 (10:44 -0700)]
Removing extraneous field from batterystats dumpsys.
Accidentally introduced in ag/851920.
Change-Id: I89ac490cef1735defa7165e6d27beae20490091d
Andreas Gampe [Wed, 20 Apr 2016 21:33:51 +0000 (14:33 -0700)]
Frameworks/base: Make debug helper lazy in ConnectivityManager
Place helper map for callback field names into a holder. This avoids
the reflective calls in static initialization of ConnectivityManager
in the common (non-debug) case, which means the class can be
compile-time initialized. Also saves the storage necessary (both
the storage array as well as the reflection metadata).
Follow-up to
fcfa7d921a173847a0b3946983612e031e73c44c.
Bug:
27265238
Change-Id: Ib4bfaf27acd234a035a5d198458340099a156a4c
Amith Yamasani [Mon, 25 Apr 2016 17:24:52 +0000 (10:24 -0700)]
Fix NPE when assist data request times out
Bug:
28329835
Change-Id: I032e20ea1008512954b97519a4abb6fe4d65c673
Chong Zhang [Mon, 25 Apr 2016 17:08:05 +0000 (17:08 +0000)]
Merge "fix "am start -W" hang on activity start" into nyc-dev
Fyodor Kupolov [Mon, 25 Apr 2016 17:03:34 +0000 (17:03 +0000)]
Merge "Return null when user is locked" into nyc-dev
Bo Liu [Fri, 22 Apr 2016 23:23:22 +0000 (16:23 -0700)]
WebView doc: explain persist js across navigations
BUG:
28207652
Change-Id: Ib33f029c2cae6c1482c0c951075275e9f96ae73c
Jeff Sharkey [Mon, 25 Apr 2016 16:34:11 +0000 (16:34 +0000)]
Merge "Strings for post-upgrade." into nyc-dev
Winson Chung [Mon, 25 Apr 2016 16:25:49 +0000 (16:25 +0000)]
Merge "Fixing animation regression due to ag/957220." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 23:11:19 +0000 (16:11 -0700)]
Added a 'deferred' parameter on executeRunnableDismissingKeyguard().
OnDismissAction() should return true only when the dismiss should be
deferred, but the annonymous class on
executeRunnableDismissingKeyguard() was always return true, which was
cause a janky timeout when the runnable didn't launch an activity.
BUG:
28303552
Change-Id: I1f9e299102d6cebba44794c026a69cf43ea06990
Winson [Sat, 23 Apr 2016 23:06:50 +0000 (16:06 -0700)]
Fixing animation regression due to ag/957220.
- Ensure we clear deferred relayouts after finishing all animations in
case they trigger a deferred layout in the animation-end callback.
Bug:
28287904
Change-Id: I6d71328fb3dc4595ea67ee18cfa57d85d741e6c6
TreeHugger Robot [Mon, 25 Apr 2016 15:54:36 +0000 (15:54 +0000)]
Merge "Disable StrictMode policy when setting up profile support" into nyc-dev
Dan Sandler [Mon, 25 Apr 2016 15:49:39 +0000 (11:49 -0400)]
Don't generate stack in logcat if assistant missing.
Low ram devices don't have assistants. Worth noting, but not
making a big stink about it.
Change-Id: I5a49be99bf688a5f1b800a1124b14a589ecf5b52
Fixes:
27210719
Alan Viverette [Mon, 25 Apr 2016 15:28:17 +0000 (11:28 -0400)]
Check for null drawable during LayerDrawable.jumpToCurrentState()
Child drawables specified as theme attributes may not have been
initialized yet.
Bug:
28371482
Change-Id: I8452a7c5b8f74368c58ba3373336bf7d650af7a3
Bill Yi [Mon, 25 Apr 2016 15:09:04 +0000 (15:09 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 25 Apr 2016 15:08:46 +0000 (15:08 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 25 Apr 2016 15:08:30 +0000 (15:08 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 25 Apr 2016 15:08:08 +0000 (15:08 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 25 Apr 2016 15:07:50 +0000 (15:07 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
John Reck [Mon, 25 Apr 2016 14:55:27 +0000 (14:55 +0000)]
Merge "PixelCopy fixes" into nyc-dev
Calin Juravle [Fri, 22 Apr 2016 16:43:07 +0000 (17:43 +0100)]
Disable StrictMode policy when setting up profile support
Bug:
28304158
Change-Id: Iedf8714bd4f3526823b3060b30e0f11c6c0abcea
Lorenzo Colitti [Mon, 25 Apr 2016 13:48:26 +0000 (22:48 +0900)]
When dumping connectivity metrics events, print data as well.
Currently the output is not very interesting, looking like:
ConnectivityMetricsEvent(
1461591945223, 4, 5): Bundle[mParcelledData.dataSize=340]
ConnectivityMetricsEvent(
1461591945289, 0, 2048): android.net.metrics.NetworkEvent@
b76cd61
ConnectivityMetricsEvent(
1461591945296, 4, 5): Bundle[mParcelledData.dataSize=340]
ConnectivityMetricsEvent(
1461591945299, 0, 3072): android.net.metrics.DefaultNetworkEvent@
e2f3086
ConnectivityMetricsEvent(
1461591945527, 0, 2051): android.net.metrics.ValidationProbeEvent@
884ad47
but at least it's better than nothing, and event logger users can
always implement a better toString method on their events.
This is only enabled if --events is passed into the dump.
Bug:
28204408
Change-Id: Ife96b8d54e5e91317d86b622d5efc29724969f63
Ricky Wai [Mon, 25 Apr 2016 13:11:44 +0000 (13:11 +0000)]
Merge "Make "work mode on dialog" show personal challenge in unified work lock" into nyc-dev
Bill Yi [Mon, 25 Apr 2016 12:49:00 +0000 (12:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 25 Apr 2016 12:12:11 +0000 (05:12 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie8ab19f46d7eebd00b7d1cc476ebd153d733ceb0
Auto-generated-cl: translation import
Bill Yi [Mon, 25 Apr 2016 11:58:49 +0000 (04:58 -0700)]
Import translations. DO NOT MERGE
Change-Id: I052034274afbe75c7898cd0360ea627abed0dd19
Auto-generated-cl: translation import
Bill Yi [Mon, 25 Apr 2016 11:54:12 +0000 (04:54 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic8c6b11898eaccb7327492bbf5d1aaff9070f135
Auto-generated-cl: translation import
Bill Yi [Mon, 25 Apr 2016 11:49:48 +0000 (04:49 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0812aa0343d38d49e868e1e8fd895cb9d924b366
Auto-generated-cl: translation import
Bill Yi [Mon, 25 Apr 2016 11:45:05 +0000 (04:45 -0700)]
Import translations. DO NOT MERGE
Change-Id: Icf2694bb659505ee340498f007c1f303b006b5d0
Auto-generated-cl: translation import
Ricky Wai [Fri, 15 Apr 2016 16:20:12 +0000 (17:20 +0100)]
Make "work mode on dialog" show personal challenge in unified work lock
Bug:
28183335
Change-Id: Ib212b283b9561f88899f6e7ea130944391b6e558
Rubin Xu [Mon, 25 Apr 2016 10:12:01 +0000 (10:12 +0000)]
Merge "Regenerate ApplicationInfo if package suspend state is changed." into nyc-dev
Clara Bayarri [Mon, 25 Apr 2016 09:31:04 +0000 (09:31 +0000)]
Merge "Improve KeyboardShortcutInfo documentation for Modifiers" into nyc-dev
Erik Kline [Mon, 25 Apr 2016 07:55:58 +0000 (07:55 +0000)]
Merge "Add state and callback logs for IpManager dump" into nyc-dev
Bill Yi [Mon, 25 Apr 2016 05:31:19 +0000 (22:31 -0700)]
Import translations. DO NOT MERGE
Change-Id: I1811b4ca04bc4386f233bc1bdc2b486e6ce48b01
Auto-generated-cl: translation import
Erik Kline [Fri, 22 Apr 2016 07:41:26 +0000 (16:41 +0900)]
Add state and callback logs for IpManager dump
Bug:
27605330
Change-Id: I2e659d08fa9acd57a71901f28c85a92c0876c663
Seigo Nonaka [Mon, 25 Apr 2016 03:36:28 +0000 (03:36 +0000)]
Merge "Fix unexpected truncation again." into nyc-dev
Jeff Sharkey [Fri, 22 Apr 2016 15:50:16 +0000 (09:50 -0600)]
API changes for DownloadManager and JobScheduler.
To support moving DownloadManager, add new JobScheduler network type
constraint that matches "any network except roaming." Also add an
API to get a specific JobInfo by ID.
Since the default network can be different on a per-app basis, and
individual apps may be blocked due to app standby, evaluate job
connectivity constraints on a per-UID basis. To implement this
cleanly, add NetworkInfo.isMetered() to match the isRoaming() API.
Add new DownloadManager APIs to support charging and device idle
constraints, which are plumbed through to JobScheduler under the
hood when scheduled.
Add filtering to JobScheduler dumpsys to omit noisy details for
packages the caller isn't interested in.
Bug:
28098882,
26571724,
19821935
Change-Id: I09ca7184ef7ce6adba399f579d415a5fb2ea6110
TreeHugger Robot [Sun, 24 Apr 2016 14:44:26 +0000 (14:44 +0000)]
Merge "Fixed the paddings in inbox style to match the rest of the templates" into nyc-dev
Chong Zhang [Sat, 23 Apr 2016 21:33:55 +0000 (14:33 -0700)]
fix "am start -W" hang on activity start
Normally launch time counts from the point when the activity is
resumed, to when the first window is drawn. However the activity
could become visible before it is resumed, due to some other
activity in the same task being launched. In this case we still
need to report launch time to unblock
ActivityStarter.startActivityMayWait().
bug:
28333487
Change-Id: I445b602f495ed0c3cb669e2d81a137280317534f
Dan Sandler [Sat, 23 Apr 2016 15:12:00 +0000 (11:12 -0400)]
Tap, don't touch.
Part of global change from touch —> tap for certain screen
gestures.
Change-Id: Ifffee1336793e8304dc03da5c3d36a1fe8ba133f
Fixes:
26750003
Dan Sandler [Fri, 15 Apr 2016 03:34:54 +0000 (23:34 -0400)]
Move EXTRA_SUBSTITUTE_APP_NAME to the published system api.
Bug:
26517701
Change-Id: I27000d777247c598cc509079004b4506ef05b404
Dan Sandler [Thu, 14 Apr 2016 14:16:28 +0000 (10:16 -0400)]
Show "Android System" instead of "System UI" in screenshot notifications.
Bug:
26517701
Change-Id: I0f4a58531066c49fed90bcdd78c92a4f212ada3b
Chris Banes [Sat, 23 Apr 2016 07:04:20 +0000 (07:04 +0000)]
Merge "Make AbsSavedState read using given ClassLoader" into nyc-dev