OSDN Git Service
Julia Reynolds [Mon, 25 Apr 2016 18:57:33 +0000 (14:57 -0400)]
Api review: Settings.
Hide notification policy setting.
Bug:
28295513
Change-Id: Ic117285c3eb07cb4bf399e233adad835772b9673
Julia Reynolds [Mon, 25 Apr 2016 17:09:16 +0000 (13:09 -0400)]
Reduce spacing.
Bug:
28325996
Change-Id: I065dc077876abb98d7c3381cc0ac28af77323c8a
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
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
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
Chris Banes [Sat, 23 Apr 2016 07:04:20 +0000 (07:04 +0000)]
Merge "Make AbsSavedState read using given ClassLoader" into nyc-dev
TreeHugger Robot [Sat, 23 Apr 2016 01:45:00 +0000 (01:45 +0000)]
Merge "Fix content description for notification icons" into nyc-dev
Selim Cinek [Thu, 21 Apr 2016 23:40:47 +0000 (16:40 -0700)]
Fixed the paddings in inbox style to match the rest of the templates
Change-Id: Ib7701ac29d5f8a123441fbf6d95a5b0b9cadfb4e
Fixes:
27998488
TreeHugger Robot [Sat, 23 Apr 2016 00:56:10 +0000 (00:56 +0000)]
Merge "Fix a regression in assist when context is disabled" into nyc-dev
Adam Lesinski [Sat, 23 Apr 2016 00:20:09 +0000 (00:20 +0000)]
Merge "BatteryStats: Fix up semantics of SamplingTimer" into nyc-dev
Adrian Roos [Sat, 23 Apr 2016 00:09:27 +0000 (17:09 -0700)]
Fix content description for notification icons
Change-Id: Icb4c6d8a77211d0c8922e28958609a332b19dfcc
Fixes:
27552350
Jaewan Kim [Sat, 23 Apr 2016 00:04:54 +0000 (00:04 +0000)]
Merge "PIP: Changed the wording and background of the PIP onboarding screen" into nyc-dev
Jaewan Kim [Thu, 21 Apr 2016 12:16:28 +0000 (21:16 +0900)]
PIP: Changed the wording and background of the PIP onboarding screen
Bug:
28300868
Change-Id: I73e465ddac5520e0b70098bf6a39fb85d59ad0f9
Chris Tate [Fri, 22 Apr 2016 23:31:02 +0000 (23:31 +0000)]
Merge "Raise native-crash socket timeout" into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 23:08:04 +0000 (23:08 +0000)]
Merge "Show a toast when details cannot be added to zip file." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 23:02:15 +0000 (23:02 +0000)]
Merge "Added title and button for Data Saver's 1st-time dialog." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 22:46:28 +0000 (15:46 -0700)]
Added title and button for Data Saver's 1st-time dialog.
BUG:
28098106
Change-Id: Icd3d2ee1b62abac738a7ff1c601bf91f6eedfd62
Carlos Valdivia [Fri, 22 Apr 2016 22:51:50 +0000 (22:51 +0000)]
Merge "Rename GET_PASSWORD_PRIVILEGED and make it signature." into nyc-dev
Garfield Tan [Fri, 22 Apr 2016 22:47:37 +0000 (22:47 +0000)]
Merge "Disable view recycling to avoid passing wrong type of view to Item.bindView()." into nyc-dev
Ta-wei Yen [Fri, 22 Apr 2016 22:43:57 +0000 (22:43 +0000)]
Merge "Rename _BOOLEAN visual voicemail config keys to _BOOL" into nyc-dev
Amith Yamasani [Fri, 22 Apr 2016 22:43:21 +0000 (15:43 -0700)]
Fix a regression in assist when context is disabled
Fixes:
28293783
CTS: DisableContextTest#testContextAndScreenshotOff failure
When assist context is disabled, make sure that the handleAssist() is
still called with no data.
Change-Id: I569dd9f6de503e62fb04c590214df0f2ce3aa4f3
Winson [Thu, 21 Apr 2016 23:48:50 +0000 (16:48 -0700)]
Fixing issue with swipe-dismiss animation clobbering home animation.
- Finish all dismiss animations when a dismiss-to-home animation is
started, and prevent lingering deferred layout animation requests
from running as they will be overwritten anyways.
Bug:
28287904
Change-Id: Ie40c66c0f25705b56f6808607d2b7b8ae4e5a112
Christopher Tate [Fri, 22 Apr 2016 22:27:10 +0000 (15:27 -0700)]
Raise native-crash socket timeout
Stack unwinding can sometimes legitimately take more than 2 seconds.
Bug
28210681
Change-Id: If6fb30c5111e9c85ce98d36a97faa0b5f21bc04d
Chong Zhang [Fri, 22 Apr 2016 22:25:26 +0000 (22:25 +0000)]
Merge "Force a relayout when task is resized while not drag resizing." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 00:30:47 +0000 (17:30 -0700)]
Show a toast when details cannot be added to zip file.
BUG:
28291423
Change-Id: I7febf66ef23f38b41fb1909324ee2260444518f6
Adam Lesinski [Fri, 22 Apr 2016 22:20:35 +0000 (22:20 +0000)]
Merge "BatteryStats: use the same timestamp for comparing intervals" into nyc-dev
Svetoslav Ganov [Fri, 22 Apr 2016 22:18:27 +0000 (22:18 +0000)]
Merge "Cleanup of the PackageInstaller API - Frameworks" into nyc-dev
Winson Chung [Fri, 22 Apr 2016 22:15:45 +0000 (22:15 +0000)]
Merge changes Ia8a90434,I35f484c7,I2e87e764 into nyc-dev
* changes:
Tweaks to make overview animations to match spec.
Closing system windows when dismissing recents to app or home.
Caching the display rect to reduce binder calls.
Chong Zhang [Fri, 22 Apr 2016 22:04:31 +0000 (15:04 -0700)]
Force a relayout when task is resized while not drag resizing.
mResizedWhileNotDragResizing is set is task bounds is resized, however
individual window's size may not change (eg. a floating dialog). The
relayout window may not come and the mResizedWhileNotDragResizing
flag won't get cleared.
bug:
28111853
Change-Id: If8bb79cc07d9c67d6e5685b0adc24a9ce2623ec6
Jorim Jaggi [Fri, 22 Apr 2016 22:08:56 +0000 (22:08 +0000)]
Merge "Fix black flicker when closing IME" into nyc-dev
Carlos Valdivia [Fri, 22 Apr 2016 21:10:40 +0000 (14:10 -0700)]
Rename GET_PASSWORD_PRIVILEGED and make it signature.
Now named GET_PASSWORD. Now it is just a signature, not privileged.
Bug:
28295831
Change-Id: Ice93b527edced9546639b6c7096aad933c517548
Adam Lesinski [Thu, 21 Apr 2016 16:55:41 +0000 (09:55 -0700)]
BatteryStats: Fix up semantics of SamplingTimer
SamplingTimer has been losing some data, as well as not correctly handling
entries that have gone away and come back with less data (reset).
This change correctly ends a SamplingTimer sample by adding the accumulated amount
to the total, then reseting the running counter to accept new values.
This is also triggered automatically when the incoming data is less than what is currently
recorded.
Bug:
25695597
Change-Id: I6b540906e6be527578d1003485384a75ba211b52
Adam Powell [Fri, 22 Apr 2016 21:43:15 +0000 (21:43 +0000)]
Merge "Remove dependencies on Activity from common Fragment superclasses" into nyc-dev
Winson [Thu, 21 Apr 2016 00:18:08 +0000 (17:18 -0700)]
Tweaks to make overview animations to match spec.
- Fixing incompatible app message text color
- Fixing drag target hover color
- Fixing final frame jank when animating home from overview
- Adding animation prop setter for initial play time
Bug:
27154882
Change-Id: Ia8a90434da2174d3c78a353b881509a8b1d525ba
TreeHugger Robot [Fri, 22 Apr 2016 21:23:52 +0000 (21:23 +0000)]
Merge "Fixed NPE during boot animation on fugu." into nyc-dev
Svet Ganov [Fri, 26 Feb 2016 02:22:10 +0000 (18:22 -0800)]
Cleanup of the PackageInstaller API - Frameworks
The PackageInstaller app manages side-loading apps as well
as permission management. It should be updatable, hence
should rely on system APIs to talk to the platform. This
is the first step of defining an API boundary.
Change-Id: I9814eafd0b22ae03b4b847a7007cdbf14c9e5466
Jorim Jaggi [Fri, 22 Apr 2016 21:13:49 +0000 (14:13 -0700)]
Fix black flicker when closing IME
When closing the IME in docked adjusted mode, we still need to pass
in the IME window so we can still execute the logic to delay starting
the animation, so we don't see a black hole before the animation is
started.
Bug:
28175599
Change-Id: I606d30bd63b5e909fdebd78b0aa4968bd9f26c24
Svetoslav Ganov [Fri, 22 Apr 2016 21:03:28 +0000 (21:03 +0000)]
Merge "Disallow disable of the system shared libs." into nyc-dev
Sujith Ramakrishnan [Fri, 22 Apr 2016 20:59:06 +0000 (20:59 +0000)]
Merge "Unbundle RemoteService on TV - part 3" into nyc-dev
Sudheer Shanka [Fri, 22 Apr 2016 20:56:44 +0000 (20:56 +0000)]
Merge "Remove debug flag for some important logs." into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 20:22:21 +0000 (20:22 +0000)]
Merge "Fix IME for status bar in docked mode" into nyc-dev
Yang Ni [Fri, 22 Apr 2016 19:48:32 +0000 (19:48 +0000)]
Merge "Fixed BaseObj finalizer and destroy()" into nyc-dev
Wale Ogunwale [Fri, 22 Apr 2016 19:11:51 +0000 (12:11 -0700)]
Fixed NPE during boot animation on fugu.
- Don't set a dim layer in the docked controller if we are not dimming.
- Check to make sure the docked divider window isn't null before trying
to use its layer for dimming.
Bug:
28339915
Change-Id: I33d49d26ffcaec63d135f82a6208e127ba0f0570
TreeHugger Robot [Fri, 22 Apr 2016 19:42:51 +0000 (19:42 +0000)]
Merge "Reconfigure display info. after configuration changes." into nyc-dev
Sujith Ramakrishnan [Fri, 29 Jan 2016 00:53:16 +0000 (16:53 -0800)]
Unbundle RemoteService on TV - part 3
- New service TVRemoteService triggered by SystemServer
- Provider service proxy and watcher for maintaining connections to unbundled
services which have the BIND_TV_REMOTE_SERVICE permission.
- Shared library to facilitate connections between unbundled service and
TVRemoteService.
- Unbundled service needs TV_VIRTUAL_REMOTE_CONTROLLER
permission to be fully functional.
b/
23792608
Change-Id: Ief5c6995883d1f7268a73bdd0c920c4c3f42cddb
Sudheer Shanka [Fri, 22 Apr 2016 19:13:30 +0000 (12:13 -0700)]
Remove debug flag for some important logs.
Bug:
27689631
Change-Id: I23c1396f3b29093e6d23ec06f90a382b6ce458d3
TreeHugger Robot [Fri, 22 Apr 2016 19:13:22 +0000 (19:13 +0000)]
Merge "Force pinned windows to always be scaleable." into nyc-dev
Adam Powell [Fri, 22 Apr 2016 18:27:31 +0000 (11:27 -0700)]
Remove dependencies on Activity from common Fragment superclasses
Allow common Fragments to be used in non-Activity hosts.
Bug
28337394
Change-Id: Id3baa3ef19ea41ff43ca76be89ced7530fbadfab
Junda Liu [Fri, 22 Apr 2016 19:05:33 +0000 (19:05 +0000)]
Merge "Add comments to apptype and authtype constants." into nyc-dev
Chong Zhang [Fri, 22 Apr 2016 19:01:56 +0000 (19:01 +0000)]
Merge "Fix black frame in finishing transition" into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 19:00:23 +0000 (19:00 +0000)]
Merge "Add ambient light ring buffer for initial data gathering period." into nyc-dev
Adrian Roos [Fri, 22 Apr 2016 03:59:47 +0000 (20:59 -0700)]
Fix IME for status bar in docked mode
If the dock divider is visible, window manager raises the IME from the
app's layer on top of the divider. However if the IME was targeting the
status bar, it would also remove it from the status bar's layer and
move it atop the divider (but below the status bar).
To fix this, we now only perform the adjustment to the IME's layer if
that moves the IME up, but never down.
Change-Id: I1308f51b98fffee64a5075c49697f5bc177ea32e
Fixes:
28024606
Chong Zhang [Fri, 22 Apr 2016 18:31:51 +0000 (11:31 -0700)]
Fix black frame in finishing transition
If either visible or nowVisible is true we need to wait for next
activity to become visible before we destroy the previous activity.
In some code path (eg. clear task top), when starting a new activity,
old activity is first paused and visible set to false with a dummy
transition set. Then finish activity is requested. At this point visible
is already false, but nowVisible is true. We still need to wait for
next app become visible to avoid a black frame shown in between.
bug:
27796252
Change-Id: Ief3d5fc8f11c51a729c424f996ab2597c815e4dd
Alexander Hills [Fri, 22 Apr 2016 18:32:48 +0000 (18:32 +0000)]
Merge "Changes Message from using parcels to bundles" into nyc-dev
Winson [Thu, 21 Apr 2016 22:20:21 +0000 (15:20 -0700)]
Closing system windows when dismissing recents to app or home.
Bug:
28314924
Change-Id: I35f484c7c594bb39d7983965e0f706175cf92253
Winson [Thu, 21 Apr 2016 18:20:11 +0000 (11:20 -0700)]
Caching the display rect to reduce binder calls.
- Only update the display rect and orientation on configuration change.
Bug:
28122871
Change-Id: I2e87e7643902d5f45ac4a311109f5e1870f48d3b
Winson Chung [Fri, 22 Apr 2016 18:22:00 +0000 (18:22 +0000)]
Merge changes I222e50f6,I9832874d into nyc-dev
* changes:
Removing legacy calculation of Recents visibility.
Adding additional dump logging to track down bugs.
Wale Ogunwale [Fri, 22 Apr 2016 16:15:09 +0000 (09:15 -0700)]
Reconfigure display info. after configuration changes.
Some of the information reported for a display is dependent on resources to do
the right calculations. For example, {@link DisplayInfo#smallestNominalAppWidth}
and company are dependent on the height and width of the status and nav bar
which change depending on the current configuration.
Bug:
28182307
Change-Id: I2ba5de4bcfb3fa3ad334e69eb192bd15f8f7ebb2
Jason Monk [Fri, 22 Apr 2016 18:13:18 +0000 (18:13 +0000)]
Merge "Add strings for quick settings accessibility" into nyc-dev
Alexander Hills [Fri, 22 Apr 2016 18:11:44 +0000 (18:11 +0000)]
Merge "Adds a BigPicAmbient flag to WearableExtender" into nyc-dev
Jason Monk [Fri, 22 Apr 2016 18:08:27 +0000 (14:08 -0400)]
Add strings for quick settings accessibility
Bug:
15696340
Change-Id: Ie775c90c9fed8078f4db4bde5752a2f2d7f94f25
Dongwon Kang [Fri, 22 Apr 2016 17:54:31 +0000 (17:54 +0000)]
Merge "TIF: Address API review comments" into nyc-dev
Philip P. Moltmann [Fri, 22 Apr 2016 17:32:36 +0000 (17:32 +0000)]
Merge "Send update notifications when the status of a print job updates and make sure to only access mPrintServicesChangeListenerRecords when locked." into nyc-dev
Yang Ni [Thu, 21 Apr 2016 04:26:24 +0000 (21:26 -0700)]
Fixed BaseObj finalizer and destroy()
Bug:
28242626
Bug:
27972184
Bug:
27973681
This is resolving issues in ScriptGroup (V1) again.
In ScriptGroup.destroy(), we also need to consider the old API where
mClosures is not initialized.
Also cleaned up the finalizer for ScriptGroup and Allocation:
Since BaseObj.finalize() calls BaseObj.helpDestroy(), instead of
BaseObj.destroy(), there is no possibility that the finalizers of
child objects may race their parents finalizers. Note that
helpDestroy() does not try to recurse on child objects.
Change-Id: I9dbb2b60f8478f656f8a418c2b5fc8d6848aeef0
Michael Wright [Fri, 22 Apr 2016 05:03:09 +0000 (01:03 -0400)]
Add ambient light ring buffer for initial data gathering period.
We're seeing reports of the display being too dim at initial wake up.
Saving the buffer for this initial period lets determine whether this
is a calculation error or something wrong with the sensor readings.
Bug:
27951906
Change-Id: I96b5dd0772de056c3c5e54d59c13d1a3d902d343
Garfield Tan [Fri, 22 Apr 2016 17:17:14 +0000 (17:17 +0000)]
Merge "DO NOT MERGE: Disable drag n' drop in DocumentsActivity." into nyc-dev
Andrei Stingaceanu [Fri, 22 Apr 2016 16:46:29 +0000 (16:46 +0000)]
Merge "Keyboard shortcuts: dismiss when activities start via shortcut" into nyc-dev
Andres Morales [Fri, 22 Apr 2016 16:31:18 +0000 (16:31 +0000)]
Merge "FrameMetricsListener API council changes" into nyc-dev
Andrii Kulian [Fri, 22 Apr 2016 16:15:07 +0000 (16:15 +0000)]
Merge "Show recents when task moves to docked stack" into nyc-dev
Andrii Kulian [Thu, 21 Apr 2016 01:43:01 +0000 (18:43 -0700)]
Show recents when task moves to docked stack
When task was moved to docked stack using adb command,
recents didn't show and docked stack was minimized when
home task obtained focus.
This CL shows recents if needed when task is moved to
docked stack.
Bug:
28215216
Change-Id: If1cfb9d24bd77cc9c3c8fad3479f115d7aca1301
Andrei Stingaceanu [Thu, 14 Apr 2016 17:11:57 +0000 (18:11 +0100)]
Keyboard shortcuts: dismiss when activities start via shortcut
* introduced a new intent DISMISS_KEYBOARD_SHORTCUTS and
and new public API in Activity (which sends a broadcast
to KeyboardShortcutsReceiver) which applications can
use to dismiss the keyboard shortcuts.
* plumbing and implementation for a new call to dismiss
keyboard shortcuts from PhoneWindowManager and used it:
** when starting activities invoked via Search+key
** when starting activities invoked via META
** when starting activities via application launch keys
* removed unused variable in
Activity#onProvideKeyboardShortcuts
Note that for apps started via touch (aka non-shortcut)
like tapping the Settings gear icon from the notification
bar the menu is not automatically dismissed.
Bug:
28012198
Change-Id: I83a8d4f342bb8a08115a648648834d0d2bac19fd
Jason Monk [Fri, 22 Apr 2016 15:47:30 +0000 (15:47 +0000)]
Merge "Add back elevation to quick settings" into nyc-dev
Bo Liu [Fri, 22 Apr 2016 15:36:37 +0000 (15:36 +0000)]
Merge "webview: canInvokeDrawGlFunctor should always return true" into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 15:16:05 +0000 (15:16 +0000)]
Merge "Fixed a bug where notifications could overlap" into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 15:00:36 +0000 (15:00 +0000)]
Merge "Add reasons to notifyPackageUse calls" into nyc-dev
Philip P. Moltmann [Fri, 22 Apr 2016 14:08:07 +0000 (14:08 +0000)]
Merge "Rename 'thousands of an inch' to 'thousandths of an inch'in the docs." into nyc-dev
Brian Carlstrom [Wed, 20 Apr 2016 06:16:08 +0000 (23:16 -0700)]
Add reasons to notifyPackageUse calls
This is so we can record more specific times in PackageUsage.
If file with only one timestamp per package is found, the value is
copied to all usage slots.
Bug:
27902702
Change-Id: I8affe43c735e54620a9204433aad367cfddfded7
Chris Banes [Fri, 22 Apr 2016 12:15:36 +0000 (13:15 +0100)]
Make AbsSavedState read using given ClassLoader
Currently it does not use a ClassLoader to read
any super state, which can cause crashes for
custom views using the class but on a different
class loader.
BUG:
27790353
Change-Id: I4f4d1d72f213f2481606673643c0e56c23d34bc6
Victor Chang [Fri, 22 Apr 2016 11:02:41 +0000 (11:02 +0000)]
Merge "Deleting lock screen clears all CA approvals" into nyc-dev
Seigo Nonaka [Wed, 20 Apr 2016 06:45:34 +0000 (15:45 +0900)]
Fix unexpected truncation again.
Unexpected truncation happens again after [1].
This is fixed by setting match_parent into the container LinearLayout.
For the unexpected truncation of Holo Theme is came from other but
related root cause. To calculate the window and container width,
need to add container padding in addition to the maximum width of
the text view. Otherwise the width of the container view will be
shrunk and the contents will be truncated. This only happens on
Holo Theme since the padding of the container is zero on Material
Theme.
I manually confirmed this CL doesn't revive following issues
-
28034210
-
27341560
[1]: I67886a752ef110d3433dddd6aa8447a9027f8e19
[2]: I69b258687b4bf5510d9b2c3e690c88106bf893f5
Bug:
28266493
Bug:
28281740
Change-Id: Ie6d274714ac08080dc22aeb8ecd8b7729cb634cd
TreeHugger Robot [Fri, 22 Apr 2016 09:41:04 +0000 (09:41 +0000)]
Merge "Split network monitoring and portal probe events" into nyc-dev
Rubin Xu [Fri, 22 Apr 2016 09:25:02 +0000 (09:25 +0000)]
Merge "Remove MANAGED_PROFILE_AVAILABILITY_CHANGED broadcast" into nyc-dev
Selim Cinek [Thu, 21 Apr 2016 23:14:46 +0000 (16:14 -0700)]
Fixed a bug where notifications could overlap
If the expanded child was smaller then the collapsed one
the UI could get very weird. We're now measuring the expanded
version at least as big as the collapsed one.
Change-Id: Ibb99c4926121b2affcc181071b5e439f23c8e4f2
Fixes:
28318145
Fixes:
28015447
Lorenzo Colitti [Fri, 22 Apr 2016 08:41:08 +0000 (08:41 +0000)]
Merge changes from topic 'blockOnProcessingUnsolicited' into nyc-dev
* changes:
Tethering: interface updates can be handled again
NativeDaemonConnector: add waitForCallbacks method
Rebecca Silberstein [Thu, 21 Apr 2016 22:50:34 +0000 (15:50 -0700)]
Tethering: interface updates can be handled again
When reloading wifi firmware, unsolicited responses from netd were
processed after softap had started and caused wifi tethering to be torn
down.
The NetworkManagementServer.wifiFirmwareReload call has been changed to
not only block for the command to finish, but also until all unsolicited
messages (interface updates) have been handled. We should now be able
to handle interface updates in tethering without suffering from the
softap bringup/interface down notification race condition.
BUG:
27857665
Change-Id: Ie57cb8f760781b3227df575b577b33667070d63e
Hugo Benichi [Thu, 21 Apr 2016 06:02:38 +0000 (15:02 +0900)]
Split network monitoring and portal probe events
This patches changes how captive portal tests and network lifecycle
events are logged as connectivity events:
- it splits NetworkMonitorEvent into two event classes:
- ValidationProbeEvent for logging individual probe events.
- NetworkEvent for logging network connection, validation,
lingering, and disconnection.
- it removes the redundant CaptivePortalCheckResultEvent class.
The information logged in CaptivePortalCheckResultEvent was already
logged by NetworkMonitorEvent, but missing the evaluation durations.
It is now logged by ValidationProbeEvent.
- it removes the CaptivePortalStateChangeEvent class, which is now
redundant with NetworkEvent, but missing evaluation durations.
In addition, it adds event logging when ConnectivityService puts a
network into lingering or removes a network from lingering.
Bug:
28204408
Change-Id: I8f9752e4d36175ecfcbd1545a01a41bad6e06ea4
TreeHugger Robot [Fri, 22 Apr 2016 07:28:30 +0000 (07:28 +0000)]
Merge "Fixed a bug where the icon of children could be colored" into nyc-dev
Rebecca Silberstein [Thu, 21 Apr 2016 19:14:41 +0000 (12:14 -0700)]
NativeDaemonConnector: add waitForCallbacks method
Add a method that allows callers to wait until all unsolicited
responses received from the native daemon during a command are
processed.
When commands are issued to a native daemon (such as netd) through the
NativeDaemonConnector we block until the command response is received.
Any responses or events that are a side-effect (considered
"unsolicited") of the command are placed in a Message and handled as
callbacks. The order of their processing is not guaranteed and, as we
have seen from bugreports, can be handled several seconds
later - causing the SoftAP that was just set up to be torn down
because a late interface down/removed is indistinguishable from a
new interface down/removed.
This CL adds a method that first checks to make sure callback thread
is not the same thread as used for the blocking call. The new
waitForCallbacks method uses a CountDownLatch to force the calling
thread to wait until all unsolicited responses received from the
native daemon during the execution of the command are handled.
The wifiFirmwareReload method is also updated to use the new
waitForCallbacks method.
BUG:
27857665
Change-Id: I3e22978f720b1cbf57fbb64ad4fea73f8c2d408a
Selim Cinek [Fri, 22 Apr 2016 05:33:31 +0000 (05:33 +0000)]
Merge "Fixed a bug where notification header could become empty" into nyc-dev
Jorim Jaggi [Fri, 22 Apr 2016 04:09:11 +0000 (04:09 +0000)]
Merge "Fix signal cluster animation leak" into nyc-dev
Jorim Jaggi [Fri, 22 Apr 2016 03:33:44 +0000 (20:33 -0700)]
Fix signal cluster animation leak
When subscription id's change during the animation, make sure to
clear them out as well. This happens when doing a network switch
on Fi.
Bug:
27434767
Change-Id: I9cbd65888419ca630e884c51d41a0d785237f35b
Selim Cinek [Fri, 22 Apr 2016 03:22:12 +0000 (03:22 +0000)]
Merge "Fixed a crash when the heads up content view was null" into nyc-dev
Selim Cinek [Fri, 22 Apr 2016 03:21:50 +0000 (03:21 +0000)]
Merge "Changed the name of chronometer countdown" into nyc-dev
Erik Kline [Fri, 22 Apr 2016 03:14:04 +0000 (03:14 +0000)]
Merge "IpManager,DhcpClient: catch some errors and better logging" into nyc-dev
Jorim Jaggi [Fri, 22 Apr 2016 03:09:58 +0000 (03:09 +0000)]
Merge "Fix squished UI elements" into nyc-dev
Paul Crowley [Fri, 22 Apr 2016 03:00:10 +0000 (03:00 +0000)]
Merge "Clear calling identity before calling mountService" into nyc-dev
Jorim Jaggi [Fri, 22 Apr 2016 01:25:49 +0000 (18:25 -0700)]
Fix squished UI elements
Stack bounds were wrong after moving all tasks from docked stack to
fullscreen stack, if fullscreen stack was created while moving.
This lead to very wrong bounds when rotating the screen the next
time.
Bug:
27870534
Change-Id: I6d054922ffc7baa7cd1a86d0d3448050cbacd21f