230615 Commits

Author SHA1 Message Date
Jeremy Klein
36c7aa0325 Expose a simple tethering API which includes provision checks.
This CL exposes startTethering and stopTethering functions which also
encapsulate all provisioning check logic. Right now, only silent checks
are implemented, but UI checks will come in a follow-up CL. GTS tests
and Settings changes are under the same topic ID.

BUG: 26247383
Change-Id: I65f61d899594cb3f9035d8496366af17a57a090f
2016-01-25 16:37:09 -08:00
Philipp Weiß
28950ae525 Merge "Make API createAndManageUser public" 2016-01-25 21:39:27 +00:00
phweiss
a92e1216ca Make API createAndManageUser public
Remove @hide, and add parameter for specifying profile owner. The PO
has to live in the same package as the device owner.

Bug: 25288732
Bug: 25860170
Change-Id: I40e8984a71ee9d1ff74e57d4e79e298deef9bc35
2016-01-25 22:33:52 +01:00
Felipe Leme
2216d824f6 Merge "Fixed RestrictBackgroundStatus signature by adding @hide." 2016-01-25 21:06:49 +00:00
Rakesh Iyer
2790a37e0f Move FullscreenUserSwitcher into car/
Move the full screen user switcher into the car/ directory
because it is only used there.

Bug: 26559008
Change-Id: I4f24b2029ed11be49a165be35e225e726677d37e
2016-01-25 13:00:20 -08:00
Siyamed Sinir
6feab9fb59 Merge "SpannableStringBuilder.getSpans returns array with null values." 2016-01-25 20:57:16 +00:00
Dianne Hackborn
bfb94e21d3 Merge "Add and implement JobScheduler content observer APIs." 2016-01-25 20:34:41 +00:00
Jason Monk
d7ecd381e4 Merge "Re-add support for the app shelf" 2016-01-25 20:16:14 +00:00
Jason Monk
4f878ef5cc Re-add support for the app shelf
Accidentally broken as a part of tuner customization of the nav bar.
Now supported for inflation.

Change-Id: Id097fb48d1d77aa37518246cca8c7a9494de2af2
2016-01-25 15:15:24 -05:00
Felipe Leme
ecfcceaecb Fixed RestrictBackgroundStatus signature by adding @hide.
BUG: 26082535
Change-Id: I2e4b63327a8f791db01ee0c1ab090557170857fa
2016-01-25 12:09:03 -08:00
Siyamed Sinir
3a789f657b SpannableStringBuilder.getSpans returns array with null values.
This CL fixes the case where SpannableStringBuilder.getSpans call
forgot to check the case where sort is false, and the span priority
is not set.

Bug: 26761571

Change-Id: I3a548b9c01768e6977a0ff15d6ecb8ca9ec3c075
2016-01-25 11:32:37 -08:00
Mitchell Wills
12eef9f18a Updates for gscan HAL updates in N
am: c90855d7a9

* commit 'c90855d7a9f3ebd300de4dad9842cd6771ff27d1':
  Updates for gscan HAL updates in N
2016-01-25 19:12:55 +00:00
Wale Ogunwale
5a5877d52e Merge "Removed handling of layoutDirection configuration change" 2016-01-25 19:04:20 +00:00
Wale Ogunwale
133f299c16 Removed handling of layoutDirection configuration change
We thought this was required for resizing, but it isn't.

Bug: 26742139
Change-Id: I2b25ac8b188f8cafaf9d7472f79ca947cfe824c0
2016-01-25 10:49:13 -08:00
John Reck
83b09fb919 Merge "Validate Region.orSelf arguments" 2016-01-25 18:45:15 +00:00
Sandra Kwan
1ebdb21753 Merge "AccountManager: add finishSessionAsUser api." 2016-01-25 18:40:51 +00:00
John Reck
25f0dc440d Validate Region.orSelf arguments
Bug: 26611248

libui.so has int overflow sanitization enable, so
validate that we have "reasonable" looking floats
before trying to orSelf the Region.

Change-Id: I135ef7be82e7abaa9aa569224c2799612847cd03
2016-01-25 10:37:52 -08:00
Jason Monk
76c70c8f5c Merge "Fix crash on bug report" 2016-01-25 18:35:09 +00:00
Wale Ogunwale
2ced3d531c Merge "Don't keep visible windows in pinned stack on screen when app dies" 2016-01-25 18:24:58 +00:00
Dimitry Ivanov
844ccc5ad9 Merge "Remove path to the apk from the permittedPath" am: 5194d217b8
am: e057ed6b6b

* commit 'e057ed6b6bd9d71d034f4cdf5a1edc05f8b63a40':
  Remove path to the apk from the permittedPath
2016-01-25 18:21:52 +00:00
Wale Ogunwale
3fd20fe8d8 Don't keep visible windows in pinned stack on screen when app dies
We previously introduced logic that keeps an apps visible windows on
screen when the app dies. This was to help with the situation where
freeform apps might be killed by the low memory killer and we want
to preserve the space on screen and relaunch the app when the user
interacts with the window again.
However, this doesn't work for windows in the pinned stack since
they an normally not focusable/interactable.
We no longer do this for windows in the pinned stack.

Bug: 24913379
Bug: 26609941
Change-Id: Ie2e7f7d7c7a8c0ef6c1662517f558c385201c433
2016-01-25 18:20:40 +00:00
Chad Brubaker
d321954f72 Merge "Add getApplicationConfigForPackage" am: 7519dce8c2
am: 8500093a35

* commit '8500093a351c40fdd2077fcd724396f72b51d3ba':
  Add getApplicationConfigForPackage
2016-01-25 18:18:39 +00:00
Dimitry Ivanov
e057ed6b6b Merge "Remove path to the apk from the permittedPath"
am: 5194d217b8

* commit '5194d217b81f7375f4d60c35b604bac8bffc51e7':
  Remove path to the apk from the permittedPath
2016-01-25 18:16:44 +00:00
Chad Brubaker
8500093a35 Merge "Add getApplicationConfigForPackage"
am: 7519dce8c2

* commit '7519dce8c2742b8abcc884a930552c8372b777fd':
  Add getApplicationConfigForPackage
2016-01-25 18:14:39 +00:00
Sandra Kwan
0b84b456a7 AccountManager: add finishSessionAsUser api.
Change-Id: I9a08d957a9b25be4c6cf12e4ed35cdc0bfbb8605
2016-01-25 10:09:20 -08:00
Dimitry Ivanov
5194d217b8 Merge "Remove path to the apk from the permittedPath" 2016-01-25 18:04:18 +00:00
Chad Brubaker
7519dce8c2 Merge "Add getApplicationConfigForPackage" 2016-01-25 18:03:13 +00:00
Robin Lee
ab83fd5739 Merge "DPMS organisation API - Add a missing checkNotNull" 2016-01-25 18:02:40 +00:00
Jason Monk
25d3a437d5 Fix crash on bug report
Bug: 26766534
Change-Id: I5b76ac8911eef960028cceb40e54f76ea998024a
2016-01-25 13:00:44 -05:00
Philipp Weiß
5f09616e6b Merge "Add new API function createAndManageUser" 2016-01-25 18:00:27 +00:00
Maria Garcia Puyol
2c6ffba900 Merge "Add constants for EmergencyInfo app." 2016-01-25 17:56:06 +00:00
Rubin Xu
e6e907ea09 Merge "Show dialog when launching work apps is not possible." 2016-01-25 17:51:22 +00:00
Robin Lee
d48788c101 DPMS organisation API - Add a missing checkNotNull
Corrects a failing test.

Change-Id: I6be8a23caef53d1e9681733e5b340237952bd3e5
2016-01-25 17:49:35 +00:00
mariagpuyol
64916b72fa Add constants for EmergencyInfo app.
Bug: 23591361
Bug: 26688835
Change-Id: If1039356468d173522132df252e81807cdc756c8
2016-01-25 09:43:30 -08:00
Geoff Mendal
6d66e55dda Merge "Import translations. DO NOT MERGE" 2016-01-25 17:43:26 +00:00
Geoff Mendal
ccec507990 Import translations. DO NOT MERGE
Change-Id: I46b3169c14c0f30697eaa3e200b8bbf856f558b5
Auto-generated-cl: translation import
2016-01-25 18:39:25 +01:00
Rubin Xu
795c458c89 Merge "Turn off profile by stopping the user." 2016-01-25 17:33:43 +00:00
Svetoslav Ganov
a3a1ea3dbe Merge "Clear binder calling identity before mutating secure settings." 2016-01-25 17:24:02 +00:00
Adrian Roos
4afbe99127 Merge "Improved trust error messaging (1/2)" 2016-01-25 17:20:11 +00:00
Felipe Leme
0f9f67132c Merge "Fixed javadoc so @hide annotations don't show up in the API." 2016-01-25 17:13:51 +00:00
Svet Ganov
81fcf7037b Clear binder calling identity before mutating secure settings.
The accessibility manager service changes secure settings without
clearing binder calling identnty. Luckily it worked for a long
time as the calls resulting in a secure setting change were not
made on a binder thread. Now we clear calling identity before
mutating secure settings - note that we alsways do this after
a security check, hece it is safe.

bug:26766532

Change-Id: Icb188e6de1a134f38de0bdb23c67fa4ff2806ba4
2016-01-25 09:12:44 -08:00
Andres Morales
56efa64d62 Merge "stash FrameStatsObservers when mAttachInfo is null" 2016-01-25 16:51:37 +00:00
Andres Morales
214a137209 Merge "expose hwui frame stats through FrameStatsObserver" 2016-01-25 16:51:14 +00:00
Chris Wren
36c297f426 Merge "a step toward enforcing unique metrics log IDs" 2016-01-25 16:37:55 +00:00
Tom Hudson
241828e8c7 Merge "Replace SkALWAYSBREAK with equivalent Android macros." 2016-01-25 16:33:59 +00:00
Rubin Xu
f13c980169 Turn off profile by stopping the user.
Bug: 22541941
Change-Id: I713ab9b87f3dd1b7bd6206af137562d20a44d76d
2016-01-25 16:29:29 +00:00
Adrian Roos
67a55fdb05 Merge "Prevent crash and ANR dialogs in VR mode" 2016-01-25 16:24:24 +00:00
Chris Wren
77781d3aaa a step toward enforcing unique metrics log IDs
First of several change lists:
1. Add in the new proto (this CL)
2. Migrate the existing code over to the proto.
3. Remove MetricsConstants once it is unused.

Bug: 26442178
Change-Id: Ic24829246af8ec5b202e39a85960aac5cf336c33
2016-01-25 11:24:08 -05:00
Niels Egberts
cac707dc1d Merge "API to listen in on the synthesized audio." 2016-01-25 16:19:10 +00:00
Adrian Roos
c13723f22e Improved trust error messaging (1/2)
Tracks why trust agents are disabled and shows
a generic message on the keyguard. Dedicated strings
in follow-up.

Bug: 22704995
Change-Id: Ibb4fd9c9386c4dc12f0734004502b9a9cc6ded79
2016-01-25 08:04:42 -08:00