Commit Graph

253881 Commits

Author SHA1 Message Date
Dirk Dougherty
70847a230c Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev am: 460b9c08e6
am: 995138bb1c

Change-Id: I539eae2af282daacf484e244934d75a47d20d7df
2016-09-02 22:38:10 +00:00
Dirk Dougherty
d966f9a7c9 Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead... am: 169f86ce7a
am: 1b106686f0

Change-Id: I062da10a5b82f7bd39f935ca36c87aa0b3162aeb
2016-09-02 22:38:07 +00:00
Dirk Dougherty
995138bb1c Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev
am: 460b9c08e6

Change-Id: I55c8a7dc7b90a12b177f3923731a2ad913bed60b
2016-09-02 22:31:57 +00:00
Dirk Dougherty
1b106686f0 Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead...
am: 169f86ce7a

Change-Id: I714461981eb3ed28178006c4acf4cd111204b4bb
2016-09-02 22:31:54 +00:00
Dirk Dougherty
460b9c08e6 Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev 2016-09-02 22:27:02 +00:00
Winson Chung
a8c0fe6606 Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev 2016-09-02 21:49:13 +00:00
Scott Main
244a1f6f78 Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev am: 915b566ef0
am: 7e7a1bbe47

Change-Id: I288cb4d509113fc9dc212e6b78b5119e499f0114
2016-09-02 21:44:49 +00:00
smain@google.com
7ed5e42567 switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build. am: 534bfe1a4a
am: 63f29277bc

Change-Id: I7311c26d821b9450eb78c911fef2aee359f859b8
2016-09-02 21:43:49 +00:00
Scott Main
7e7a1bbe47 Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev
am: 915b566ef0

Change-Id: Id9917788f79f73a7a7f4caa1d45508ae50c00337
2016-09-02 21:36:21 +00:00
smain@google.com
63f29277bc switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.
am: 534bfe1a4a

Change-Id: I9833fe119f6e5fef4cd74439c71d6a40fb5d5db9
2016-09-02 21:36:07 +00:00
Scott Main
915b566ef0 Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev 2016-09-02 21:27:22 +00:00
Svetoslav Ganov
aa07653d2e Prevent apps to overlay other apps via toast windows
It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout.

Now for apps targeting SDK greater than N MR1 to add a
toast window one needs to have a special token. The token
is added by the notificatoion manager service only for
the lifetime of the shown toast and is then removed
including all windows associated with this token. This
prevents apps to add arbitrary toast windows.

Since legacy apps may rely on the ability to directly
add toasts we mitigate by allowing these apps to still
add such windows for unlimited duration if this app is
the currently focused one, i.e. the user interacts with
it then it can overlay itself, otherwise we make sure
these toast windows are removed after a timeout like
a toast would be.

We don't allow more that one toast window per UID being
added at a time which prevents 1) legacy apps to put the
same toast after a timeout to go around our new policy
of hiding toasts after a while; 2) modern apps to reuse
the passed token to add more than one window; Note that
the notification manager shows toasts one at a time.

bug:30150688

Change-Id: Ia1dae626bd9e22541be46edb072aa288eb1ae414
2016-09-02 14:00:07 -07:00
Chad Brubaker
01e9682cab Avoid NPE on certificates that cannot be read
Skip certificates in a DirectoryCertificateSource that cannot be read to
due IOExceptions or CertificateExceptions, this prevents a NPE but
connections will still fail due to the certificate being unusable and no
valid trust-anchor existing.

This also logs the error since this really shouldn't happen.
Bug: 29997695

Change-Id: I9f7327efc302a259fb951f1f61f7fc4d647821fa
2016-09-02 13:15:39 -07:00
Felipe Leme
92caebece2 Improved logging.
- Implemented MeasurementDetails.toString()
- Guarded Log.V statement.

BUG: 30952263
Change-Id: Ib5ad00fe66df46a0ab5d12a33666ffa60875a67b
2016-09-02 11:26:09 -07:00
Mark Lu
b463a6db08 docs: update docs for uses-feature element
Specifically, update the location of the aapt tool.

Bug: 29007625
Change-Id: I27d7aa02d9b857ea1c61424d1601b0a3b65e48bd
2016-09-02 10:20:20 -07:00
Mark Lu
3404032dfc docs: Mention SwitchCompat in Switch and toggle documentation
Bug: 19574556
Change-Id: I2ebb504b144a442d90cfdf6ab4b407726a3b896f
2016-09-02 10:13:17 -07:00
Dirk Dougherty
041d39d744 Exclude sdk files from metadata. am: 355f33a1d9
am: d468597a79

Change-Id: I80242dc75f6dd5768326691fc33d8c701f688e81
2016-09-02 17:07:24 +00:00
Dirk Dougherty
d468597a79 Exclude sdk files from metadata.
am: 355f33a1d9

Change-Id: I4f99fd37bde61dfc813662e0e6d05412b3aef26c
2016-09-02 17:00:37 +00:00
Tyler Gunn
6f657ee021 Add toString method for session event codes.
Used to get a human readable version of a call session event for logging.

Bug: 31199425
Change-Id: Idf024ec405f1d18ff2cfab7f814b2651d7d8f0a0
2016-09-02 09:55:25 -07:00
Tenghui Zhu
50da38c198 Merge "Remove redundant code" into nyc-mr1-dev 2016-09-02 16:41:01 +00:00
John Reck
02913603bd Merge "Fix EGLImage memory leak" into nyc-mr1-dev 2016-09-02 15:07:25 +00:00
Erik Kline
a457ebbda6 Have WakeupMessage call Handler#dispatchMessage()
Handler has no fewer than three ways by which a message might be
handled:

    [1] the msg itself contains a callback (msg.callback.run())

    [2] the Handler was instantiated with a Handler.Callback
        (mCallback.handleMessage(msg))

    [3] the Handler instance was a subclass and could have
        overridden handleMessage()

Handler#dispatchMessage() tries to find the correct way to dispatch
a message, check the above in the above order.

Bug: 21859053
Change-Id: I284cf7ace93af167d95d13b297ec42d4bed15992
2016-09-02 13:03:44 +09:00
smain@google.com
534bfe1a4a switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev.
also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.

Change-Id: Iebd9791305479c5dc406ba3b81eaf076855bc632
2016-09-01 19:57:42 -07:00
Jorim Jaggi
2578beccbe Only show optimizing storage dialog if dex opt dialog was shown
This doesn't take long, so there is little reason to show it if
we didn't show the dex opt dialog.

Bug: 29643498
Change-Id: I955f9dfa233166a8a150deb2d115a591e6d82394
2016-09-01 18:44:53 -07:00
TreeHugger Robot
bdb81a0a7f Merge "Fix typos in JavaDoc for InputConnection" into nyc-mr1-dev 2016-09-02 00:16:04 +00:00
Jorim Jaggi
031f79560f Only do slow unlock transition if real home is not running
Test: Tested the first unlock on both FDE and non-FDE device.

Change-Id: Ibfbb9d67fb83456acd7b12bbe2d03a961a998ba9
Fixes: 31203310
2016-09-01 16:57:25 -07:00
TreeHugger Robot
ede3f3fa27 Merge "Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText" into nyc-mr1-dev 2016-09-01 23:12:15 +00:00
Svetoslav Ganov
a6cb2c2804 Merge "White-list grandfathered sync adapters" into nyc-mr1-dev 2016-09-01 23:07:56 +00:00
Yohei Yukawa
1ab959a6e0 Fix typos in JavaDoc for InputConnection
This CL fixes typos in JavaDoc for InputConnection.

This CL slso updates the content regarding a new API that was added in
API 25 [1][2].

 [1]: Iaadf934a997ffcd6000a516cc3c1873db56e60ad
      152944f490
 [2]: Ica1ba3154795c1bf44e140dfe639b299f83cd8af
      adebb52588

Bug: 31249896
Change-Id: Icafedb15943a84f8e5b03ef9eb3a50627d508bdd
2016-09-01 15:42:29 -07:00
Svet Ganov
65712b0ad3 White-list grandfathered sync adapters
Sync adapters were able to access the synced account without the accounts
permission which circumvents our permission model. Therefore, we require
sync adapters that don't have access to the account to get user consent.
This can be noisy, therefore we will white-list sync adapters installed
before we started checking for account access because they already know
the account (they run before) which is the genie is out of the bottle.

bug:31162498

Change-Id: I815e521778892ec592d53d086273743f1711bd17
2016-09-01 22:34:10 +00:00
Dirk Dougherty
355f33a1d9 Exclude sdk files from metadata.
Change-Id: I16f89a3bfae32a0fa54037e328fc784133e5d9b0
Bug-Id: 31244539
2016-09-01 21:20:02 +00:00
Wyatt Riley
c742d95455 Canada AGNSS settings update
am: ff374d4def

Change-Id: Ieafa6e4ebcf326038c97d1e9d0dc1acff43531ab
2016-09-01 21:16:23 +00:00
Chris Craik
60fca42031 Merge "Wait on frame work fences when frames are dropped" into nyc-mr1-dev 2016-09-01 21:11:04 +00:00
John Reck
f8b0360298 Fix EGLImage memory leak
Bug: 31247709
Change-Id: I9e36206b0d7bdb75b84cd53b70f7746ca34a3469
2016-09-01 14:10:20 -07:00
Mark Renouf
292c86dac9 Mark 'candidates_style' as not translatable
BUG: 29940650
Change-Id: Ic867076339d3aac5db4be35c9b6296c6361a0303
2016-09-01 16:33:23 -04:00
Wyatt Riley
ff374d4def Canada AGNSS settings update
Esp. LPP.  See also some overlay changes.

Change-Id: I0a694cf25df12c51e7d01ec4d8f2ab419786de00
2016-09-01 13:24:06 -07:00
TreeHugger Robot
57bd22ffc1 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-01 18:33:01 +00:00
Jason Monk
802bc6ee06 Add branded VPN messages to go along with branded icons
Change-Id: Id2089d50581a958ebab6af1d5b172ec61b1aced3
Fixes: 31019697
2016-09-01 10:45:08 -04:00
TreeHugger Robot
ac63c8589c Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-01 06:44:33 +00:00
TreeHugger Robot
d84995e18f Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-01 06:38:36 +00:00
Andrew Solovay
34f98f7cd9 docs: Typo fix in multi-window docs am: 0b423e5eae
am: 2570531cf4

Change-Id: I7748a6b6361a507e1f5f900c9ea222d3f93ae942
2016-09-01 05:13:32 +00:00
Andrew Solovay
2570531cf4 docs: Typo fix in multi-window docs
am: 0b423e5eae

Change-Id: I18fe652d972196630006517bacc26b7441efe9ed
2016-09-01 04:57:12 +00:00
Bill Yi
8961beac16 Import translations. DO NOT MERGE
Change-Id: Ied5e250ee2377aefe56c6f2282712c28b60104e5
Auto-generated-cl: translation import
2016-08-31 21:29:36 -07:00
TreeHugger Robot
95c1cbeb50 Merge "Also show attached windows during FLAG_SHOW_WHEN_LOCKED animations" into nyc-mr1-dev 2016-09-01 04:16:54 +00:00
Andrew Solovay
0b423e5eae docs: Typo fix in multi-window docs
Referred to the "android:resizableActivity" property; should
have been "android:resizeableactivity". English prose, however,
consistently uses the (preferred) spelling "resizable".

See first comment for stage location.

bug: 30566808
Change-Id: I2570ff9269b4d2dc8b11f1c98817e50726be78fc
2016-08-31 19:37:25 -07:00
Andrew Solovay
59118fc9df Merge "docs: Fixing formatting problem" into nyc-dev am: 9499478c80
am: d3f59086a7

Change-Id: I9b897a54cf1dfc178f6f10ee34cc253f12b017b0
2016-09-01 02:36:04 +00:00
Andrew Solovay
dac729b643 docs: Fixing formatting problem am: 6f29c2091c
am: 28343328c2

Change-Id: Id86e79f3e7654126f59ca87f7fb08aeec3a85324
2016-09-01 02:36:02 +00:00
Andrew Solovay
d3f59086a7 Merge "docs: Fixing formatting problem" into nyc-dev
am: 9499478c80

Change-Id: I893084adf8c6609b451da79ae69c5460619c6f7b
2016-09-01 02:26:28 +00:00
Andrew Solovay
28343328c2 docs: Fixing formatting problem
am: 6f29c2091c

Change-Id: I07d721faba05a3eb8b846bea260ee22da08d28e0
2016-09-01 02:26:24 +00:00
Andrew Solovay
9499478c80 Merge "docs: Fixing formatting problem" into nyc-dev 2016-09-01 02:21:49 +00:00