Commit Graph

38778 Commits

Author SHA1 Message Date
Alexandra Gherghina
d6babbb6ce Merge "Per-user API for master sync" 2014-07-17 19:51:18 +00:00
Sreeram Ramachandran
b39fcda2ea am bf4a734a: am bae0d23d: am 4463fd65: Merge "Fix WiFi-Direct." into lmp-dev
* commit 'bf4a734ae78e9b39bf3a81f6ac63dc785fade1a0':
  Fix WiFi-Direct.
2014-07-22 19:01:08 +00:00
Sreeram Ramachandran
e0d713afdc am bae0d23d: am 4463fd65: Merge "Fix WiFi-Direct." into lmp-dev
* commit 'bae0d23df8e1461168e229e170247433a3a3ab38':
  Fix WiFi-Direct.
2014-07-22 18:57:59 +00:00
Craig Mautner
7e949f74b2 am 4dbb0aab: am 581feb87: am 90ac517c: Create API for launching from recents
* commit '4dbb0aabb98986ed8105f85d6d46c6d4b2f78408':
  Create API for launching from recents
2014-07-22 18:27:45 +00:00
Craig Mautner
91bf127892 am 581feb87: am 90ac517c: Create API for launching from recents
* commit '581feb87f8a0bcfd14b2b28fd9f06f4e162f10b6':
  Create API for launching from recents
2014-07-22 18:22:10 +00:00
Craig Mautner
dc00cbe2c1 Create API for launching from recents
Relaunch apps from recents using the same uid and package as was used
in the original launch.

Fixes bug 16358208.

Change-Id: I340800bfee79926b197929360d69f1d570bbf1eb
2014-07-22 18:13:34 +00:00
George Mount
7ba9cd3192 am a521d3b6: am 8793b878: am 094d74f4: API Council: Change docs and constant names.
* commit 'a521d3b6f38883363d6c5dff411652150a5dd991':
  API Council: Change docs and constant names.
2014-07-22 17:46:35 +00:00
Yin-Chia Yeh
f87b8411b6 am bad7d762: am 476e6a8e: am cca8d422: camera2: minor doc update
* commit 'bad7d76213d318372d04d0d35c2b4a21258e95be':
  camera2: minor doc update
2014-07-22 17:46:21 +00:00
George Mount
61afeca09f am 8793b878: am 094d74f4: API Council: Change docs and constant names.
* commit '8793b878d247e63151293d54a02a2c82004887cd':
  API Council: Change docs and constant names.
2014-07-22 17:39:10 +00:00
Yin-Chia Yeh
acf705c796 am 476e6a8e: am cca8d422: camera2: minor doc update
* commit '476e6a8eecc8d2991e115298135e731e7341dce0':
  camera2: minor doc update
2014-07-22 17:38:57 +00:00
Sandeep Siddhartha
75ed8fce86 am 9b3d0d9e: am 9f0b328e: am 8672899c: Merge "AlwaysOnHotwordDetector needs to reflect enrollment changes" into lmp-dev
* commit '9b3d0d9e23d5fbb9c2cf07706fcf1884a59078d7':
  AlwaysOnHotwordDetector needs to reflect enrollment changes
2014-07-22 17:32:44 +00:00
George Mount
ad88e1b1b2 API Council: Change docs and constant names.
Bug 16401545

Changed doc for ChangeImageTransform.
Changed IN/OUT to MODE_IN/MODE_OUT.
Changed mode to flag attribute.
Change-Id: Ia2ae9930f9725871c9b1d80b758a3a0808a8f0c6
2014-07-22 17:29:14 +00:00
Yin-Chia Yeh
f8f37002c0 camera2: minor doc update
Doc update reflecting the minor spec change.

Change-Id: I7a1cf766fe6bee4dd08fd19f03778ce8a6ce2dde
2014-07-22 17:26:30 +00:00
Sandeep Siddhartha
6efdcebaa3 am 9f0b328e: am 8672899c: Merge "AlwaysOnHotwordDetector needs to reflect enrollment changes" into lmp-dev
* commit '9f0b328e04f62c584cd34c33e0b922628933a5de':
  AlwaysOnHotwordDetector needs to reflect enrollment changes
2014-07-22 17:17:46 +00:00
Sreeram Ramachandran
a77760d74a Fix WiFi-Direct.
Add a new command to let netd know about routes on a p2p interface.

Bug: 15413694

Change-Id: I36effc438d5ac193a77174493bf196cb68a5b97a
2014-07-22 11:24:29 -07:00
Neil Fuller
cc7c4f8824 am 1a429047: am fc6346d4: Merge "Rewriting android.text.format.Time without the native _tz functions"
* commit '1a4290473df0f583dff5cb2b5856465e5e27d1c7':
  Rewriting android.text.format.Time without the native _tz functions
2014-07-22 15:34:09 +00:00
Neil Fuller
1a4290473d am fc6346d4: Merge "Rewriting android.text.format.Time without the native _tz functions"
* commit 'fc6346d461c9ed9b499643db830885241cc82838':
  Rewriting android.text.format.Time without the native _tz functions
2014-07-22 15:29:08 +00:00
John Spurlock
ea025088e9 am 8028a5a8: am 752dc6e1: New NotificationListenerService listener flags api.
* commit '8028a5a8a3f17e54fe6a5d28c50683def1473b9c':
  New NotificationListenerService listener flags api.
2014-07-22 13:56:34 +00:00
Jinsuk Kim
ec25af3fb3 am 0b6aeed0: am 68bc0359: Define a constant for HDMI-CEC logical address used for internal source
* commit '0b6aeed02e25756c85beea03ce74f52b8a89377a':
  Define a constant for HDMI-CEC logical address used for internal source
2014-07-22 13:56:26 +00:00
Narayan Kamath
b0490cdefe am b5c714fc: am e242111c: Merge "Remove copy of Locale.adjustLanguageCode."
* commit 'b5c714fca79028116db0b00157dc09616efeaa95':
  Remove copy of Locale.adjustLanguageCode.
2014-07-22 13:49:36 +00:00
Narayan Kamath
b5c714fca7 am e242111c: Merge "Remove copy of Locale.adjustLanguageCode."
* commit 'e242111c5dc63e1cbba41d2341b493cb9c064589':
  Remove copy of Locale.adjustLanguageCode.
2014-07-22 13:30:41 +00:00
John Spurlock
1fa865f396 New NotificationListenerService listener flags api.
Give activated listeners the ability to request changes to
listener-level or host-level state.

Currently this consists of the ability to suppress notification alerts
(alerts = the haptic / audio feedback of a notification).

Bug:15888672
Change-Id: I045e3b99d1f15e3f96ebaf17d3083a97e02ecb42
2014-07-22 07:24:22 -04:00
Jinsuk Kim
29a5d26207 Define a constant for HDMI-CEC logical address used for internal source
Change-Id: Ic7d6a5378361d7ed8ae4b635312b956b063fc95a
2014-07-22 07:37:45 +00:00
Dianne Hackborn
33f5ddd1be Add permissions associated with app ops.
Change-Id: I575ad7a3ceea59486ca601f69760b14f6269511d
2014-07-21 20:15:59 -07:00
Adam Powell
f1489c75f6 Merge "Allow focusable in touch mode views to ignore touchscreen focus blocks" into lmp-dev 2014-07-19 22:40:06 +00:00
Jeff Brown
970d4132ea Allow dreams to control screen state and brightness.
Added setDozeScreenState() and setDozeScreenBrightness() methods to
DreamService.  The values specified here only take effect once
startDozing is called and can be changed while dozing.

This required some significant rework of the display power controller
but the result seems quite nice and better represents the policy
we want to apply.

Changed the test dream a little bit to make it flash the screen
every minute using the new functions.

Bug: 15903322
Change-Id: I83bcc34503f1b87727d2b2b3c0ef08507f9f0808
2014-07-22 01:18:26 +00:00
Adam Powell
88c11754c1 Allow focusable in touch mode views to ignore touchscreen focus blocks
Bug 16284253

Change-Id: I7cddf1988b0c24ae3050a13d2ce6fb3143d8aade
2014-07-21 18:12:34 -07:00
Alan Viverette
06da1b1ceb Remove unused quick setting display preferences
BUG: 16303790
Change-Id: I0772228aac5a743b9780853c5825252c148b8b5c
2014-07-22 01:04:19 +00:00
Alan Viverette
4f64c04850 Clean up view tinting APIs, tileModeX/Y attribute docs
BUG: 16400590
BUG: 16403307
Change-Id: Ie924815a39eb0e683d1982b08ec478ed3edbfb7b
2014-07-22 01:03:58 +00:00
Amith Yamasani
9c44933958 API Review: Improvements to RestrictionsManager API
Use an activity intent for local approval instead of a type.
Use PeristableBundle instead of Bundle.
Pass requestId as an explicit argument in cases where it's required.

Bug: 16400892
Change-Id: Id882033f17c39aa9cd63a7eeb73bb7b51f98cf5b
2014-07-22 00:03:39 +00:00
Amith Yamasani
e5bcff624f Rename setApplicationBlocked to setApplicationHidden
This corrects the expected behavior of the app state. Hidden apps
can be installed by the store to be brought out of hidden state.

Bug: 16191518
Change-Id: Id128ce971ceee99ba1dea14ba07ce03bd8d77335
2014-07-21 22:18:40 +00:00
Alan Viverette
340c98cae8 Merge "Always apply surface insets" into lmp-dev 2014-07-21 15:42:19 +00:00
Alan Viverette
ac89416c77 Always apply surface insets
Change-Id: I9d8ad0c7fcf7a1016e01c2332f45614da5d2cf0c
2014-07-21 12:10:30 -07:00
Craig Mautner
2cfeb1ac39 Merge "Don't create a delegate for null callbacks." into lmp-dev 2014-07-21 15:42:19 +00:00
Craig Mautner
3d0c57a1d3 Don't create a delegate for null callbacks.
ActivityView does not create callbacks for the VirtualDisplay. This
leads to setting Looper.myLooper() from a Binder thread which
leads to NPE when trying to dereference its message queue.

Fixes bug 16386002.

Change-Id: I12760a22075ed4770f3fe960763e0135fe095cfe
2014-07-21 14:33:47 -07:00
Adam Powell
33a234b3b0 Merge "Sort ResolverActivity items based on UsageStats" into lmp-dev 2014-07-21 15:42:19 +00:00
Adam Powell
09a65601b2 Sort ResolverActivity items based on UsageStats
Sort targets by the total amount of time the user has spent with their
containing package in the foreground.

Bug 15694906

Change-Id: I63c956424f78eb22911517674dfefd96901d19f8
2014-07-20 17:12:13 -07:00
Craig Mautner
1716baa6d3 Merge "Rename flag and attribute per API council" into lmp-dev 2014-07-21 15:42:19 +00:00
Craig Mautner
7f72f53704 Rename flag and attribute per API council
ActivityInfo.DO_NOT_PERSIST => PERSIST_NEVER.
android:persistableMode="doNotPersist" => "persistNever".

Fixes bug 16400594.

Change-Id: I94d25f7d2e3dc453b1251c89bce8c210a65dc331
2014-07-21 10:07:12 -07:00
Jean-Michel Trivi
e9111d3067 Merge "API for audio session ID generation" into lmp-dev 2014-07-19 22:40:06 +00:00
Jean-Michel Trivi
289cc8e887 API for audio session ID generation
Expose the value used by the framework to generate an audio
 session ID when a value isn't known.
Rename allocateAudioSessionId() to generateAudioSessionId()
 as this operation doesn't "allocate" anything, and there is
 no allocated resource to free after this operation.

Bug 16401631

Change-Id: I7a7bc05b39ea0b024ff225254eb755a9c85a2ad9
2014-07-20 11:25:48 -07:00
Sandeep Siddhartha
6daae96226 AlwaysOnHotwordDetector needs to reflect enrollment changes
Add a callback for when any sound model change happens. This helps the VIS
to re-check the availability and either enroll the user, or start/stop recognition.

Also shut down any active recognition when VIS dies, or a different hotword detector instance is obtained from VIS.

Change-Id: I03f94e78c6ee307afe822a84aebc7e74c64de7b4
2014-07-22 09:16:18 -07:00
Neil Fuller
fc6346d461 Merge "Rewriting android.text.format.Time without the native _tz functions" 2014-07-17 22:36:58 +00:00
Neil Fuller
d7f0849b8c Rewriting android.text.format.Time without the native _tz functions
Bug: 15765976
Change-Id: I666b72ecf9da8a9dcfb97cc503006b415909a558
2014-07-22 15:06:16 +01:00
Narayan Kamath
1d31a5f824 Remove copy of Locale.adjustLanguageCode.
Change-Id: Iba8c67890f95d50fadcd1245dc083d646fe6bcc1
2014-07-18 16:09:36 +01:00
Andres Morales
1e586e08bf Don't register PDBService if not available on device
Bug: 16455896
Change-Id: If576ce8e837ba498f10848795706efb29e76974a
2014-07-21 12:16:32 -07:00
Neil Fuller
5a5f8ca870 am 2b49b6af: am 1a429047: am fc6346d4: Merge "Rewriting android.text.format.Time without the native _tz functions"
* commit '2b49b6afa60724c8ad0383e732b116fffa6b1758':
  Rewriting android.text.format.Time without the native _tz functions
2014-07-22 16:13:26 +00:00
John Spurlock
015fe21e2f am 8a497588: am 8028a5a8: am 752dc6e1: New NotificationListenerService listener flags api.
* commit '8a497588b3df725c87ca4f684e15578ef7b4bfe9':
  New NotificationListenerService listener flags api.
2014-07-22 14:14:29 +00:00
Jinsuk Kim
a2792caec5 am 2142f849: am 0b6aeed0: am 68bc0359: Define a constant for HDMI-CEC logical address used for internal source
* commit '2142f8494c6496a21b508d85d16c2c34afe12c1f':
  Define a constant for HDMI-CEC logical address used for internal source
2014-07-22 14:14:20 +00:00
Narayan Kamath
fbc5b48568 am acd4f7cf: am b5c714fc: am e242111c: Merge "Remove copy of Locale.adjustLanguageCode."
* commit 'acd4f7cf37487c55c6b15aa40f2da57b542dcebb':
  Remove copy of Locale.adjustLanguageCode.
2014-07-22 13:53:12 +00:00