Commit Graph

253881 Commits

Author SHA1 Message Date
Dianne Hackborn
eb909e3cda Fix issue #31403654: Elevation of privilege vulnerability in deviceidle service
Whoops, cleared the calling identity too soon.

Change-Id: I93e3daeafafe8ee8ac92b81011f50f08a83e5229
2016-09-29 14:35:15 -07:00
Selim Cinek
d8fecad31a Merge changes I703ea278,I2c517d0a into nyc-mr1-dev
* changes:
  Fixed a few bugs regarding big notification groups
  Fixed a bug where the scroller would stop tracking
2016-09-29 21:09:39 +00:00
Hemal Patel
47876e79de Docs: Added info about vector drawable
Added overview of vector drawable in the class overview section.

Bug: 25129687
Change-Id: I976177ddd3a8bddcbc6544cbc227b6b2099c7b0a
2016-09-29 13:31:27 -07:00
sreevanis
9dd4194185 docs: Added account sync know issue.
Bug:31822936
Change-Id: Idd32638eb6819a5a8c6a5c772c70714e7391e75d
2016-09-29 12:17:09 -07:00
Selim Cinek
bc243a9627 Fixed a few bugs regarding big notification groups
The overscrolling was listening to the paddingOverflow
which didn't make sense. Also, we need to update the
top padding if the height of the first element changes.

This also fixes several cases where the notification size was
wrong when the quick settings panel was expanded.
It also fixes some flickering regarding the TopPaddingoverflow
which was going rogue in a few cases.
The transition from the locked shade is thereby also improved.

Change-Id: I703ea27879b325c02a15fdacee3b58f5ef78fd20
Fixes: 30801139
2016-09-29 11:33:21 -07:00
Dianne Hackborn
448489a991 Work on issue #29422027: APR: Runtime restarts in system_server
More debugability.

Change-Id: I93b8e2ac63a25ca43d0eaedfcf8262ba92bc15d5
2016-09-29 11:28:16 -07:00
Tianjie Xu
e422b0b29f Merge "Log the error when uncrypt timeouts" into nyc-mr1-dev 2016-09-29 18:03:30 +00:00
TreeHugger Robot
fa198f42d3 Merge "Add a missing case when detecting if a toast can be added" into nyc-mr1-dev 2016-09-29 17:11:50 +00:00
TreeHugger Robot
3462c194db Merge "Don't touch usage stats before system ready" into nyc-mr1-dev 2016-09-29 17:09:34 +00:00
Jorim Jaggi
92d0602a7c Fix crash if drawable doesn't have constant state
Change-Id: I2364efb9dc1446bc1a8c50abf6bd34a73c226f7e
Fixes: 31755893
2016-09-29 14:37:14 +00:00
TreeHugger Robot
e2782906b5 Merge changes Ic1e2f5e8,Ida4a3fc1 into nyc-mr1-dev
* changes:
  Make dispatchAudioRoutesChanged be called when BT A2DP status changed
  Revert "Disable selecting the default audio route when a BT route is avaiable"
2016-09-29 10:54:20 +00:00
TreeHugger Robot
f66508ada9 Merge changes I8ca2871c,Ia633a159 into nyc-mr1-dev
* changes:
  Revert "AudioService: remove deprecated forcing of A2DP off"
  Revert "AudioService: restore A2DP/wired headset auto selection"
2016-09-29 09:19:07 +00:00
Svet Ganov
62a40f87b3 Add a missing case when detecting if a toast can be added
We allow only one toast window per UID to be added at a
time. We ignore windows that run exit animation but we
should also ignore windows that should be removed after
the exit animation.

bug:31340854

Change-Id: I51c21f2c0e04341697f61e4cc107f9116254b206
2016-09-29 08:19:52 +00:00
TreeHugger Robot
e7c74c064f Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-29 07:32:49 +00:00
TreeHugger Robot
4f6d64ea0d Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-29 07:32:18 +00:00
TreeHugger Robot
8e44108cf1 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-29 07:24:48 +00:00
David Friedman
b202c67b00 Docs: New "Power" area for "Performance" section on DAC.
Bug: 31314206

Change-Id: I918843bd8b703e2b267d5646658de3599d4ab037
2016-09-28 23:33:31 -07:00
David Friedman
e782434cc8 Doc: New page in DAC Performance section: how to reduce overdraw in apps.
Bug: 31314359

Change-Id: Iecff68c1bfe16767b27e7cace8ab4bd4a91497b8
2016-09-28 23:25:27 -07:00
Bill Yi
e930d5a5f4 Import translations. DO NOT MERGE
Change-Id: I0dcb3da3295eebdc6757f614a44aac04396eade0
Auto-generated-cl: translation import
2016-09-28 22:47:48 -07:00
Svetoslav Ganov
09d3285503 Don't touch usage stats before system ready
When a content provider is accessed we update its foreground
state and usage stats if the calling app is in the foreground.
However we install system providers before the
PHASE_SYSTEM_SERVICES_READY phase which means we cannot touch
the the usage stats service as it calls into the content
service triggering the sync manager creation before system
ready violating the contract of the latter causing cascading
issues.

bug:31562236

Change-Id: Ied446cf3de8949e0850bab8f2b92155eac793591
2016-09-29 04:05:43 +00:00
Jim Miller
be11bc5f0a Reset mCurrentUserId when fingerprintd died
A template fingerprint data is not loaded in fingerprintd when
fingerprintd is died and restarted.
FigerprintService tries to set userId after a restart of fingerprintd,
but it's skipped because the service tries to set same userId already
set to mCurrentUserId.

To load correct template fingerprint data, reset mCurrentUserId
when fingerprintd died.

Bug: 31734514
Change-Id: I6b8d4b5b685765fe33ef8e654593b615240748a8
2016-09-28 20:33:06 -07:00
Mark Lu
316b2df576 Merge "docs: update docs for the multiprocess attribute in provider element" into nyc-dev am: 7e8a5e8aa9
am: 48781d231e

Change-Id: I3287a88580fd0bdbf2d7c31603d0f9c07ea79bb2
2016-09-29 03:09:30 +00:00
Mark Lu
a2a3d9e4ea docs: update docs for the multiprocess attribute in provider element am: 656fde1875
am: 9bcd53d099

Change-Id: I3aafb4d54172c3dc344e07d7a359d5ed1f7b0e31
2016-09-29 03:08:37 +00:00
Mark Lu
48781d231e Merge "docs: update docs for the multiprocess attribute in provider element" into nyc-dev
am: 7e8a5e8aa9

Change-Id: I326a6666c162e98f6058e935330967ddea901579
2016-09-29 03:01:39 +00:00
Mark Lu
9bcd53d099 docs: update docs for the multiprocess attribute in provider element
am: 656fde1875

Change-Id: I1f6c6f7967e530243847d104c8f6dd70015bcc98
2016-09-29 03:01:37 +00:00
Bill Yi
3860bee3d0 Import translations. DO NOT MERGE
Change-Id: I16e95300da82e9860f57e186d6b758a20ddee77e
Auto-generated-cl: translation import
2016-09-28 19:55:26 -07:00
Mark Lu
7e8a5e8aa9 Merge "docs: update docs for the multiprocess attribute in provider element" into nyc-dev 2016-09-29 02:55:01 +00:00
Bill Yi
87342b4efb Import translations. DO NOT MERGE
Change-Id: Id3118d7ffd60d2a82c5f057a42ef7aeac6f556e5
Auto-generated-cl: translation import
2016-09-28 19:27:55 -07:00
Eric Schmidt
adff7b5447 docs: Manage Memory perf article
Bug: 30432311
Bug: 16541280
Change-Id: I3fedf48e8f7b11ddeb55c6942f9994e056fd1653
2016-09-28 19:13:40 -07:00
Sungsoo
71f3563c39 Make dispatchAudioRoutesChanged be called when BT A2DP status changed
Bug: 28517884, Bug: 31398128
Change-Id: Ic1e2f5e828a772c667caf1408ebfc9b0d7c3f7d4
2016-09-29 10:16:19 +09:00
Sungsoo
fa6f70e225 Revert "Disable selecting the default audio route when a BT route is avaiable"
This reverts commit 0d33113196.

Bug: 28517884, Bug: 31398128
Change-Id: Ida4a3fc1f6f0aae09a5c4463bca8619412f3db58
2016-09-29 10:15:54 +09:00
Sungsoo
cf09fe6801 Revert "AudioService: remove deprecated forcing of A2DP off"
This reverts commit 0234587b11.

Bug: 28517884, Bug: 31398128
Change-Id: I8ca2871c4f956409d07dd90dcbe41d3e668568ba
2016-09-29 10:14:50 +09:00
Sungsoo
486f7d3fcd Revert "AudioService: restore A2DP/wired headset auto selection"
This reverts commit 383dc532f3.

Bug: 28517884, Bug: 31398128
Change-Id: Ia633a1596298ae30384f8bcaa02a1b6d29344ba9
2016-09-29 10:14:24 +09:00
Hugo Benichi
8ae3abd0eb Merge "Change network validation probe default configs" into nyc-mr1-dev 2016-09-29 01:07:37 +00:00
Hugo Benichi
3fc76c4669 Merge "New Settings symbols for captive portal detection" into nyc-mr1-dev 2016-09-29 01:07:00 +00:00
Hugo Benichi
434fa32f82 Merge "Captive portal detection uses 3rd fallback probe" into nyc-mr1-dev 2016-09-29 01:06:35 +00:00
Bert McMeen
e7925aa4a0 Merge "Docs: Wear Preview - Release Notes and more" into nyc-dev am: 93d9d85bda
am: a6f1ac93a4

Change-Id: I66c0f80ae75c47ce963648915e7607b4a027296b
2016-09-29 00:28:10 +00:00
Bert McMeen
dd632a90b8 Docs: Wear Preview - Release Notes and more am: 289e9c1d9f
am: 58b364da66

Change-Id: Ib1d2cf915e119af6b59af053cb8ee8a94ba7ffb0
2016-09-29 00:26:58 +00:00
Bert McMeen
a6f1ac93a4 Merge "Docs: Wear Preview - Release Notes and more" into nyc-dev
am: 93d9d85bda

Change-Id: I6fa5a223f0846ad1950fc11e5c5c69dbc54eb1e5
2016-09-29 00:18:52 +00:00
Bert McMeen
58b364da66 Docs: Wear Preview - Release Notes and more
am: 289e9c1d9f

Change-Id: Ifc8e1147d45e293f87903c4e000b5fad5f5d282c
2016-09-29 00:18:48 +00:00
Meng Wang
cfe950f6be Merge "Support WFC roaming preference" into nyc-mr1-dev 2016-09-29 00:13:51 +00:00
Bert McMeen
93d9d85bda Merge "Docs: Wear Preview - Release Notes and more" into nyc-dev 2016-09-29 00:07:30 +00:00
Bert McMeen
289e9c1d9f Docs: Wear Preview - Release Notes and more
Bug: 30570507
Change-Id: I4c89e9e6bcbbcff95a7dfac8869964092c8ef364
2016-09-28 17:02:41 -07:00
Hugo Benichi
11ae28f387 Change network validation probe default configs
This patch changes the default configuration values for captive
portal detection.

Now by default:
  - the HTTPS probe tries to connect to www.google.com/generate_204
    instead of connectivitycheck.gstatic.com/generate_204
  - the fallback probe is used and tries to connect to
    google.com/gen_204
  - the request header User-Agent field is set to appears similar to
    a Chrome request.

Bug: 29367974
Change-Id: Ic965e2693e154e96bf0f7e4c1b9a2f704b9c3452
2016-09-29 08:35:19 +09:00
Tony Mantler
647625fbf8 Merge "AsyncTask terminating with exception calls onCancelled" into nyc-mr1-dev 2016-09-28 23:25:54 +00:00
TreeHugger Robot
6006a88e54 Merge "DirectReply: Prevent closing the IME window on reinflation" into nyc-mr1-dev 2016-09-28 23:04:35 +00:00
Bert McMeen
55d338f000 Merge "Docs: Complications additions and changes" into nyc-dev am: 754dfad475
am: 78f8405a9b

Change-Id: Ifcebf3c64b691c71d98f1052298e6cb35a77cec6
2016-09-28 22:29:25 +00:00
Bert McMeen
08317e4c18 Docs: Complications additions and changes am: 5c7636218d
am: 780d8b2c2b

Change-Id: Iead55a6145f8f87acabdfbf9da077a55955f3d29
2016-09-28 22:28:38 +00:00
Bert McMeen
a30f72d37c Merge "Docs: FDP3 pages for standalone apps" into nyc-dev am: 5f97d8e3cf
am: 21aa30c3ca

Change-Id: Ic60b56a1493367188ee43f92ae30e4a6a8dbeb3e
2016-09-28 22:27:40 +00:00
Bert McMeen
a3fe50cb0b Docs: FDP3 pages for standalone apps am: 22109c72fb
am: e15b0a2de2

Change-Id: I05d5cf5a8767d2eb5031d9e9ff16c1a74054291c
2016-09-28 22:26:51 +00:00