Commit Graph

235033 Commits

Author SHA1 Message Date
Brian Carlstrom
5841fc7650 frameworks/base: Remove unnecessary core-tests dependency
Bug: 27555885
Change-Id: I84cb853c37efbf89d55105a863c40b4074ecf814
2016-03-08 22:00:55 -08:00
Shuzhen Wang
f52ebd119e Merge "Camera2: Handle binder death on ICameraDeviceUser" into nyc-dev 2016-03-09 03:43:01 +00:00
Brian Carlstrom
7f284419f7 Merge "Remove unneeded dependecy on core-tests to fix build" into nyc-dev 2016-03-09 03:29:55 +00:00
Muyuan Li
a8446ef782 Merge "Partial screenshot" into nyc-dev 2016-03-09 02:36:52 +00:00
Aga Wronska
91484b4af6 Merge "Add haptic feedback when entering ActionMode" into nyc-dev 2016-03-09 02:25:02 +00:00
Jaewan Kim
0997873eff Merge "PIP: Provide a way to show onboarding everytime" into nyc-dev 2016-03-09 02:03:35 +00:00
Aga Wronska
7d5a247c67 Add haptic feedback when entering ActionMode
Bug: 27357146
Change-Id: I3712a0b077dd8ac8d77a3ec561cc813a4c789cad
2016-03-08 17:58:19 -08:00
Yohei Yukawa
a23aba5345 Merge changes I2b5a6989,Ie3d61458 into nyc-dev
* changes:
  Reset TSMS when the device is unlocked.
  Add copy-on-write mode to TextServicesSettings.
2016-03-09 01:52:06 +00:00
Makoto Onuki
76cb56bb21 Merge "Implement LauncherApps.startShortcut()." into nyc-dev 2016-03-09 01:38:37 +00:00
Brian Carlstrom
03cec27e7a Remove unneeded dependecy on core-tests to fix build
Bug: 27555885

(cherry picked from commit 2687673025)

Change-Id: I1c40ed0a565216652acdbef61dd8f44ce8df70f8
2016-03-08 17:34:07 -08:00
Chris Tate
37a67e0bc2 Merge "Add 'shell cmd jobscheduler run ....' to run a job immediately" into nyc-dev 2016-03-09 01:31:27 +00:00
Makoto Onuki
43204b8357 Implement LauncherApps.startShortcut().
Bug 27548047

Change-Id: I357732e22be0959fb573fd6cdaee7c6b439ef7c4
2016-03-08 17:26:28 -08:00
Abhijith Shastry
d1a766e820 Merge "Document that emergency numbers will not be blocked by the platform." into nyc-dev 2016-03-09 01:22:21 +00:00
Zhijun He
924dd55528 Merge "ImageReader/Writer: refactor and cleanup" into nyc-dev 2016-03-09 01:09:34 +00:00
Abhijith Shastry
e3e686cff8 Document that emergency numbers will not be blocked by the platform.
BUG: 27534486
Change-Id: Idd339ca16e2b754112fc5d0966a7cf76d9990c98
2016-03-08 16:55:01 -08:00
Christopher Tate
5d346051bd Add 'shell cmd jobscheduler run ....' to run a job immediately
During development one needs to be able to test changes conveniently,
and when the jobs would normally have hard-to-simulate constraints
like idle-time or long minimum latencies, testing becomes difficult.
This CL introduces the ability to run a specific job immediately
from the adb shell.

Without the "-f"/"--force" flag, the job still won't run if it has
unmet "functional" requirements such as being connected via an
unmetered network.  With that flag, the job will be run immediately
regardless of its declared constraints (so it may not work properly
due to lack of network connectivity or similar).

Bug 27501783

Change-Id: Icc046f53f8846690c8234e60066e85c283d325ce
2016-03-08 16:45:25 -08:00
Aga Wronska
836202114a Merge "Added word 'selected' to action bar description of selected elements" into nyc-dev 2016-03-09 00:39:39 +00:00
Aga Wronska
91c1a434c1 Added word 'selected' to action bar description of selected elements
Bug: 27296839
Change-Id: I30d3b726f281872da298dbc481a22241fbd45a9a
2016-03-08 16:34:14 -08:00
Adrian Roos
c192f6bf35 Merge "Fix flashing of the scrim" into nyc-dev 2016-03-09 00:26:30 +00:00
Selim Cinek
c75af36bee Fixed a bug where notification y positions would animate
When draging down the y positions were animating even though
they didn't need to as they were not scaling anymore.

Bug: 24866646
Change-Id: Ied6c39a32522756b5f4d8eab7203c87d1958c278
2016-03-09 00:25:24 +00:00
Ryan Bavetta
6e3eeadee2 Merge "Fix unsynchronized access to model hashmap" into nyc-dev 2016-03-09 00:05:33 +00:00
Yohei Yukawa
f0f1680663 Reset TSMS when the device is unlocked.
This ports my previous CL for InputMethodManagerService [1] to
TextServicesSettings (TSMS).

With File-Based Encryption (FBE), now we have yet another runteime event
to reset TSMS state in order to keep the list of available spell
checkers updated.

See my previous commit message [1] for details about the idea.

Rebuild spell checker list when the system becomes ready.

  [1]: Ifa2225070bf8223f8964cf063c86889e312c5e9a
       0e367d08aab2c1cb2d0fb9cbf1e8a6d09d1ac523

Bug: 27456430
Change-Id: I2b5a6989a99fd18b3bf109f5cda6270ccadaaf6d
2016-03-08 16:04:58 -08:00
Paul Mclean
70612efe65 Merge "Make native_release() methods in AudioTrack and AudioRecord JNI-callable." into nyc-dev 2016-03-09 00:00:08 +00:00
Adrian Roos
5f72c92e2b Fix flashing of the scrim
Bug: 27345657
Change-Id: I4a20d86c678a46159466b8f68fe8f429554be950
2016-03-08 15:54:38 -08:00
Shuzhen Wang
783929368b Camera2: Handle binder death on ICameraDeviceUser
Call onError(CAMERA_SERVICE) when binder death happens on ICameraDeviceUser.

Bug: 27206055
Change-Id: Ic720933d057559966556658d478ff6d3536f0e3f
2016-03-08 15:47:32 -08:00
Yohei Yukawa
49ed140176 Add copy-on-write mode to TextServicesSettings.
This ports my previous CL for InputMethodManagerService [1] to
TextServicesSettings (TSMS).

This is a preparation for File-Based Encryption (FBE) support in TSMS.

With this CL, we start switching TextServicesSettings from copy-on-write
mode to real mode and start rebuilding the list of available spell
checkers when the system becomes ready.  Anything else should be the
same.  See the previous commit message [1] for details.

  [1]: I9c6f9bb3d51174198e5f73588637f87ea0d90e11
       68645a638a

Bug: 27456430
Change-Id: Ie3d61458648df469abe149b7aaad8087c531a675
2016-03-08 15:47:18 -08:00
Yohei Yukawa
bc234bb9b6 Merge "Dump spell checker service info from TSMS." into nyc-dev 2016-03-08 23:44:23 +00:00
Steve McKay
67daccc11b Merge "Don't exit selection after sharing and copying..." into nyc-dev 2016-03-08 23:44:01 +00:00
Steve McKay
779c4d38c4 Merge "Suppress Rename tests that fail consistently..." into nyc-dev 2016-03-08 23:42:50 +00:00
Hyungtae Kim
391517e9d3 Merge "Add TV apps to AppLaunch test" into nyc-dev 2016-03-08 23:42:02 +00:00
Steve McKay
ebc3c60fb9 Merge "Show more menu items on larger devices." into nyc-dev 2016-03-08 23:29:24 +00:00
Steve McKay
da4b8aa3f1 Don't exit selection after sharing and copying...
And after canceled deletes.

Bug: 27135937
Change-Id: I2cd736ce53e15d48b6b00ed1156a2b359f1aeb42
2016-03-08 15:27:20 -08:00
Adrian Roos
2289efa6d9 Merge "Fix bug and add logging in FalsingManager" into nyc-dev 2016-03-08 23:21:52 +00:00
Yohei Yukawa
85df698df5 Dump spell checker service info from TSMS.
This is a preparation CL to make TextServicesManagerService (TSMS)
encryption-aware.

This CL changes nothing except for the output of TSMS#dump().

To diagnose File-Based Encryption (FBE) related issues, it would be
useful if we can see if each spell checker service is encryption-aware
or not.  To do that this CL updates TSMS#dump() so that it can include
the result of ResolveInfo#dump() as we have done in
InputMethodManagerService.

This CL also updates TSMS#dump() so that its output can be more
consistent with IMMS#dump().

Bug: 27456430
Change-Id: Ie2321278f1d52533a3cd74d98f1f84c950a8f6d0
2016-03-08 15:16:07 -08:00
Steve McKay
f830017bd7 Show more menu items on larger devices.
Bug: 27036292, 27406771
Change-Id: I1ceee3c69fbda33a6c51c0ff4f28e52911c1ca7d
2016-03-08 15:15:48 -08:00
Sudheer Shanka
e8cd832eea Merge "Remove RestrictedDropDownPreference class." into nyc-dev 2016-03-08 22:58:00 +00:00
Sudheer Shanka
97e89c624e Merge "Update DPM.getWifiMacAddress to take admin component as argument." into nyc-dev 2016-03-08 22:52:11 +00:00
Adrian Roos
b27f328262 Merge "Start trust agents earlier on successful unlocks" into nyc-dev 2016-03-08 22:51:38 +00:00
Jae Seo
e75f77326e Merge "TIF: Drop the requirement for ID tuple for non-broadcast channels" into nyc-dev 2016-03-08 22:49:30 +00:00
Adrian Roos
517b3a4d9f Start trust agents earlier on successful unlocks
Frequently, trust agents are not running because
a successful unlock is required for them to start.

Unfortunately, that means they were not able to receive the
successful unlock. To fix this, we'll now override
StrongAuth requirements and start agents early if we
detect a successful unlock.

Bug: 23021202
Change-Id: Ie85f78d9ce2823dd5c9b6215a52db069fb796d91
2016-03-08 14:48:24 -08:00
Paul McLean
c69ac54111 Make native_release() methods in AudioTrack and AudioRecord JNI-callable.
Change-Id: I31f8946579438021ba8f7ec58bf301a190082063
2016-03-08 15:47:35 -07:00
Aga Wronska
407e10e25f Merge "Applied Material design rules to calculate drawer width" into nyc-dev 2016-03-08 22:32:42 +00:00
Aga Wronska
5df50368ee Applied Material design rules to calculate drawer width
Bug: 27437727
Change-Id: I2f634815d5e534053e0ed7a66631df9bddf32bd5
2016-03-08 14:22:16 -08:00
Selim Cinek
c5ce69f555 Merge "Fixed a bug where the font sizes where not enforced correctly" into nyc-dev 2016-03-08 22:16:44 +00:00
Muyuan Li
6ca619fe1a Partial screenshot
Added a partial screenshot function in TakeScreenshotService
also added corresponding shortcut keys in PhoneWindowManager

Bug: 26820467
Change-Id: Id67cd3b4b0eed848eb4665056766546500bdac88
(cherry picked from commit 03e45541e9d54a2f285906ac7b5bcb374db14495)
2016-03-08 14:12:18 -08:00
Dongwon Kang
08713d2a0e Merge "TIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent" into nyc-dev 2016-03-08 22:11:13 +00:00
Suprabh Shukla
943dedaf97 Merge "Setting TaskRecord#mUserSetupComplete directly from Settings" into nyc-dev 2016-03-08 22:10:24 +00:00
Suprabh Shukla
7745c14aa0 Setting TaskRecord#mUserSetupComplete directly from Settings
TaskRecord#mUserSetupComplete flag was being set by checking
UserController#mSetupCompletedUsers which was being populated by a
callback which was getting delayed long enough for some tasks being
launched with mUserSetupComplete set to false, which is not expected for
any task other than Setup Wizard. This change checks the flag directly
from Settings before setting the property.

Bug: b/27455564
Change-Id: I9ae2e969b590a95f71002a54c7de224b26e9da79
2016-03-08 14:03:49 -08:00
Jason Monk
cf39c8de01 Merge "Flip the default on whether to keep rows together" into nyc-dev 2016-03-08 21:48:35 +00:00
Adrian Roos
37b3a4a544 Merge "Fix and optimize stripForDelivery" into nyc-dev 2016-03-08 21:47:03 +00:00