Commit Graph

54812 Commits

Author SHA1 Message Date
Alan Viverette
34929e2965 Merge "Don't set date picker dialog title on date changed" 2016-01-15 19:19:38 +00:00
Selim Gurun
e61e5af42a Merge "Add the TokenBindingManager" 2016-01-15 19:08:49 +00:00
Alan Viverette
a884fbeed9 Merge "Remove delay before performing drop down item click" 2016-01-15 19:04:40 +00:00
Christopher Tate
e9fd1fa31a Back up / restore runtime permission grants
Only user-originated grant actions are backed up/restored.  This
includes outright grants, one-time denials, and "never ask again"
type denials.

Bug 19870549

Change-Id: I78b4a8abb713dc5d74b93cb53217b212d57b26e4
2016-01-15 10:44:48 -08:00
Chong Zhang
bd925dac2d Merge "Fix missing dialog windows" 2016-01-15 18:24:09 +00:00
Selim Gurun
57eb3264c9 Add the TokenBindingManager
Bug: 22665752

Add the webview APIs to manage token binding protocol keys.

Change-Id: Ie2eae543869b1ae91cdb4e70217c28b9a8a465cf
2016-01-15 10:19:38 -08:00
Julia Reynolds
f4fb94ceab Merge changes I1149cb5b,Ib89a17aa
* changes:
  Allow condition providers to specify a rule instance limit.
  Verify zen rule owners before persisting rules.
2016-01-15 16:43:57 +00:00
Trevor Bunker
3c288e6f2e Define TYPE_DEVICE_ORIENTATION
Bug: 23470411
Change-Id: Iceba2656936525c655f23fb00bb77521c432ba6a
2016-01-15 16:40:07 +00:00
Philip P. Moltmann
d55ece0b38 Merge "Enforce non-nullness in PrinterId and exploit it." 2016-01-15 16:38:17 +00:00
Clara Bayarri
4bfa55d4c2 Merge "Protect TrustManager.setDeviceLockedForUser with permission" 2016-01-15 16:00:45 +00:00
Julia Reynolds
43b70cdc39 Allow condition providers to specify a rule instance limit.
Bug: 25563007
Change-Id: I1149cb5be59668f8869c81cb46c5ead49aec933a
2016-01-15 10:30:17 -05:00
Clara Bayarri
00a9b89085 Protect TrustManager.setDeviceLockedForUser with permission
Bug: 26535793
Change-Id: I172f1ec7d9285213ecd70564728c7328a3a675ff
2016-01-15 15:19:36 +00:00
Benjamin Franz
d5002c1244 Merge "Introduce new intent action to set parent challenge" 2016-01-15 14:04:00 +00:00
Shreyas Basarge
17971e383f Merge "Added priority to JobScheduler scheduling" 2016-01-15 13:54:08 +00:00
Benjamin Franz
c992109885 Introduce new intent action to set parent challenge
Introduce a new intent action that triggers setting of the challenge of
the parent user. The existing intent action is repurposed to always
trigger setting the challenge of the calling user.

Change-Id: Ia7afe268b2de95537bed5bbb57163fd23bb55b6a
2016-01-15 11:39:16 +00:00
Chong Zhang
f6525ceebc Fix missing dialog windows
Use the size in the configuration (not the display size) to set the
dialog size.

bug: 26490549
Change-Id: I8e17482ddcc39fae1d6fd7b0a8e1954b21dac5c8
2016-01-14 17:30:22 -08:00
Etan Cohen
3da7357951 Merge "NAN: baseline NAN manager for discovery." into mm-wireless-dev
am: e540b64aaf

* commit 'e540b64aaf58460f7930a5e4937cee660215c948':
  NAN: baseline NAN manager for discovery.
2016-01-15 01:29:48 +00:00
Yohei Yukawa
f1fc5a0fe8 Merge changes Ib5ea8131,I571d6cc9
* changes:
  Add a new API IMM#dispatchKeyEventFromInputMethod().
  BaseInputConnection shouldn't rely on @hide APIs.
2016-01-15 01:23:09 +00:00
Victor Chang
a6aee6bf73 Merge "Add Directory.ENTERPRISE_FILE_URI" 2016-01-15 00:45:47 +00:00
Alan Viverette
bc490ca283 Don\'t verify the scrollbar drawable am: a53c3b2197 am: ca6b87fea6
am: c8ef3f8730

* commit 'c8ef3f8730d20541e8f01f500c380fa09aa3853c':
  Don't verify the scrollbar drawable
2016-01-15 00:21:22 +00:00
Jakub Pawlowski
2fc6e6bfd2 Implementation of BluetoothDevice.createBondOutOfBand
This patch implements out of band pairing that uses optional data.
Currently, it works only for LE transport, using Temporary Key value.
In the future fields might be added to OOBData to support other options for
optional data.

Change-Id: I0811182efb72ac5f80521ed4876b32603cb628c1
2016-01-15 00:01:02 +00:00
Philip P. Moltmann
cdf2b40034 Enforce non-nullness in PrinterId and exploit it.
Change-Id: Ifdf3b2329548a665d609dd66b738baab5c765b54
2016-01-14 15:59:44 -08:00
Makoto Onuki
6dc6b89962 Merge "Remove the index columns from the blocked provider." 2016-01-14 23:48:36 +00:00
Winson
3e87474145 Improving drag and drop animations.
- Expanding drop targets to indicate the size of the to-be docked window
- Fixing animation when dropping task
- Fixing drag view z order
- Fixes issue where the dock divider position in WM is not exact
- Requiring user to move the slop distance before accepting drops

Change-Id: I2f6eab504db7126c19e0c680629e89a39e7512e3
2016-01-14 15:23:20 -08:00
Alex Klyubin
224af9e3f8 Merge "Verify APKs using APK Signature Scheme v2." 2016-01-14 23:14:46 +00:00
Philip P. Moltmann
cde1c2a717 Merge "Clean up API for PrinterInfo." 2016-01-14 22:51:39 +00:00
Tor Norbye
ab3bdf0984 Merge "Fix @IntDef annotation javadoc" 2016-01-14 22:38:28 +00:00
Sanket Agarwal
1bec6a5b0d Add support for AVRCP 1.3.
* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
  initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
  A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
  A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0
2016-01-14 21:59:33 +00:00
Alan Viverette
c8ef3f8730 Don\'t verify the scrollbar drawable am: a53c3b2197
am: ca6b87fea6

* commit 'ca6b87fea6b16e38f8bbbd514d3cf07361a5feba':
  Don't verify the scrollbar drawable
2016-01-14 21:49:09 +00:00
Alan Viverette
ca6b87fea6 Don\'t verify the scrollbar drawable
am: a53c3b2197

* commit 'a53c3b2197b73d5b6a697ae2077e04065df84d9e':
  Don't verify the scrollbar drawable
2016-01-14 21:44:31 +00:00
George Mount
1de0e6406a Merge "Fix crash in forceViewsToAppear" 2016-01-14 21:43:13 +00:00
George Mount
5fddd4ca58 Fix crash in forceViewsToAppear
Bug 26549234

Change-Id: I57cfc8ea8831d46a2846b36b2ac4acff2112b414
2016-01-14 13:40:18 -08:00
Victor Chang
dc0406d03e Add Directory.ENTERPRISE_FILE_URI
Add Directory.ENTERPRISE_FILE_URI to allow access
photo in work-side remote directory

BUG=25981851

Change-Id: I449e0ffcdf9acd6ee9a83d9067f58c41a3e75f02
2016-01-14 21:08:31 +00:00
Alan Viverette
a53c3b2197 Don't verify the scrollbar drawable
Avoids infinite invalidations caused by re-use of scrollbar drawable
during a single draw() pass. Does not address the general problem of
drawable reuse causing unnecessary invalidations as a result of calls
to setBounds() invoking invalidateSelf().

Bug: 26533725
Change-Id: I99e9c2dfe4ddfc833569e40e7268dcb03e931fc9
2016-01-14 21:07:13 +00:00
Philip P. Moltmann
c2ad22663b Clean up API for PrinterInfo.
- Make immutable
- Check parameters
- Check state while unparcelling

Change-Id: I13959845ca508936331488506380e894f49abf25
2016-01-14 12:48:31 -08:00
Yohei Yukawa
e36c8078c4 Merge "Introduce SuggestionSpan#getLocaleObject()." 2016-01-14 20:36:53 +00:00
Yohei Yukawa
60fbc8e3bb Introduce SuggestionSpan#getLocaleObject().
This is a series of CLs to promote Java Locale object as a primary data
object to represent locale information in Android APIs.

With this CL, developers can get Locale information from SuggestionSpan
without semantically losing the original data.  Possible use cases would
be:
 - Emoji subtag (CLDR Ticket #9063)
 - Stable and reliable 3-letter country codes handling
 - Custom attributes based on private extensions.

Note that this CL does not change the current behavior of
SuggestionSpan#getLocale() as is, even if it is created with a malformed
Locale object:

  new SuggestionSpan(new Locale(" a ", " b c ", " e"), new String[0], 0)
          .getLocale() -> " a  b c  e".

Bug: 22858221
Change-Id: I96dfd4f819a236ee2e6dbd3e12903d1214223cb0
2016-01-14 12:16:06 -08:00
Makoto Onuki
1abb57b06e Remove the index columns from the blocked provider.
Bug 26232372

Change-Id: Ic72d4b7cee2158ad544b4375a382597c110debf6
2016-01-14 11:39:33 -08:00
Etan Cohen
20d329b08d NAN: baseline NAN manager for discovery.
Initial framework for user API (all @hide for now). Supports:
- NAN configuration
- Publish/Subscribe = Discovery
- Message passing
- Notifications

Bug: 26216681
Change-Id: I72e467756a02f7b80c52fae916b9a47c8174af42
2016-01-14 11:34:07 -08:00
Chris Tate
16548a3ef8 Merge "Don't full-data back up apps in foreground-equivalent state" 2016-01-14 19:15:42 +00:00
Shreyas Basarge
5db09084c8 Added priority to JobScheduler scheduling
Priority can be assigned to jobs. Higher priority
jobs can preempt lower priority ones. Reason for
calling onStopJob (timeout, preempt, etc.) is set
on the JobParameters object.

Reference:
https://docs.google.com/document/d/1fuVO5rBCkODx8wjk6uulFCP1Uzfx7IVsw2EyKKrGqVA

Change-Id: Ic36016514cec076984d44086316d8d00d896b3aa
2016-01-14 19:09:03 +00:00
Christopher Tate
63fec3ef1a Don't full-data back up apps in foreground-equivalent state
We have to kill the app and bring it up in a controlled lifecycle mode
in order to do full-data backup, and if it's e.g. playing media, this
is hugely disruptive.  Instead, we now check whether an app being
considered for full-data backup is in a user-observable state, and
defer its backup if so.  We don't kick it all the way down the
daily-backup cycle in this situation -- we set it up to retry the
backup in just a few hours.

Bug 25960428

Change-Id: I576f25c6fb07545565f59bd685624c612b9c5ffd
2016-01-14 11:03:36 -08:00
Fyodor Kupolov
4ae95e5ab9 Merge "Explicitly pass userId to getWindowToken" 2016-01-14 18:37:18 +00:00
George Mount
0f5fd2d870 Merge "Add IntDefs for Animator and Transition classes." 2016-01-14 16:21:27 +00:00
Alan Viverette
388eb91c12 Merge "Clean up CalendarView docs and annotations" 2016-01-14 16:17:26 +00:00
Alan Viverette
dbea715a1f Merge "Clean up night mode documentation" 2016-01-14 16:16:30 +00:00
Alan Viverette
4bf96caa84 Merge "Apply menu callbacks to existing Toolbar menu view" 2016-01-14 16:16:00 +00:00
Robin Lee
b68d2d5b68 Merge "Always-on app VPNs" 2016-01-14 11:37:18 +00:00
Chenjie Luo
5ffb219d80 Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96 am: d5cea64d8d am: 7034a6e2d0
am: af8c1b8f94

* commit 'af8c1b8f943f2c616c75da83b44063ae3a5f556f':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys
2016-01-14 06:13:43 +00:00
Chenjie Luo
af8c1b8f94 Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96 am: d5cea64d8d
am: 7034a6e2d0

* commit '7034a6e2d05c45c437bef6150bcc70b58b3ccb3b':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys
2016-01-14 02:34:53 +00:00