Commit Graph

57166 Commits

Author SHA1 Message Date
Peng Xu
9f09d21b00 Merge "Exposing Context Hub service." into nyc-dev am: ac329d3
am: f3882c8

* commit 'f3882c8633edafbc072713033627582934491b32':
  Exposing Context Hub service.
2016-03-16 17:30:38 +00:00
Peng Xu
f3882c8633 Merge "Exposing Context Hub service." into nyc-dev
am: ac329d3

* commit 'ac329d3e34e99e10243906d32cc4e36c626ac8ee':
  Exposing Context Hub service.
2016-03-16 17:28:16 +00:00
Ashutosh Joshi
ac329d3e34 Merge "Exposing Context Hub service." into nyc-dev 2016-03-16 17:21:33 +00:00
Anna Galusza
447a103542 Merge "Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687" into nyc-dev am: bc28494
am: 0a2d737

* commit '0a2d73721a560a5f68d137d4bed3e5700375aae4':
  Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687
2016-03-16 17:14:43 +00:00
Anna Galusza
0a2d73721a Merge "Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687" into nyc-dev
am: bc28494

* commit 'bc2849449b3478d71cae34a069f07c70b747bbb8':
  Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687
2016-03-16 17:12:26 +00:00
Anna Galusza
bc2849449b Merge "Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687" into nyc-dev 2016-03-16 17:07:49 +00:00
Julia Reynolds
2de0733190 Merge "Prevent apps without DND access from toggling DND via AudioService." into nyc-dev am: af56824
am: 0fb0f9a

* commit '0fb0f9a7a6f0b051b976c01c3dcf21b92bacd059':
  Prevent apps without DND access from toggling DND via AudioService.
2016-03-16 16:55:12 +00:00
Julia Reynolds
0fb0f9a7a6 Merge "Prevent apps without DND access from toggling DND via AudioService." into nyc-dev
am: af56824

* commit 'af56824e35341f46418c39e47b6855223a446c63':
  Prevent apps without DND access from toggling DND via AudioService.
2016-03-16 16:53:02 +00:00
Julia Reynolds
af56824e35 Merge "Prevent apps without DND access from toggling DND via AudioService." into nyc-dev 2016-03-16 16:48:33 +00:00
Esteban Talavera
4a23dd030a Merge "Clarified documentation as requested by API review" into nyc-dev am: 5fbfa1b
am: b9a69c6

* commit 'b9a69c622b727e662d419815c2e091a7a47d2c0d':
  Clarified documentation as requested by API review
2016-03-16 14:30:09 +00:00
Esteban Talavera
b9a69c622b Merge "Clarified documentation as requested by API review" into nyc-dev
am: 5fbfa1b

* commit '5fbfa1b0d203296d624f9c2317c309c0e02b468e':
  Clarified documentation as requested by API review
2016-03-16 14:27:50 +00:00
Esteban Talavera
5fbfa1b0d2 Merge "Clarified documentation as requested by API review" into nyc-dev 2016-03-16 14:24:40 +00:00
Julia Reynolds
48034f89b7 Prevent apps without DND access from toggling DND via AudioService.
Bug: 25395278
Change-Id: Id72830607b01a43848d1261292e5835315ef70d0
2016-03-16 09:33:02 -04:00
Nicolas Prevot
36ac3b8692 Merge "Update documentation of DevicePolicyManager.isProvisioningAllowed." into nyc-dev am: c25c903
am: 5490ba7

* commit '5490ba72794906a1b70d631cf71e6afd4d5836f4':
  Update documentation of DevicePolicyManager.isProvisioningAllowed.
2016-03-16 12:12:50 +00:00
Nicolas Prevot
5490ba7279 Merge "Update documentation of DevicePolicyManager.isProvisioningAllowed." into nyc-dev
am: c25c903

* commit 'c25c9032ffdca20a4080db5a1fe1e771af9256f6':
  Update documentation of DevicePolicyManager.isProvisioningAllowed.
2016-03-16 12:10:27 +00:00
Nicolas Prévot
c25c9032ff Merge "Update documentation of DevicePolicyManager.isProvisioningAllowed." into nyc-dev 2016-03-16 12:05:35 +00:00
Esteban Talavera
96895cae3e Clarified documentation as requested by API review
Bug: 27532433
Change-Id: I5fada6c0a4636528393308d5ce098cd0398e5ff5
2016-03-16 12:00:40 +00:00
Tony Mak
611bff36f8 Fix NotificationListenerService fail to mirror work notification am: 4dc008c
am: 63dbf9c

* commit '63dbf9c2165ae7963d857e396237864ebceab3ee':
  Fix NotificationListenerService fail to mirror work notification
2016-03-16 11:30:57 +00:00
Tony Mak
63dbf9c216 Fix NotificationListenerService fail to mirror work notification
am: 4dc008c

* commit '4dc008cda2980fabb6acbf8a3b7096d1090ee36f':
  Fix NotificationListenerService fail to mirror work notification
2016-03-16 11:28:35 +00:00
Tony Mak
4dc008cda2 Fix NotificationListenerService fail to mirror work notification
1. Instead of getting application info in runtime, just retrieve the
   one in the context to avoid cross user operation.

2. Functions in PackageManager that retrieve badged icon now return
   badged icon if the targer user is managed profile instead of checking
   whether target user is a managed profile of the user in mContext.

3. Relax the restriction of getUserInfo, if the caller is asking a user
   in the same profile group or having the manage user permission, we let
   it go.

Bug: 26469166

Change-Id: Ia1ffc5743f7d94bd489cdb7571eaed51499ebdd9
2016-03-16 10:49:02 +00:00
Tomasz Mikolajewski
db38235fd3 Update docs for ACTION_QUICK_VIEW. am: fe023137d0
am: 08caebb5d1

* commit '08caebb5d1f7ecfba9f9b41f8f3621f03c79485b':
  Update docs for ACTION_QUICK_VIEW.
2016-03-16 02:16:53 +00:00
Tomasz Mikolajewski
08caebb5d1 Update docs for ACTION_QUICK_VIEW.
am: fe023137d0

* commit 'fe023137d0b33e30d0428132e6212ea4d0df8b5c':
  Update docs for ACTION_QUICK_VIEW.
2016-03-16 02:14:28 +00:00
Tomasz Mikolajewski
fe023137d0 Update docs for ACTION_QUICK_VIEW.
Bug: 27531273
Change-Id: I917ca16c14db20e6a2773018e00a61ff5fcf7ecd
2016-03-16 02:08:53 +00:00
Steve McKay
726001b604 Merge "Add FLAG_PARTIAL. Partial files can\'t be copied." into nyc-dev am: 709be25f04
am: 5abf7de9bd

* commit '5abf7de9bdf74a690262df4bb325e9bdb6385d1b':
  Add FLAG_PARTIAL. Partial files can't be copied.
2016-03-16 01:43:34 +00:00
Steve McKay
5abf7de9bd Merge "Add FLAG_PARTIAL. Partial files can\'t be copied." into nyc-dev
am: 709be25f04

* commit '709be25f04fd390b220eec1c0f5578df3be2b17e':
  Add FLAG_PARTIAL. Partial files can't be copied.
2016-03-16 01:41:13 +00:00
Steve McKay
709be25f04 Merge "Add FLAG_PARTIAL. Partial files can't be copied." into nyc-dev 2016-03-16 01:37:08 +00:00
Adam Powell
10ab3feec8 Merge "Add View#onVisibilityAggregated" into nyc-dev am: 3c8702dd81
am: c3b1f35153

* commit 'c3b1f35153fd66e35293e90afba32313db509b00':
  Add View#onVisibilityAggregated
2016-03-16 00:31:56 +00:00
Adam Powell
c3b1f35153 Merge "Add View#onVisibilityAggregated" into nyc-dev
am: 3c8702dd81

* commit '3c8702dd8113a780e6fd7240d8dfe8e82aaa283e':
  Add View#onVisibilityAggregated
2016-03-16 00:24:59 +00:00
Adam Powell
3c8702dd81 Merge "Add View#onVisibilityAggregated" into nyc-dev 2016-03-16 00:22:22 +00:00
Steve McKay
168e464812 Add FLAG_PARTIAL. Partial files can't be copied.
This allows us to exclude in-progress downloads from copy.
Will update Downloads in a followup CL to flag active downloads.

Bug: 27526321
Change-Id: I50d1db5cfb69bc6b47e10cc0f520a51e3d3cb43e
2016-03-15 16:51:23 -07:00
Joseph Pirozzo
2d738af372 Merge "Add BluetoothProfile for PBAP PCE role." into nyc-dev am: d91859d246
am: f12a22cd53

* commit 'f12a22cd538844afa5fc5ed809febe2c4e2badbd':
  Add BluetoothProfile for PBAP PCE role.
2016-03-15 23:30:30 +00:00
Joseph Pirozzo
f12a22cd53 Merge "Add BluetoothProfile for PBAP PCE role." into nyc-dev
am: d91859d246

* commit 'd91859d2460c45943568a98dab1950d53a4af608':
  Add BluetoothProfile for PBAP PCE role.
2016-03-15 23:28:01 +00:00
Suprabh Shukla
0e2a53e60e Merge "Updating javadoc for DPM apis" into nyc-dev am: ff29237e89
am: ccf0c799b7

* commit 'ccf0c799b71bb8e229f2804e4f07d2dda6cddb4c':
  Updating javadoc for DPM apis
2016-03-15 23:25:42 +00:00
Suprabh Shukla
ccf0c799b7 Merge "Updating javadoc for DPM apis" into nyc-dev
am: ff29237e89

* commit 'ff29237e895188e99106899806613aaa01656fdd':
  Updating javadoc for DPM apis
2016-03-15 23:23:19 +00:00
Joseph Pirozzo
d91859d246 Merge "Add BluetoothProfile for PBAP PCE role." into nyc-dev 2016-03-15 23:21:12 +00:00
Adam Powell
41d9690c3e Add View#onVisibilityAggregated
There's a common misconception (even across the framework) that
View#onVisibilityChanged determines and reports visibility on 'this'
up to the changed view and the total visibility within the
window. Knowing this is useful for things like starting/stopping
animations. onVisibilityChanged only reports the visibility for the
specific changed view, not the effects that would have down the tree.

Add onVisibilityAggregated to report what some code thought it was
getting already, and move ImageView and ProgressBar over to using it.

Bug 27461617

Change-Id: I433f41de453e27a53f907f1d9805350f30f31de9
2016-03-15 16:20:11 -07:00
Suprabh Shukla
ff29237e89 Merge "Updating javadoc for DPM apis" into nyc-dev 2016-03-15 23:18:20 +00:00
Peng Xu
9ff7d22354 Exposing Context Hub service.
Adding the Context hub service. This is the service that exposes
the context hub HAL to the system. The API exposed is a System API.

Change-Id: I854141714ecd21f6386e6b15b7bc9a997483ccf6
2016-03-15 15:18:56 -07:00
Tao Bao
14c59725ae Merge "Don\'t reboot into recovery if block map file is missing." into nyc-dev am: 1b478f756a
am: 688b9e8a06

* commit '688b9e8a06a3ea88623d24acbabd234c336bfb31':
  Don't reboot into recovery if block map file is missing.
2016-03-15 22:10:09 +00:00
Tao Bao
688b9e8a06 Merge "Don\'t reboot into recovery if block map file is missing." into nyc-dev
am: 1b478f756a

* commit '1b478f756a4bf17f9a79acf1b3a7b14c253e6261':
  Don't reboot into recovery if block map file is missing.
2016-03-15 22:05:53 +00:00
Tao Bao
1b478f756a Merge "Don't reboot into recovery if block map file is missing." into nyc-dev 2016-03-15 22:02:10 +00:00
Suprabh Shukla
34d92ef631 Updating javadoc for DPM apis
Added @throws tag in the javadoc for many APIs which might throw a
SecurityException in cases when such information might be useful for the
caller. E.g. when the caller has to be a device owner or must request
certain policies before making the API call.

Bug: b/27532288
Change-Id: I18e1a49a5e86a0322c035996ed7e9c3217da78c8
2016-03-15 14:43:46 -07:00
Makoto Onuki
fdc8d14ce5 Merge "Fix launcher side callback" into nyc-dev am: ed1b89878b
am: de40929c65

* commit 'de40929c65a28525629c962d859758ff5e61e412':
  Fix launcher side callback
2016-03-15 21:15:33 +00:00
Makoto Onuki
de40929c65 Merge "Fix launcher side callback" into nyc-dev
am: ed1b89878b

* commit 'ed1b89878bdf1fa9b5e4b2dfc766383d531d4315':
  Fix launcher side callback
2016-03-15 21:11:56 +00:00
Makoto Onuki
ed1b89878b Merge "Fix launcher side callback" into nyc-dev 2016-03-15 21:02:48 +00:00
Mahaver Chopra
588ad4a563 Merge "Update DPM.reboot with new restriction" into nyc-dev am: 8a8e8ea19a
am: 648c70a3b7

* commit '648c70a3b79264467512916ca7852c4147fd06d3':
  Update DPM.reboot with new restriction
2016-03-15 20:00:54 +00:00
Mahaver Chopra
648c70a3b7 Merge "Update DPM.reboot with new restriction" into nyc-dev
am: 8a8e8ea19a

* commit '8a8e8ea19a825dd45117909df2f0140ca20565e7':
  Update DPM.reboot with new restriction
2016-03-15 19:56:48 +00:00
Mahaver Chopra
8a8e8ea19a Merge "Update DPM.reboot with new restriction" into nyc-dev 2016-03-15 19:48:33 +00:00
Mahaver Chopra
1216ae5d02 Update DPM.reboot with new restriction
DPM.reboot() should not be called when there is an ongoing call on the
device.

Bug:27531799
Change-Id: Idc1fa4c7aa79b20ec9c2afcccf855455ee316787
2016-03-15 19:46:05 +00:00
Makoto Onuki
4dbe0ded4a Fix launcher side callback
- Fix crash in work profile case
- Calculate shortcuts for each caller
- Add tests

Bug 27548047

Change-Id: I1a5b6a96956abac75d01eb5cc1cec9a9e8e379a3
2016-03-15 12:38:41 -07:00