234896 Commits

Author SHA1 Message Date
Jason Monk
1ffa11b9b2 Don't cache QS custom tiles across users
Then it doesn't bind to the right user causing all sorts of badness
(10000).

Bug: 27527669
Change-Id: I28eff8b4bb0e0cfe56d041c6f0980282781af8aa
2016-03-08 15:19:14 -05:00
Chris Wren
be3696d425 Merge "rename the asisstant service for the ranker" into nyc-dev 2016-03-08 14:13:45 +00:00
Siva Velusamy
f1c6e0bd7b BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
am: af0f3bda17

* commit 'af0f3bda17ee3de4ad3560c9a675527b20e2af5f':
  BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
2016-03-08 13:58:52 +00:00
Siva Velusamy
af0f3bda17 BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
Change-Id: I214ddf066bd69d56275477712419745cf781cee3
2016-03-08 13:52:02 +00:00
Keisuke Kuroyanagi
713be06f7a Fix: Selection is not correctly used for SuggestionsPopup.
This happens because suggestions are gathered based on the
selection after setting the cursor position to the middle
of the user selected range, which means 0-width selection
at that position. As a result, SuggestionsPopup was not
shown when any suggestion spans don't overlap middle point
of the selection.

Bug: 20709442
Change-Id: I3e1cb570f451b4ab14cf36f7da23dc2bd22f4ac8
2016-03-08 08:32:28 +00:00
Keisuke Kuroyanagi
40fd5fac48 Merge "Call View#setHasTransientState in TextView#spanChange." into nyc-dev 2016-03-08 07:28:34 +00:00
Jae Seo
3c420f669b Merge "TIF: Add more comments for TvInputInfo/TvTrackInfo" into nyc-dev 2016-03-08 05:41:15 +00:00
Yohei Yukawa
1d7d1d171d Merge "Have unified setter/getter for TSMS Settings." into nyc-dev 2016-03-08 05:37:53 +00:00
Yohei Yukawa
f0ed48d18d Have unified setter/getter for TSMS Settings.
This ports my previous CL for InputMethodManagerService [1] to
TextServicesManagerService (TSMS).

In order to make TSMS encryption-aware, we are going to introduce a new
state where any read/write access to Secure Settings from TSMS is
virtualized so that we can temporarily enable only encryption-aware
spell checkers until the user unlocks the device then revert
any changes made before the device enters into an unlocked state.

See my previous commit message [1] for details.

This is still a preparation code.  Behavior change is not intended yet
in this CL.

  [1]: I0f79243e5cc1556764da37fa38078e075a27d42b
       8752367042cb690f78953557433c16ac77eeea45

Bug: 27456430
Change-Id: I97a1e2f75bdecb0aa88fb35dfe56732c08fcbbd5
2016-03-07 21:26:38 -08:00
Keisuke Kuroyanagi
af4caa6006 Call View#setHasTransientState in TextView#spanChange.
setHasTransientState(true) and setHasTransientState(false) have to
be coupled, but they were not always coupled in TextView. e.g. when
we fire PROCESS_TEXT intent.
With this CL, TextView calls setHasTransientState() always when
selection is created or cleared to make sure 2 setHasTransientState
calls are always coupled.

Bug: 27409041
Change-Id: Ib454b0fbbc2c2f8d19818f154f415c4a5d7e2d7e
2016-03-08 04:58:46 +00:00
Jae Seo
6256e27c1b TIF: Add more comments for TvInputInfo/TvTrackInfo
- Documented what TvInputInfo.getTunerCount returns if the input is not
  of TYPE_TUNER.
- Documented what all getters/setters in TvTrackInfo throw if not called
  on proper types.

Bug: 27531254
Change-Id: I32d83ce888507ec29cda8dce74871a3d55783766
2016-03-07 20:09:43 -08:00
Yohei Yukawa
dd461a942c Merge "Rely on SystemService#onSwitchUser() in IMMS." into nyc-dev 2016-03-08 03:03:14 +00:00
Daichi Hirono
d517e6aeed Merge "Add a new key to Settings.Global to obtain the number of boot." into nyc-dev 2016-03-08 02:06:39 +00:00
Sungsoo Lim
e10739ab8b Merge "MediaBrowser: Copy options before using it in subscribe()" into nyc-dev 2016-03-08 01:46:13 +00:00
Steve McKay
cc90976612 Merge "Suppress tests that are consistently failing..." into nyc-dev 2016-03-08 01:38:52 +00:00
Amit Mahajan
0f90653ca1 Merge "New permission for bypassing premium short code check." into nyc-dev 2016-03-08 01:13:53 +00:00
Damien Bargiacchi
4259500ff2 Merge "Draw a clock on top of the Android boot animation" into nyc-dev 2016-03-08 00:44:35 +00:00
Steve McKay
d38b6f1f70 Merge "Show active downloads in Files app Downloads dir." into nyc-dev 2016-03-08 00:34:53 +00:00
Damien Bargiacchi
a704b7d344 Draw a clock on top of the Android boot animation
Don't draw on top of vendor specific animations/logos since we can't
make it look good.

Bug: 27209004
Change-Id: If4791b861ff476c23b37787ba896a3ef8d9df4fd
2016-03-07 16:15:31 -08:00
Ruben Brunk
875825d0c1 Merge "Add a VR listener service." into nyc-dev 2016-03-08 00:14:57 +00:00
Ruben Brunk
e24b9a6cfa Add a VR listener service.
Bug: 22855417
Bug: 26724891
Bug: 27364145

- Add an API for VrListenerService, which is bound/unbound
  from the framework when the system VR mode changes.
- Allow only a single bound VrListenerService at a time.
- Monitor allowed VrListenerService implementations from
  VrManagerService and evict services as needed when packages,
  users, or settings change.
- Remove previous VR functionality in NotificationListenerService.
- Add component target to Activity#setVrMode to allow
  explicit selection of the running VrListenerService from
  the current VR activity.

Change-Id: I776335f4441be0e793d3126f2d16faf86a8c621a
2016-03-07 15:54:12 -08:00
Philip P. Moltmann
ab7302c9f4 Merge "Correct how to deal with print service installation" into nyc-dev 2016-03-07 23:46:50 +00:00
Selim Cinek
f7f4537f4f Merge changes I6e5dc836,Ia0c663f0,I97eb6e79,I8a4a0213,I87798da9, ... into nyc-dev
* changes:
  Removed the group expand button
  Removed the bundle number from the header
  Fixed a crash with notification children
  Fixed a bug where the media header wasn't indented
  Fixed fading and dozemode for custom notifications
  Fixed a group bug with a single expanded child
  Fixed a bug where the top child notification wasn't expandable
  Fixed a bug where heads up where not expandable by touch
  Fixed a bug where the wallpaper was shining through the background
2016-03-07 23:43:58 +00:00
Steve McKay
5b6c9823c5 Merge "Send APKs through safe install path." into nyc-dev 2016-03-07 23:43:55 +00:00
Steve McKay
18d3e853cc Suppress tests that are consistently failing...
on APCT.

Change-Id: I3a3a718b8211a5188130aa698322934bf62d81d1
2016-03-07 15:36:14 -08:00
Philip P. Moltmann
852c950bbf Correct how to deal with print service installation
- Deal with case that there are currently no print services installed
- Deal with the case that a package modification adds a print service

Bug: 27530312
Change-Id: I67a647bd0982a092a4810d6c1285d0c7b64e104e
2016-03-07 15:32:25 -08:00
Mihai Niță
e47b0d4fc2 Merge "Back region to lang selection: preserve search & position" into nyc-dev 2016-03-07 23:18:31 +00:00
Selim Cinek
6db575803e Removed the group expand button
It's now a normal group expand button.

Bug: 27431551
Change-Id: I6e5dc83613533ef8590b0a8180d8c4be8322aa21
2016-03-07 15:11:56 -08:00
Selim Cinek
3b050317bf Removed the bundle number from the header
Bug: 27431551
Change-Id: Ia0c663f0bab875abba4b35d565f3ac4ed2306079
2016-03-07 15:11:55 -08:00
Selim Cinek
2b542424f7 Fixed a crash with notification children
Notification children would animate when removed even
though they were just transferring to a different parent
or to the root.

Bug: 27476798
Change-Id: I97eb6e795d7762fb150b63f49eec9bb6092339be
2016-03-07 15:11:55 -08:00
Selim Cinek
50c6e498b1 Fixed a bug where the media header wasn't indented
We need to remeasure in case we change the params.

Bug: 27494315
Change-Id: I8a4a0213db75f866a87a5c117f98d80fe80641c9
2016-03-07 15:11:52 -08:00
Winson Chung
fbc32f158b Merge "Preventing users from over scrolling too far." into nyc-dev 2016-03-07 23:10:04 +00:00
Jae Seo
3d684ca831 Merge "Fix NPE in PrintManagerService" into nyc-dev 2016-03-07 23:06:48 +00:00
Winson
12cb920eba Preventing users from over scrolling too far.
- Also tweaking the second part of the unfocused curve to make it more 
  linear to touch.

Bug: 27478701
Bug: 27376567

Change-Id: If187ea333579221ef24986d8d37d0606e50ab7bc
2016-03-07 15:06:43 -08:00
Winson
4333694d8a Fixing screenshot regression from ag/879131.
- We were not poking existing TaskViews from updating after their tasks
  have been updated (ie. with a new screenshot)

Change-Id: I33916aecf004afdb88a2462e69437ad1d9e8017d
2016-03-07 22:54:37 +00:00
Roshan Pius
4e7ad35b2f Merge "WifiScanner: Add hidden networkIds in scan setting" into mm-wireless-dev
am: d412376ca0

* commit 'd412376ca00545857df7a21829e3f674253c0567':
  WifiScanner: Add hidden networkIds in scan setting
2016-03-07 22:47:59 +00:00
Roshan Pius
d412376ca0 Merge "WifiScanner: Add hidden networkIds in scan setting" into mm-wireless-dev 2016-03-07 22:44:08 +00:00
Steve McKay
9bb98f3121 Send APKs through safe install path.
Basically push them through downloads.ui TrampolineActivity
    to get origin url and referer and other security bits
    added before handing off to package manager.

Bug: 24676446
Change-Id: Id40787ada6ace424c4e5e4bfeedc0a8005b7a734
2016-03-07 14:35:50 -08:00
Jae Seo
c2c83eeda6 Fix NPE in PrintManagerService
Bug: 27530312
Change-Id: I86800572a93fbcf37f2e073a1eaee6fbe6658de1
2016-03-07 14:30:33 -08:00
Seigo Nonaka
dcbd782635 Merge "Change suggestion window text color based on user feedback." into nyc-dev 2016-03-07 22:26:23 +00:00
Seigo Nonaka
ac27b30fa6 Change suggestion window text color based on user feedback.
Changing highlight text color to black alpha=.87 and normal text
to black alpha=.57.

It turned out that alpha value is ignored if we set alpha value
and textColor at the same time. Using #AARRGGBB style instead.

Bug: 27389556
Change-Id: I318379261c66d9da089e8f8bf9f8136c10958511
2016-03-07 22:24:51 +00:00
Lorenzo Colitti
7426a65269 DO NOT MERGE: Move PinningNetworkCallback out to a new NetworkPinner class.
am: 2a3ca73158  -s ours

* commit '2a3ca73158227751321e98ba707496adf84007a6':
  DO NOT MERGE: Move PinningNetworkCallback out to a new NetworkPinner class.
2016-03-07 22:19:32 +00:00
Steve McKay
75fe6bca49 Show active downloads in Files app Downloads dir.
And permit users to peek into zip files stored in Downloads.
But dont' show active downloads in pickers.

Bug: 26759955
Change-Id: Ib425a79488e953c981ddadeb01a37f6e1d8a8285
2016-03-07 14:17:06 -08:00
Xavier Ducrohet
f84d7bfb81 Merge "Add missing references to VNativeObject" into nyc-dev 2016-03-07 22:13:46 +00:00
Yohei Yukawa
d1f7c4bad1 Merge changes I2d6f9932,Ib3cc799d into nyc-dev
* changes:
  Rely on SystemService#onSwitchUser() in TSMS.
  Switch to SystemService lifecycle in TSMS.
2016-03-07 22:12:58 +00:00
Diego Perez
39b205cc92 Add missing references to VNativeObject
Change-Id: I2db4ad94009c0daff4649da6f85e5c084f4c01ea
2016-03-07 22:12:01 +00:00
Amit Mahajan
e5cd9fa439 New permission for bypassing premium short code check.
Bug: 18326557
Change-Id: I1b05f73103183b851bbef1280d0785ce0a48159a
2016-03-07 21:51:44 +00:00
Chris Wren
e0ba7eb365 rename the asisstant service for the ranker
Bug: 22960980
Change-Id: Ibe57933303a488b01c43a7621a488d425d6f707d
2016-03-07 16:50:27 -05:00
Yohei Yukawa
9faa2aeb8a Rely on SystemService#onSwitchUser() in TSMS.
SystemService class has already provided SystemService#onSwitchUser()
callback event.  We do not need to set up SynchronousUserSwitchObserver
separately in TextServicesManagerService.

Bug: 25816558
Bug: 27456430
Change-Id: I2d6f9932f30b72cf4ae4bc0c41810f75e2667478
2016-03-07 13:42:07 -08:00
Yohei Yukawa
a6a152e7de Switch to SystemService lifecycle in TSMS.
Like we did this for InputMethodManagerService [1],
TextServicesManagerService (TSMS) needs to be recognized by
SystemServiceManager with SystemService lifecycle mechanism so that we
can receive SystemService#onUnlockUser() event, which is necessary to
make TSMS encryption-aware.

As a preparation, with this CL we only does mechcanical migration to
SystemService lifecycle mechanism in TSMS.  Hence no user-visible
behavior change should occur.

  [1]: Ic17667df60b30e5355b61a3601ad27a000cab3a3
       1e33dc8fdf3f722ecd32cc586b2a9515de24a242

Bug: 27456430
Change-Id: Ib3cc799d384f259b4fa3f5295f2da198df015eb8
2016-03-07 13:41:15 -08:00