* 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
am: 82604ed8cc
* commit '82604ed8cc68f87b65654785f1c4b729e76b8d9c':
Rename 'thousands of an inch' to 'thousandths of an inch'in the docs.
Change-Id: Ifce391490dd013cdad3f3c25cda3421dcd8028dd
am: 10a1a656e2
* commit '10a1a656e2769ce3227db1001a4e69eebe99e6ac':
Rename 'thousands of an inch' to 'thousandths of an inch'in the docs.
Change-Id: If260e10e9adc7a9ae892008865fec21490f53739
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
Replace usages where the Long is immediately unboxed or thrown
away with Long.parseLong().
In TaskRecord.java, I also fixed up similar uses of
{Boolean,Integer}.valueOf()
Tested: built frameworks/base successfully.
Bug: 28289401
(cherry picked from commit 4bd017d6a5)
Change-Id: Icfa4708946e774f4a1bacf185c3fd11a7087017e
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
am: c93f4b6707
* commit 'c93f4b67076b683c463ab949d6087b41303bc06c':
Fixed a bug where notification header could become empty
Change-Id: Ifb5e38f663973c62211249edcccdd0d72c754f1c
am: 57e4a67be1
* commit '57e4a67be13eede636608f789d1b88d0889683ec':
Fixed a bug where notification header could become empty
Change-Id: I5c22f22e67ed60ae441adccf852fc3850c400ad5
am: 5e2a3e5872
* commit '5e2a3e5872e8439ad836b5b281e6393ecefb50f4':
Changed the name of chronometer countdown
Change-Id: Ibce68e45c56e90ee66b7a7d2fbfc0350178885fa
am: ba26bf8a47
* commit 'ba26bf8a471275520c8a6d97dccd19e6e6993388':
Changed the name of chronometer countdown
Change-Id: I8c4970cfd2f0f2c8c56647737e1993de65dc1ec7
am: 8f32cd4306
* commit '8f32cd4306a201c2167c20fc636fe613f1fabd4c':
Changed the name of chronometer countdown
Change-Id: I2e7040b43c2f46dfc8159d98862e865343df221d
am: 1fb59e587f
* commit '1fb59e587f95e0235ec7c0827a1d2e163bc8bd44':
Don't worry about an extra weak indirection with callback alarms
Change-Id: I0e0d4b03f2a15b12e9bcfc6906e949137e3a380c
am: 0a7ec886c3
* commit '0a7ec886c35107c1f8d2d1ff3977ac5dd91fddd1':
Don't worry about an extra weak indirection with callback alarms
Change-Id: Ifd44a119263b68ff6b67679931c579dcef622d0e
am: 22ac656218
* commit '22ac65621885412c1e90594644b98281f36b64e7':
Switched the notification time to relative time
Change-Id: Ib4a88c9e7b47bc5f9c586cc49a6eb97ad98fe642
am: 037235d83e
* commit '037235d83edcc78aab8798a0b221b6f14d9e15f3':
Switched the notification time to relative time
Change-Id: I599b7e0c7e4576e04f9409b464fc7b9a3b96c72c