OSDN Git Service
TreeHugger Robot [Thu, 14 Jul 2016 01:16:37 +0000 (01:16 +0000)]
Merge "Preemptively add string for possible toast." into nyc-mr1-dev
Wei Jia [Thu, 14 Jul 2016 01:14:40 +0000 (01:14 +0000)]
Merge \"MediaDataSource: add DrmInitialization for IDataSource.\" into nyc-dev
am:
9604b3803c
Change-Id: I080b409a7f73cfadd5103efbbe563184d57f63d7
TreeHugger Robot [Thu, 14 Jul 2016 01:07:13 +0000 (01:07 +0000)]
Merge "MediaDataSource: add DrmInitialization for IDataSource." into nyc-dev
TreeHugger Robot [Thu, 14 Jul 2016 00:13:46 +0000 (00:13 +0000)]
Merge "Give the default storage manager access to the storage permissions." into nyc-mr1-dev
Tim Murray [Thu, 14 Jul 2016 00:07:51 +0000 (00:07 +0000)]
Merge \"Don\'t dump stack traces for background ANRs.\" into nyc-dev
am:
b2b203ae13
Change-Id: I0777b4d28be2601425b6fe7f51f3ec7dc5635c6e
Tim Murray [Thu, 14 Jul 2016 00:00:29 +0000 (00:00 +0000)]
Merge "Don't dump stack traces for background ANRs." into nyc-dev
Andrew Sapperstein [Thu, 14 Jul 2016 00:00:25 +0000 (00:00 +0000)]
Merge "Use colorControlHighlight for print button ripple." into nyc-mr1-dev
Wei Liu [Wed, 13 Jul 2016 23:59:27 +0000 (23:59 +0000)]
Merge "Add BUGREPORT_OPTION_WEAR so that Wear can customize its bugreporting." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 23:45:38 +0000 (23:45 +0000)]
Merge "Disallow safe boot when in demo mode" into nyc-mr1-dev
Annie Chin [Wed, 13 Jul 2016 23:42:03 +0000 (23:42 +0000)]
Merge "Set mContext scope to protected." into nyc-mr1-dev
Annie Chin [Fri, 8 Jul 2016 21:52:00 +0000 (14:52 -0700)]
Set mContext scope to protected.
Bug:
29582254
Change-Id: I5c9861373b712a4bd9e5f1fba1e638d1ff6be170
Doris Liu [Wed, 13 Jul 2016 23:38:10 +0000 (23:38 +0000)]
Merge "Fix use-after-free in vector drawable animation" into nyc-mr1-dev
Annie Chin [Wed, 13 Jul 2016 23:35:08 +0000 (23:35 +0000)]
Merge "Add setLandscape() method to ButtonInterface" into nyc-mr1-dev
Wei Jia [Thu, 7 Jul 2016 23:08:30 +0000 (16:08 -0700)]
MediaDataSource: add DrmInitialization for IDataSource.
Bug:
29342399
Bug:
28901867
Change-Id: Ib2049566582aa08783ff588dd25afef4e1c0b5e2
(cherry picked from commit
a03dc2b5eb94a906eeeda5bf0afbcfb60588abb4)
Android Build Merger (Role) [Wed, 13 Jul 2016 23:06:25 +0000 (23:06 +0000)]
Merge "Merge \"Doc: Minor fixes following launch of Performance section on DAC.\" into nyc-dev am:
419dbdb538" into nyc-mr1-dev
Android Build Merger (Role) [Wed, 13 Jul 2016 23:06:16 +0000 (23:06 +0000)]
Merge "Merge \"Avoid throwing when 0 size layer requested\" into nyc-dev am:
807989facd" into nyc-mr1-dev
David Friedman [Wed, 13 Jul 2016 23:05:56 +0000 (23:05 +0000)]
Merge \"Doc: Minor fixes following launch of Performance section on DAC.\" into nyc-dev
am:
419dbdb538
Change-Id: I2540f9ddfe0bd3e8fb1e18ad019276369d76f83b
Chris Craik [Wed, 13 Jul 2016 23:05:53 +0000 (23:05 +0000)]
Merge \"Avoid throwing when 0 size layer requested\" into nyc-dev
am:
807989facd
Change-Id: Ie5ed67db841478cb6bbc6b90f768521d049833e6
Ashutosh Joshi [Wed, 13 Jul 2016 23:04:46 +0000 (23:04 +0000)]
Merge "Add state for loading/unloading apps" into nyc-mr1-dev
Tim Murray [Wed, 13 Jul 2016 20:33:28 +0000 (13:33 -0700)]
Don't dump stack traces for background ANRs.
Dumping stack traces can be extremely expensive, and doing so for
background applications often has extremely negative side effects for
foreground applications. This can be exacerbated by resource-intensive
applications, because those may exhibit thermal throttling in the first
place. For such applications, the additional performance hit caused by
stack dumps may be catastrophic.
Instead, don't dump stack traces for background ANRs except for the app
that actually ANR'd.
bug
30112521
Change-Id: I8a05059343254861c436a193690cd1c50a95d674
Joe Fernandez [Wed, 13 Jul 2016 23:00:26 +0000 (23:00 +0000)]
Merge "Doc: Minor fixes following launch of Performance section on DAC." into nyc-dev
Winson Chung [Wed, 13 Jul 2016 22:56:50 +0000 (22:56 +0000)]
Merge "Ensure we pass correct values into the next transition start bounds." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 22:55:35 +0000 (22:55 +0000)]
Merge "Remove subtle dependencies" into nyc-mr1-dev
Chris Craik [Wed, 13 Jul 2016 22:49:19 +0000 (22:49 +0000)]
Merge "Avoid throwing when 0 size layer requested" into nyc-dev
Android Build Merger (Role) [Wed, 13 Jul 2016 22:40:08 +0000 (22:40 +0000)]
Merge "Merge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/
30045484\" into nyc-dev am:
e820803172" into nyc-mr1-dev
Cheryl Potter [Wed, 13 Jul 2016 22:39:46 +0000 (22:39 +0000)]
Merge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/
30045484\" into nyc-dev
am:
e820803172
Change-Id: I2f0c8e31b9a4e2427166e170f55c2e1c8729cd82
TreeHugger Robot [Wed, 13 Jul 2016 22:39:34 +0000 (22:39 +0000)]
Merge "Fix QS gear metrics" into nyc-mr1-dev
Jeff Sharkey [Wed, 13 Jul 2016 22:32:25 +0000 (16:32 -0600)]
Preemptively add string for possible toast.
Bug:
30033319
Change-Id: I4daf4d35656514a835bed1b255dd48f3a0eeb845
TreeHugger Robot [Wed, 13 Jul 2016 22:37:30 +0000 (22:37 +0000)]
Merge "Make Recents button work in demo mode" into nyc-mr1-dev
Ashutosh Joshi [Wed, 27 Apr 2016 18:19:16 +0000 (11:19 -0700)]
Add state for loading/unloading apps
Add state for loading/unloading nanoApps.
Pass on OS response to ContextHubService clients.
Fix Build Breakage due to uninitalized variables.
Bug:
29193948
Change-Id: Ibebecf704bb3ad2583e110f1fcf05400a53b1b4c
Ashutosh Joshi [Wed, 13 Jul 2016 22:17:36 +0000 (22:17 +0000)]
Merge "Revert "Add state for loading/unloading apps"" into nyc-mr1-dev
Ashutosh Joshi [Wed, 13 Jul 2016 22:15:19 +0000 (22:15 +0000)]
Revert "Add state for loading/unloading apps"
This reverts commit
00b351aeef9c660cf3b1cfb3b24aae82d3fe2b8e.
Change-Id: Iee229adff8fec4f2407aa895886e63953f0d7d32
Cheryl Potter [Wed, 13 Jul 2016 22:13:49 +0000 (22:13 +0000)]
Merge "docs: added placeholder redirect for New Class dialog AS 2.2 b/
30045484" into nyc-dev
Wei Jia [Wed, 13 Jul 2016 22:04:58 +0000 (22:04 +0000)]
Merge "MediaPlayer: fix typo for OnInfoListener." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 22:00:37 +0000 (22:00 +0000)]
Merge "Fix disabling lockscreen for demo users." into nyc-mr1-dev
Ashutosh Joshi [Wed, 13 Jul 2016 21:51:30 +0000 (21:51 +0000)]
Merge "Add state for loading/unloading apps" into nyc-mr1-dev
Jean-Michel Trivi [Wed, 13 Jul 2016 21:50:57 +0000 (21:50 +0000)]
Merge "Optimize audio playback restriction check" into nyc-mr1-dev
Adrian Roos [Wed, 13 Jul 2016 21:34:14 +0000 (21:34 +0000)]
Merge "ApplicationErrorReport: Sanitize stack trace" into nyc-mr1-dev
Daniel Nishi [Wed, 13 Jul 2016 21:24:31 +0000 (14:24 -0700)]
Give the default storage manager access to the storage permissions.
Bug:
29793168
Change-Id: Iffeb2f7d86103a245b9bc36e637044633e81bef1
Fyodor Kupolov [Wed, 13 Jul 2016 18:33:09 +0000 (11:33 -0700)]
Disallow safe boot when in demo mode
Bug:
30038636
Change-Id: I70624bff85f5fb012772422f0fff523dab6e9be1
Winson [Wed, 13 Jul 2016 19:29:48 +0000 (12:29 -0700)]
Ensure we pass correct values into the next transition start bounds.
Bug:
30106779
Change-Id: I081beb1dc437516e0a6361fce2c4c4512f4d5f26
TreeHugger Robot [Wed, 13 Jul 2016 21:02:03 +0000 (21:02 +0000)]
Merge "sync rich comments back from google3" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 20:58:23 +0000 (20:58 +0000)]
Merge "QS: Fix emergency calls only layout" into nyc-mr1-dev
Todd Kennedy [Wed, 13 Jul 2016 20:20:30 +0000 (13:20 -0700)]
Remove subtle dependencies
There was a very subtle dependency on the method used to allocate a session
id and how that session id was stored. If the session id wasn't stored
in the same synchronized block where the allocation method was called, it
could have been possible to duplicate session ids. Instead of requiring
callers of the allocation method to know that the value must be stored
in a particular way, maintain a separate set of allocated session ids
that is updated by the allocation method and prevents any potential race
conditions.
Change-Id: Ibd793b3851bf1a994e00d86f621180cac598b86e
Fixes:
30089638
TreeHugger Robot [Wed, 13 Jul 2016 20:15:29 +0000 (20:15 +0000)]
Merge "Disallowing bluetooth config for demo users" into nyc-mr1-dev
Makoto Onuki [Wed, 13 Jul 2016 20:13:51 +0000 (20:13 +0000)]
Merge "Revert "Revert "Revert "Handle package broadcasts before apps do"""" into nyc-mr1-dev
Jason Monk [Wed, 13 Jul 2016 19:24:32 +0000 (15:24 -0400)]
Fix QS gear metrics
Change-Id: If1eeefa3831010d1567861dd71af6f29833496b3
Fixes:
30117924
Andrew Sapperstein [Wed, 13 Jul 2016 20:04:13 +0000 (13:04 -0700)]
Use colorControlHighlight for print button ripple.
Instead of using #eeff41 (a random shade of yellow), use
the default color for ripples.
Change-Id: I32fc7e9a10a994deb2066941c96457ad8549dd11
Fixes:
30115080
Chong Zhang [Wed, 13 Jul 2016 19:39:07 +0000 (19:39 +0000)]
Merge "Revert changes to force layout after insets changes" into nyc-mr1-dev
Jean-Michel Trivi [Wed, 13 Jul 2016 18:25:21 +0000 (11:25 -0700)]
Optimize audio playback restriction check
Order the playback restriction checks from the most likely
restriction to the least likely.
Bug
30073948
Change-Id: I6431d15a2ed8b5831f937eab8db940d942082b0e
Ashutosh Joshi [Wed, 27 Apr 2016 18:19:16 +0000 (11:19 -0700)]
Add state for loading/unloading apps
Add state for loading/unloading nanoApps.
Pass on OS response to ContextHubService clients.
Bug:
29193948
Change-Id: I700f3bdbb8e84413455751dec02a812a639421b3
Chong Zhang [Wed, 13 Jul 2016 02:25:08 +0000 (19:25 -0700)]
Revert changes to force layout after insets changes
Alternative fix for b/
29391054 ag/
1152795 sends an MOVE message to
client which also force a layout, so we no longer need to force
it after the insets change in the traversal.
Reverting the following two related fixes as it does more
measures than necessary.
bug:
29391054
bug:
29533997
bug:
29634368
Revert "Fix layout issue after insets changed"
This reverts commit
76fdbb72c93a431e14357e0ea3d5a83edfa75c5e.
Revert "Do a forceLayout if pending insets is changed after relayout window"
This reverts commit
71f2c31469ed9628d744d20b86eaf188cfdf686d.
Doris Liu [Wed, 13 Jul 2016 01:48:52 +0000 (18:48 -0700)]
Fix use-after-free in vector drawable animation
Added a strong pointer to hold reference to VD in the animation,
so that VD will not be released before animation is finished/destroyed.
BUG:
29438210
Change-Id: I311cd83043f988640de44f637cb474baada9b5ca
Ruben Brunk [Wed, 13 Jul 2016 19:02:25 +0000 (19:02 +0000)]
Merge "Include all components in VR initialization." into nyc-mr1-dev
Amith Yamasani [Wed, 13 Jul 2016 18:59:16 +0000 (11:59 -0700)]
Make Recents button work in demo mode
Create the UserSwitcherController object so that the broadcasts
are properly handled.
Change-Id: Iadf9588a4ddb7850f0d8ab2b49a0949fb4580893
Fixes:
30000641
Sudheer Shanka [Wed, 13 Jul 2016 18:58:37 +0000 (11:58 -0700)]
Fix disabling lockscreen for demo users.
LockSettingsService cleans up data for an user on receiving
ACTION_USER_ADDED. As a result, the value set by the
RetailDemoModeService was getting lost.
Bug:
29912660
Change-Id: I2414a5586ab0187bc003cd6ee8b9f1645406235f
Chris Wren [Wed, 13 Jul 2016 18:28:40 +0000 (14:28 -0400)]
sync rich comments back from google3
Bug:
30116535
Change-Id: I6e43ffda3d15b331c18752b5ee15770c6cdbfe85
Jason Monk [Wed, 13 Jul 2016 18:45:52 +0000 (14:45 -0400)]
QS: Fix emergency calls only layout
Change-Id: Ic66412b0c46f4436d63168a5e167d4adcad74283
Fixes:
29524397
Julia Reynolds [Wed, 13 Jul 2016 18:40:20 +0000 (18:40 +0000)]
Merge "Whitelist default apps for DND access." into nyc-mr1-dev
Victor Chang [Wed, 13 Jul 2016 18:36:35 +0000 (18:36 +0000)]
Merge "Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set" into nyc-mr1-dev
Kevin Hufnagle [Wed, 13 Jul 2016 18:06:44 +0000 (18:06 +0000)]
Merge \"docs: Added \"developer stories\" articles.\" into nyc-dev
am:
686996d2dc
Change-Id: I7a01c6f743c05c36c37eb5b742aaf756d13b9898
Kevin Hufnagle [Wed, 13 Jul 2016 17:52:24 +0000 (17:52 +0000)]
Merge "docs: Added "developer stories" articles." into nyc-dev
Makoto Onuki [Wed, 13 Jul 2016 17:25:25 +0000 (10:25 -0700)]
Revert "Revert "Revert "Handle package broadcasts before apps do"""
This reverts commit
886ba78dfb105eb45416587b73b6c6b336448de5.
With the tests updated.
Change-Id: I162e6ca23c667f90feddc1e9f42b554a416295cf
Adrian Roos [Fri, 1 Jul 2016 20:11:18 +0000 (13:11 -0700)]
ApplicationErrorReport: Sanitize stack trace
Makes sure that the size of the stack trace does not exceed
40 KiBi, to ensure that even errors with large stack traces
are properly reported to ActivityManagerService. For good
measure, also ensure that the exception message is not too
long either.
Change-Id: Id8a99094023c15a981b1b79fd9ee0d803921e220
Fixes:
29918978
Makoto Onuki [Wed, 13 Jul 2016 17:09:36 +0000 (17:09 +0000)]
Merge "Revert "Revert "Handle package broadcasts before apps do""" into nyc-mr1-dev
Makoto Onuki [Wed, 13 Jul 2016 17:08:26 +0000 (17:08 +0000)]
Revert "Revert "Handle package broadcasts before apps do""
This reverts commit
efbbe7ea9db8adab6bff407db1d7fc54bbaf31ee.
Change-Id: I3dbb080db5121307f533a7d411f4f5d47225500e
Adrian Roos [Wed, 13 Jul 2016 17:02:46 +0000 (17:02 +0000)]
Merge "Suppress immersive mode confirmation if navbar is empty" into nyc-mr1-dev
Julia Reynolds [Mon, 11 Jul 2016 12:50:58 +0000 (08:50 -0400)]
Whitelist default apps for DND access.
Bug:
29606962
Change-Id: I0a94004cf08a51ab17813f99aabddbceb95ac8f0
Usman Abdullah [Wed, 13 Jul 2016 16:39:10 +0000 (16:39 +0000)]
Merge "Grant Camera Permissions to DialerPackage" into nyc-mr1-dev
Makoto Onuki [Wed, 13 Jul 2016 16:33:38 +0000 (16:33 +0000)]
Merge "Revert "Handle package broadcasts before apps do"" into nyc-mr1-dev
Daniel Nishi [Wed, 13 Jul 2016 16:26:04 +0000 (16:26 +0000)]
Merge "Add a constant for when the storage manager is toggled on and off." into nyc-mr1-dev
Eric Laurent [Wed, 13 Jul 2016 15:54:02 +0000 (15:54 +0000)]
Merge "Make Dolby TrueHD audio format public" into nyc-mr1-dev
Julia Reynolds [Wed, 13 Jul 2016 15:26:01 +0000 (15:26 +0000)]
Merge "Attribute manual zen mode in volume panel footer." into nyc-mr1-dev
Victor Chang [Tue, 12 Jul 2016 22:47:29 +0000 (23:47 +0100)]
Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set
Fix:
29899712
Change-Id: I38cc9d0e584c3f2674c9ff1d91f77a11479d8943
Benjamin Franz [Wed, 13 Jul 2016 14:31:49 +0000 (14:31 +0000)]
Merge "Add hidden API to store whether provisioning config has been applied" into nyc-mr1-dev
Adrian Roos [Wed, 13 Jul 2016 14:31:31 +0000 (14:31 +0000)]
Merge "Fix navigation bar order in seascape" into nyc-mr1-dev
Julia Reynolds [Wed, 6 Jul 2016 13:47:45 +0000 (09:47 -0400)]
Attribute manual zen mode in volume panel footer.
So users know what app enabled DND.
Change-Id: I0aad862539b28302bf618641ad29cdfa956c8f33
Fixes:
29892371
Mahaver Chopra [Wed, 13 Jul 2016 12:27:00 +0000 (12:27 +0000)]
Merge "Added UM.DISALLOW_OEM_UNLOCK, Removed Global.OEM_UNLOCK_DISALLOWED." into nyc-mr1-dev
Zak Cohen [Wed, 13 Jul 2016 10:15:01 +0000 (10:15 +0000)]
Merge "Adds a screenshot wallpaper method to WallpaperManagerService." into nyc-mr1-dev
Erik Kline [Fri, 8 Jul 2016 08:21:26 +0000 (17:21 +0900)]
Add IPv6 tethering coordinator
Add an IPv6TetheringCoordinator to TetheringMaster StateMachine, which
receives and processes NetworkState updates and passes the necessary IPv6
information to the revelant TetherInterfaceStateMachine.
Add an IPv6TetheringInterfaceServices to TetherInterfaceStateMachine, which
is responsible for adding local network routes and managing an IPv6
RouterAdvertisementDaemon.
Bug:
9580643
Change-Id: I3eaae460b80752e2115359d7bde873a1e9ea515a
Andrii Kulian [Wed, 13 Jul 2016 02:20:11 +0000 (02:20 +0000)]
Merge "Don't make redundant launch while updating configuration" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 01:54:06 +0000 (01:54 +0000)]
Merge "Fix a few log messages that didn't have a space in the SoundTriggerTestApp" into nyc-mr1-dev
Wei Jia [Wed, 13 Jul 2016 01:48:07 +0000 (01:48 +0000)]
Merge "MediaDataSource: add DrmInitialization for IDataSource." into nyc-mr1-dev
Adrian Roos [Wed, 13 Jul 2016 01:41:15 +0000 (01:41 +0000)]
Merge "Allow LockPatternUtils usage on non-looper threads" into nyc-mr1-dev
Rob Carr [Wed, 13 Jul 2016 01:37:46 +0000 (01:37 +0000)]
Merge "When display is frozen prefer preserving orientation." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 01:26:50 +0000 (01:26 +0000)]
Merge "Trapping backspace at EditText level to prevent popping Docs." into nyc-mr1-dev
Cheryl Potter [Wed, 13 Jul 2016 01:02:18 +0000 (18:02 -0700)]
docs: added placeholder redirect for New Class dialog AS 2.2
b/
30045484
Change-Id: I22fe7f3d7af654f12876412dff43d81fc31f305c
Jaewan Kim [Wed, 13 Jul 2016 00:46:06 +0000 (00:46 +0000)]
Merge "MediaSessionService: Support managed profile" into nyc-mr1-dev
Joe Fernandez [Wed, 13 Jul 2016 00:45:10 +0000 (00:45 +0000)]
Merge \"docs: fix redirects for shareables\" into nyc-dev
am:
e181729b18
Change-Id: I5aff432f11ac7af3d653a367a79c42cbb01547b6
Damien Bargiacchi [Wed, 13 Jul 2016 00:40:06 +0000 (00:40 +0000)]
Merge "Don't show times before 2000-01-01" into nyc-mr1-dev
Joe Fernandez [Wed, 13 Jul 2016 00:37:11 +0000 (00:37 +0000)]
Merge "docs: fix redirects for shareables" into nyc-dev
David Christie [Wed, 13 Jul 2016 00:21:19 +0000 (00:21 +0000)]
Merge "Fix issue where GnssMeasurements wouldn't allow empty measurements." into nyc-mr1-dev
Chris Thornton [Tue, 12 Jul 2016 22:05:18 +0000 (15:05 -0700)]
Fix a few log messages that didn't have a space in the SoundTriggerTestApp
Change-Id: If3b5ac6533429843d4be733bd31f2bb83e1d5971
Kevin Gabayan [Wed, 13 Jul 2016 00:14:21 +0000 (00:14 +0000)]
Merge "Wakelock timeout for AnyMotionDetector. Bug:
29959125" into nyc-mr1-dev
Joe Fernandez [Wed, 13 Jul 2016 00:13:55 +0000 (17:13 -0700)]
docs: fix redirects for shareables
b/
30037099
Change-Id: I201b428d156a7f3eb49d92c6f5539b8f2c1998bb
Wei Jia [Thu, 7 Jul 2016 23:08:30 +0000 (16:08 -0700)]
MediaDataSource: add DrmInitialization for IDataSource.
Bug:
29342399
Bug:
28901867
Change-Id: Ib2049566582aa08783ff588dd25afef4e1c0b5e2
Andrii Kulian [Wed, 13 Jul 2016 00:11:35 +0000 (17:11 -0700)]
Don't make redundant launch while updating configuration
If the configuration changed the same time when the app was launched,
from ActivityStackSupervisor#realStartActivityLocked we updated
configuration, which lead to resuming top activity in focused stack.
This caused second redundant launch of already launching activity.
Bug:
29516875
Change-Id: I2babe1936dfb53b5a440deee34874731913db2eb
Vladislav Kaznacheev [Wed, 13 Jul 2016 00:08:50 +0000 (00:08 +0000)]
Fix docs for View.DRAG_FLAG_GLOBAL
am:
9a44eaec53
Change-Id: I82786f107815361b73655b92dc4e54ee255296d9
Kevin Gabayan [Fri, 8 Jul 2016 17:41:24 +0000 (10:41 -0700)]
Wakelock timeout for AnyMotionDetector.
Bug:
29959125
Change-Id: I7260fd1640b87884bb550ff428eb9cd1dc111512
Ben Lin [Mon, 11 Jul 2016 23:25:33 +0000 (16:25 -0700)]
Trapping backspace at EditText level to prevent popping Docs.
When the EditText is empty, pressing backspace on soft/hardware keyboard
will call on the EditText's OnKeyListener. Since we don't handle
backspace, it will then bubble up to Activity-level, which will then pop
the document stack due to the feature of using backspace as navigation.
This will trap the call correctly if the EditText is empty.
Bug:
30066261
Change-Id: I231507b9469bfa52478872491f1d2713a1ac58ba