230922 Commits

Author SHA1 Message Date
Daichi Hirono
7d1ca068a2 Merge "Update "accessing files" notification resources." 2016-01-25 08:28:23 +00:00
Tomasz Mikolajewski
af231f0a67 Remove retry logic from DocumentsUI.
Bug: 26720030
Change-Id: I041caeed7243614e20d92e1bb3308f564f6aae34
2016-01-25 17:25:20 +09:00
Daichi Hirono
e6bffff9d9 Update "accessing files" notification resources.
* Replace tentative resources with real ones.
 * Show the notification for each device as per request from UX.

BUG=26625702

Change-Id: Ibcfe7075e4827d5aee216ce5c0007f6dd4572efe
2016-01-25 16:27:19 +09:00
Yin-Chia Yeh
e76958297a Merge "ImageReader: fix missing pixel stride" 2016-01-25 02:26:11 +00:00
Daichi Hirono
7ed413524b Merge "Add eventsSupported property to MtpDeviceInfo." 2016-01-25 01:59:27 +00:00
Daichi Hirono
148954a657 Add eventsSupported property to MtpDeviceInfo.
The property provides the set of event code that are supported by
MtpDevice.

BUG=26147375

Change-Id: I54be75e4bb52ddfe9aba8630538ddd32d1a641c8
2016-01-25 10:47:01 +09:00
Tomasz Mikolajewski
c46d891170 Merge "Make ACTION_QUICK_VIEW public." 2016-01-25 01:04:02 +00:00
Carlos Valdivia
918c55a67c Permissions: Get rid of GET_ACCOUNTS
Bug: 21901286

Change-Id: Id2c42f4d449a32c88078d80dcf952d15e67d536c
2016-01-24 14:57:03 -08:00
Zhijun He
aa40596889 Merge "Camera2: add surface set ID" 2016-01-24 17:42:43 +00:00
Casey Burkhardt
86b867fd45 Adds Settings.System.FONT_SCALE observer to ActivityManagerService
Changes to Settings.System.FONT_SCALE were not being handled by any service,
which required a device reboot for any changes to take effect.  Changes to
this field by the Settings app worked as expected only because it is able to
poke ActivityManager with an updated configuration, whereas unbundled
applications cannot.

This also ensures the setting value is backed up and doesn't conflict with
a configured value from accessibility onboarding during restore.

Bug:23033258
Change-Id: I98d4aed2f9f5893d054e6b10c4dfda406de8eba2
2016-01-24 04:21:36 -08:00
Amith Yamasani
0af6fa7015 Voice Interaction from within an Activity
This allows an app to show a voice search button
and invoke a voice interaction session for use
within the activity. Once the activity exits, the
session is stopped.

Test application has a new activity that
demonstrates it with the test voice interaction
service.

This initial version is functional enough for
an integration test, with some more tests
and improvements to come later.

Bug: 22791070
Change-Id: Ib1e5bc8cae1fde40570c999b9cf4bb29efe4916d
2016-01-23 21:25:50 -08:00
Wale Ogunwale
b9dd234a6c Merge "Removed some left over log spam." 2016-01-24 02:16:18 +00:00
Wale Ogunwale
834c236c40 Removed some left over log spam.
Change-Id: Iaac41b7202b7634185bf522dfab36832c4830bba
2016-01-23 18:14:58 -08:00
Winson
3c107166fc Fixing layout issue causing overlay to sometimes not appear.
- We were incorrectly making calls that could request layout after the
  view was detached from the parent, causing a messed up 
  layout-invalidation hierarchy path.  Now ensuring that we always reset
  the view before detaching, and after attaching.  As a result of this,
  we need to ensure that the same optimization as before applies, which 
  is that children of TaskView don’t affect the relayout of TaskView.
  We do so by making TaskView a subclass of FixedSizeFrameLayout which
  only takes layout updates uni-directionally down the view hierarchy.
- This CL also fixes an issue with missing task bar buttons due to an
  optimization which did not update the visibility and translation of
  buttons if a view is laid out after the task view size has changed.
- Removing double measurement of TaskView sub-children
- Removing unnecessary invalidate after marking the thumbnail as 
  invisible

Change-Id: If8a330733941add1f4214af792227345d6a26309
2016-01-23 16:07:24 -08:00
Tao Bao
bdc77360ea Build update engine binder AIDLs for framework use.
We will define system APIs in framework that talk to the update engine
via binder APIs (e.g. android.os.UpdateEngine etc in follow-up CLs).
This CL adds rules to build the update engine AIDLs for that.

Bug: 26695366
Change-Id: Icee5c7d396aa10e592c2b1fd58b4b369a9b6cbfc
2016-01-23 15:55:19 -08:00
Yin-Chia Yeh
74fc02bf79 Merge "Camera: add post RAW sensitivity keys" 2016-01-23 23:05:03 +00:00
Sailesh Nepal
d1a28aa17b Mark mised call notification as protected
This CL marks the missed call notification as protected. This prevents
other apps from being able to broadcast it.

BUG: 22857261
Change-Id: I01ae992f2a5fe255f057c5aa28c5c47d34a0a093
2016-01-23 13:51:32 -08:00
Neil Fuller
20a4d57226 Unhide Method.isDefault
Bug: 26623636
Change-Id: I1e56fb6f89331ef27229f45f2a05a3646384b861
2016-01-23 13:29:36 -08:00
Sailesh Nepal
9c4b82cf95 Merge "Make missed call action public" 2016-01-23 18:28:31 +00:00
Chad Brubaker
056e8b5a5a Add getApplicationConfigForPackage
This allows services which make network connections on behalf of
applications to honor the application's network security policy.

Change-Id: I562b7bd0eb20f2f8c9f8342c211166d4e3397780
2016-01-22 22:04:20 -08:00
Jorim Jaggi
cbb2382992 Merge "NullPointerException when starting VoiceInteractionManagerService" am: b7fbe1104f
am: 5d6da4eab0

* commit '5d6da4eab024c13afbfef5cfec0f9f2b19168318':
  NullPointerException when starting VoiceInteractionManagerService
2016-01-23 03:47:29 +00:00
Felipe Leme
dc7af96141 Fixed javadoc so @hide annotations don't show up in the API.
BUG: 26082535

Change-Id: Ifb5ddedddc87bc65dc5158286503c64581b5a4f3
2016-01-22 18:48:44 -08:00
Felipe Leme
6f8429757b Merge "Minor fixes on string resources due to translation issues." 2016-01-23 02:43:18 +00:00
Felipe Leme
b5e496d0e4 Minor fixes on string resources due to translation issues.
BUG: 26723186
BUG: 26733350
Change-Id: I17d5f7c6845ad1dea00b1085bf57073d16a3fd44
2016-01-22 18:27:38 -08:00
Dianne Hackborn
1a30bd9b13 Add and implement JobScheduler content observer APIs.
Allows one to schedule jobs to run when content URIs
change, and find out what changed when the job executes.

This required adding a new API to StateController to
tell it when we are about to start executing a job, so
we can transfer the currently collected changes out of
its internal state to fill it in to the JobParameters.

Also some additional dumpsys debug output to help
understand what is going on in the job scheduler.

Change-Id: I91f51b226ff4add7a271a8333beffa5e86c7bf18
2016-01-22 18:25:02 -08:00
Jorim Jaggi
5d6da4eab0 Merge "NullPointerException when starting VoiceInteractionManagerService"
am: b7fbe1104f

* commit 'b7fbe1104fd93b426dd6a6f2ed9dfc9cb12b4dd8':
  NullPointerException when starting VoiceInteractionManagerService
2016-01-23 02:18:13 +00:00
Jorim Jaggi
b7fbe1104f Merge "NullPointerException when starting VoiceInteractionManagerService" 2016-01-23 02:09:36 +00:00
Yin-Chia Yeh
b99a7f1359 ImageReader: fix missing pixel stride
Change-Id: Ie34cb51fee90e2d5624663fa23da4093fec435e2
2016-01-22 18:02:58 -08:00
Craig Donner
4bbb8504a7 Setting consumer protected mode on from SurfaceTexture when in a protected context.
Bug: 22775237
Bug: 22855417

Change-Id: I9608ba08b28b02f3df1cc334fdc22d645831f1f6
2016-01-22 18:00:00 -08:00
Winson Chung
5bada6998d Merge "Fix issue with stack not invalidating when only focus state changes." 2016-01-23 01:54:59 +00:00
Selim Cinek
084c16b8b3 Fixed a clipping bug when expanding children notification
When children are expanded with a finger we still need to clip!

Change-Id: Ie66bb0ba690163bcabdc503a03f1e23869ec175d
2016-01-23 01:52:36 +00:00
Sailesh Nepal
be15ad9b79 Make missed call action public
This CL makes the missed call notification action public. This will be
used by the dialer app to show it's own missed call UI.

See ag/850080 for more info.

BUG: 22857261

Change-Id: Ifae82d3036a278e5619edc8c766a1d0781296e72
2016-01-22 17:33:55 -08:00
Vladislav Kaznacheev
ec6a447c86 Restore correct mouse pointer after drag and drop
This CL introduces IWindow.updatePointerIcon method.
When the drag is complete, this method is called on the window
directly under the pointer.

Same method can be used in the future to update mouse pointer
when a window appears or disappears.

Bug: 24415739
Change-Id: Ia7b0522448cb3cd754da5e24696060d3b3bf2e50
2016-01-22 17:30:10 -08:00
Filip Gruszczynski
eb12d19417 Merge "Relaunch activity resumed if it got resumed before relaunching." 2016-01-23 01:15:05 +00:00
Filip Gruszczynski
51dc8be223 Relaunch activity resumed if it got resumed before relaunching.
This fixes following scenario:
1) first activity starts second activity and expects results; first
activity gets paused;
2) second activity finishes and returns a result;
3) first activity is still paused and receives the result from the second
activity; first activty requests a local relaunch; relaunch gets
scheduled and is marked as launching paused (because the activity is
still paused)
4) first activity resumes;
5) first activity relaunches and finishes in paused state.

The fix makes it drop the information about launching paused when it
gets resumed in step 4.

Bug: 25674611
Change-Id: Ieeef3f0d5c311679882fdc59c13fd8a99e3d3a20
2016-01-22 17:12:49 -08:00
Deepanshu Gupta
676ae8c8c9 Merge "Remove GregorianCalendar hack" am: 187c022bf1
am: 08f736e7b1

* commit '08f736e7b143f825fe3c29e70e9b505bbf8e1ae6':
  Remove GregorianCalendar hack
2016-01-23 01:05:26 +00:00
Steve McKay
ee8ba01401 Merge "Fix broken SearchViewUiTest." 2016-01-23 00:54:40 +00:00
Vladislav Kaznacheev
c8680438c0 Merge "Change mouse pointer when drag and drop is active" 2016-01-23 00:26:01 +00:00
Steve McKay
d0086a4960 Fix broken SearchViewUiTest.
Change-Id: I0df509ff6307f9aeb32d9fbfaaf68de59507e3f7
2016-01-22 16:23:32 -08:00
Deepanshu Gupta
08f736e7b1 Merge "Remove GregorianCalendar hack"
am: 187c022bf1

* commit '187c022bf187f137d48d9031c43cfc233c9fc158':
  Remove GregorianCalendar hack
2016-01-23 00:02:05 +00:00
Deepanshu Gupta
187c022bf1 Merge "Remove GregorianCalendar hack" 2016-01-22 23:53:07 +00:00
Steve McKay
8d4d5c1c20 Merge "Change "touch" to "tap"." 2016-01-22 23:46:17 +00:00
Steve McKay
9814a1a62e Change "touch" to "tap".
Bug: 26744850
Change-Id: I2f0f0c817ea40de4fbc6ef21e68ccbde293d3135
2016-01-22 15:44:49 -08:00
Yin-Chia Yeh
1ee1a0ae60 Camera: add post RAW sensitivity keys
Codegen change.

Bug: 26625646
Change-Id: I1b84fa5545db73002640d03fa6b9786986a3afdf
2016-01-22 15:31:55 -08:00
Winson
1c8461402b Fix issue with stack not invalidating when only focus state changes.
- Adding callback to invalidate when focus state changes.
- Fixing issue where we were posting the invalidate, causing everything
  to lag by 1 frame
- Fixing issue where we weren’t passing the cancel-enter animation flag
  down when setting focused tasks

Change-Id: I218ec78dc0e4e22e59ffcef03a1bc91d08b7c18b
2016-01-22 15:29:00 -08:00
Aga Wronska
31f97bc4ee Merge "Add support for renaming documents" 2016-01-22 23:26:35 +00:00
Chris Tate
6e3f354583 Merge "Expanded wallpaper APIs for keyguard and change detection" 2016-01-22 23:24:54 +00:00
Tony Mantler
98608e43eb Move AccessPointPreference to SettingsLib
Change-Id: I4461d5bbe6dd6d78acb8c135150e15e982bb1fab
2016-01-22 14:58:48 -08:00
Selim Gurun
c20ba757cb Merge "Provide a way to supply different algorithms for token binding key" 2016-01-22 22:52:51 +00:00
Selim Gurun
57a8d2ae31 Provide a way to supply different algorithms for token binding key
Bug: 22665752

The user of the API can provide different algorithms for key generation.
The API should also provide information about which algorithm is
used for generating the key.

Change-Id: I1d671ba351ca495b031b159132f33291a4f33aac
2016-01-22 14:50:42 -08:00