Commit Graph

51370 Commits

Author SHA1 Message Date
Tor Norbye
585307a36c Merge "Annotate Intent and ContentResolver params with @RequiresPermission" 2015-07-24 18:23:01 +00:00
Andrei Stingaceanu
55f08bc3ff am f8480f52: am 20295341: am 31006d92: am afad464c: am 45794910: Merge "Disallow dragging text in extracted mode" into mnc-dev
* commit 'f8480f52507e0504a4f05763ffdaf668a067584e':
  Disallow dragging text in extracted mode
2015-07-24 17:20:53 +00:00
Andrei Stingaceanu
f8480f5250 am 20295341: am 31006d92: am afad464c: am 45794910: Merge "Disallow dragging text in extracted mode" into mnc-dev
* commit '2029534162b308c7dcb3ef73616ecd6c98b22c64':
  Disallow dragging text in extracted mode
2015-07-24 16:07:41 +00:00
Andrei Stingaceanu
31006d9243 am afad464c: am 45794910: Merge "Disallow dragging text in extracted mode" into mnc-dev
* commit 'afad464c1b73540941e052e33ba6ab318426ff80':
  Disallow dragging text in extracted mode
2015-07-24 15:00:11 +00:00
Andrei Stingaceanu
afad464c1b am 45794910: Merge "Disallow dragging text in extracted mode" into mnc-dev
* commit '45794910031ce2a0e2df3d1694783da7e3c4352b':
  Disallow dragging text in extracted mode
2015-07-24 14:47:48 +00:00
Andrei Stingaceanu
4579491003 Merge "Disallow dragging text in extracted mode" into mnc-dev 2015-07-24 14:35:48 +00:00
Jim Miller
225c8f9913 am 5703cd54: am 72d9a4df: am 56e1be70: am ecfbd588: am abd35bfc: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev
* commit '5703cd5448e0f7efb0a164ca971b6ca0cc117173':
  Add FEATURE_FINGERPRINT to PackageManager's feature list
2015-07-24 05:17:10 +00:00
Yohei Yukawa
fb8cfd8c2a am c99ecb34: am c0e0b1e3: am 646f9da9: am 4ff108f0: am 0526ee52: Merge "Don\'t rely on broadcast intent for waking up input method." into mnc-dev
* commit 'c99ecb34f8b1631fbe6bdd53994d1d02b96c096b':
  Don't rely on broadcast intent for waking up input method.
2015-07-24 05:16:05 +00:00
Svetoslav Ganov
5cdca2a812 am cb731204: am ce4668b6: am 3fce45b6: am 54f1db79: am 607bc34f: Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev
* commit 'cb731204c47034b6ce3e6a96b127fafc322a3625':
  Reset permissions and app links when clearing app preferences - framework
2015-07-24 05:15:36 +00:00
Svetoslav Ganov
9bec9660a3 am 7ddfc7b0: am 1c37dc81: am dd12420e: am f9044dcc: am 258e630a: Merge "Shut down UiAutomationConnection without a lock held" into mnc-dev
* commit '7ddfc7b0245d600605efc4d764378f40d6861437':
  Shut down UiAutomationConnection without a lock held
2015-07-24 05:15:29 +00:00
Junda Liu
809f24d5c6 am 5ffab5f6: am 18046b72: am e77b00ce: am e1ebca6c: am 859551f7: Merge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev
* commit '5ffab5f60381ed16d1908bff72ccad08b3741f4c':
  Remove volte_feature_disabled as carrier config handled it.
2015-07-24 05:14:21 +00:00
Dianne Hackborn
e8a70aa403 am 556aa7dc: am 00e9e97f: am 47fefc5c: am a45fc6e2: am 5507bb41: Merge "Fix issue #22653116: Google App crashing on NYT app" into mnc-dev
* commit '556aa7dc8c1fde7c053ef1c7cac830449eaee0d7':
  Fix issue #22653116: Google App crashing on NYT app
2015-07-24 05:12:44 +00:00
Svetoslav Ganov
a30cb27f2a am cec9ac5c: am 71fa8e19: am 059841e2: am 586116a5: am 41a62e11: Merge "Do not show normal permissions in sideloading UI" into mnc-dev
* commit 'cec9ac5c8fdf0030efb0b60b1e3156bfc71a4d92':
  Do not show normal permissions in sideloading UI
2015-07-24 05:12:36 +00:00
Alan Viverette
1b4acc8389 am 444883e9: am 35b1674a: am 9b4917a6: am be01800d: am 9478bf0e: Merge "Fix handling of RelativeLayout measurement using UNSPECIFIED spec" into mnc-dev
* commit '444883e9a1b7c38f11d631601a857da78f0b9bfa':
  Fix handling of RelativeLayout measurement using UNSPECIFIED spec
2015-07-24 05:10:58 +00:00
Fyodor Kupolov
21574a240b am aa32a0b5: am 5192e4b2: am 030f2735: am 2a37b2ff: am 5ef70b02: Merge "Added a note about location permission" into mnc-dev
* commit 'aa32a0b5c6f87fe92ef0b1980b86e3612400db54':
  Added a note about location permission
2015-07-24 05:10:41 +00:00
Jeff Sharkey
5b98249e67 am 5080e90a: am aebcf3b7: am 23fdb635: am e87dc6db: am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
* commit '5080e90a62445f3ddf2dcff4adabe2d251d25932':
  More info to support CTS, fix reconcile bug.
2015-07-24 05:10:15 +00:00
Dianne Hackborn
96cc2b3050 am 1d8b0a29: am 14aca8e8: am 63ff4a77: am 419f2177: am 6f64e737: Merge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into mnc-dev
* commit '1d8b0a29ab369cac21d9f3a643244dc8c6dec0c8':
  Fix issue #22612630: Ensure SMS/Call delivery during Doze
2015-07-24 05:09:39 +00:00
Jim Miller
5703cd5448 am 72d9a4df: am 56e1be70: am ecfbd588: am abd35bfc: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev
* commit '72d9a4dfc70973f83a5d6d005dac7f83e1d5640b':
  Add FEATURE_FINGERPRINT to PackageManager's feature list
2015-07-24 04:07:27 +00:00
Yohei Yukawa
c99ecb34f8 am c0e0b1e3: am 646f9da9: am 4ff108f0: am 0526ee52: Merge "Don\'t rely on broadcast intent for waking up input method." into mnc-dev
* commit 'c0e0b1e3145bb26db2f41ac9d885c3368f2f6f75':
  Don't rely on broadcast intent for waking up input method.
2015-07-24 04:06:31 +00:00
Svetoslav Ganov
cb731204c4 am ce4668b6: am 3fce45b6: am 54f1db79: am 607bc34f: Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev
* commit 'ce4668b6be8f66625fcea4331baf5cc8e7d6dee1':
  Reset permissions and app links when clearing app preferences - framework
2015-07-24 04:06:03 +00:00
Svetoslav Ganov
7ddfc7b024 am 1c37dc81: am dd12420e: am f9044dcc: am 258e630a: Merge "Shut down UiAutomationConnection without a lock held" into mnc-dev
* commit '1c37dc8197ca0f85ae32304930ec254d0ba9911e':
  Shut down UiAutomationConnection without a lock held
2015-07-24 04:05:56 +00:00
Junda Liu
5ffab5f603 am 18046b72: am e77b00ce: am e1ebca6c: am 859551f7: Merge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev
* commit '18046b72698becc90ceb4ff324d878169216a295':
  Remove volte_feature_disabled as carrier config handled it.
2015-07-24 04:04:49 +00:00
Dianne Hackborn
556aa7dc8c am 00e9e97f: am 47fefc5c: am a45fc6e2: am 5507bb41: Merge "Fix issue #22653116: Google App crashing on NYT app" into mnc-dev
* commit '00e9e97f7077f1812077a780c1f4fd5d3fa9f288':
  Fix issue #22653116: Google App crashing on NYT app
2015-07-24 04:03:31 +00:00
Svetoslav Ganov
cec9ac5c8f am 71fa8e19: am 059841e2: am 586116a5: am 41a62e11: Merge "Do not show normal permissions in sideloading UI" into mnc-dev
* commit '71fa8e192c1e02f619509135fad8c2ba92871fea':
  Do not show normal permissions in sideloading UI
2015-07-24 04:03:20 +00:00
Alan Viverette
444883e9a1 am 35b1674a: am 9b4917a6: am be01800d: am 9478bf0e: Merge "Fix handling of RelativeLayout measurement using UNSPECIFIED spec" into mnc-dev
* commit '35b1674a24354421701856a9c7b89abb008c911f':
  Fix handling of RelativeLayout measurement using UNSPECIFIED spec
2015-07-24 04:02:04 +00:00
Fyodor Kupolov
aa32a0b5c6 am 5192e4b2: am 030f2735: am 2a37b2ff: am 5ef70b02: Merge "Added a note about location permission" into mnc-dev
* commit '5192e4b2c05bb684454c5cc0fc8c80c2e7c72f08':
  Added a note about location permission
2015-07-24 04:01:58 +00:00
Jeff Sharkey
5080e90a62 am aebcf3b7: am 23fdb635: am e87dc6db: am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
* commit 'aebcf3b7efadca1fb5eedbf2cf9f0895d93ba8e8':
  More info to support CTS, fix reconcile bug.
2015-07-24 04:01:46 +00:00
Dianne Hackborn
1d8b0a29ab am 14aca8e8: am 63ff4a77: am 419f2177: am 6f64e737: Merge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into mnc-dev
* commit '14aca8e87a3dc6e8fa783b3c45718a81f9f5e67a':
  Fix issue #22612630: Ensure SMS/Call delivery during Doze
2015-07-24 04:01:24 +00:00
Jim Miller
56e1be700d am ecfbd588: am abd35bfc: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev
* commit 'ecfbd58887114aa0626d6ec0f3f5e55e48ec4a49':
  Add FEATURE_FINGERPRINT to PackageManager's feature list
2015-07-24 03:22:48 +00:00
Yohei Yukawa
646f9da9e2 am 4ff108f0: am 0526ee52: Merge "Don\'t rely on broadcast intent for waking up input method." into mnc-dev
* commit '4ff108f0828f9c830aa93a3269c071522dae40ad':
  Don't rely on broadcast intent for waking up input method.
2015-07-24 03:11:42 +00:00
Svetoslav Ganov
3fce45b661 am 54f1db79: am 607bc34f: Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev
* commit '54f1db793264192017c588b618c7d4cb311482c0':
  Reset permissions and app links when clearing app preferences - framework
2015-07-24 03:10:58 +00:00
Svetoslav Ganov
dd12420e27 am f9044dcc: am 258e630a: Merge "Shut down UiAutomationConnection without a lock held" into mnc-dev
* commit 'f9044dcc2752be620b8f6b0a6ead0e7fef9b2c10':
  Shut down UiAutomationConnection without a lock held
2015-07-24 03:10:52 +00:00
Junda Liu
e77b00cef3 am e1ebca6c: am 859551f7: Merge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev
* commit 'e1ebca6c1ecbec72e89b9f621592de41cb184d7e':
  Remove volte_feature_disabled as carrier config handled it.
2015-07-24 03:08:16 +00:00
Dianne Hackborn
47fefc5c31 am a45fc6e2: am 5507bb41: Merge "Fix issue #22653116: Google App crashing on NYT app" into mnc-dev
* commit 'a45fc6e2ae855756ce71c9021c677cc06422de5a':
  Fix issue #22653116: Google App crashing on NYT app
2015-07-24 03:07:11 +00:00
Svetoslav Ganov
059841e213 am 586116a5: am 41a62e11: Merge "Do not show normal permissions in sideloading UI" into mnc-dev
* commit '586116a59ea09ec40e31a0972b629caac6348549':
  Do not show normal permissions in sideloading UI
2015-07-24 03:07:03 +00:00
Alan Viverette
9b4917a6f8 am be01800d: am 9478bf0e: Merge "Fix handling of RelativeLayout measurement using UNSPECIFIED spec" into mnc-dev
* commit 'be01800d76ac786a4617e1cecac71c297acf23e4':
  Fix handling of RelativeLayout measurement using UNSPECIFIED spec
2015-07-24 03:05:58 +00:00
Fyodor Kupolov
030f273550 am 2a37b2ff: am 5ef70b02: Merge "Added a note about location permission" into mnc-dev
* commit '2a37b2fff27c67454a59048c286b2a7e6329eb07':
  Added a note about location permission
2015-07-24 03:05:53 +00:00
Jeff Sharkey
23fdb6355e am e87dc6db: am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
* commit 'e87dc6dba58e55c60f387a86468a57a5109a97ac':
  More info to support CTS, fix reconcile bug.
2015-07-24 03:05:42 +00:00
Dianne Hackborn
63ff4a77f3 am 419f2177: am 6f64e737: Merge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into mnc-dev
* commit '419f2177c8565f80489d00463aea630568251f4d':
  Fix issue #22612630: Ensure SMS/Call delivery during Doze
2015-07-24 03:05:22 +00:00
Jim Miller
ecfbd58887 am abd35bfc: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev
* commit 'abd35bfc81ae231656c6fba67d43cfbb76f3db0d':
  Add FEATURE_FINGERPRINT to PackageManager's feature list
2015-07-24 02:53:54 +00:00
Jim Miller
abd35bfc81 Merge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-dev 2015-07-24 02:41:00 +00:00
Yohei Yukawa
4ff108f082 am 0526ee52: Merge "Don\'t rely on broadcast intent for waking up input method." into mnc-dev
* commit '0526ee529812b4fd9743aa46d87198043a59d2ab':
  Don't rely on broadcast intent for waking up input method.
2015-07-23 23:39:27 +00:00
Yohei Yukawa
0526ee5298 Merge "Don't rely on broadcast intent for waking up input method." into mnc-dev 2015-07-23 23:24:58 +00:00
Tor Norbye
788fc2b904 Annotate Intent and ContentResolver params with @RequiresPermission
Change-Id: I831cd55da9c840be0f39b77a8ae868146f089326
2015-07-23 22:40:55 +00:00
Tor Norbye
8a9f54932e Merge "Allow @RequiresPermission to be specified on parameters" 2015-07-23 22:39:14 +00:00
Yohei Yukawa
fa6e0a80e2 Don't rely on broadcast intent for waking up input method.
Basically this is a copy of Iabef96921dd554ce3768fb18619cefc
for InputMethodManagerService.

As described in JavaDoc of Intent#ACTION_SCREEN_OFF and
Intent#ACTION_SCREEN_ON, one can use those Intents to be
notified when the device becomes non-interactive and
interactive.  IMMS has relied on them to enable and disable
InputConnection between the IME and the application so as not
to allow IMEs to update text when the user does not present.
This is actually our design goal as documented in JavaDoc of
InputMethodManager.

   An IME can never interact with an InputConnection while
   the screen is off.  This is enforced by making all clients
   inactive while the screen is off, and prevents bad IMEs from
   driving the UI when the user can not be aware of its
   behavior.

The goal of this CL is to improve the timeliness of above
mechianism by introducing a direct communication channel from
PowerManagerService to InputMethodManagerService via Notifier.
Actually this is what InputManager has been doing since
Iabef96921dd554ce3768fb18619cefc3230b5fb0.

Reasons behind this change are:

  1. There are several bugreports that imply those Intents can
     dispatch tens of seconds after it is enqueued. This is
     indeed problematic because the user cannot type password
     to unlock their devices until queued
     Intent#ACTION_SCREEN_ON is dispatched. This CL addresses
     such an issue without waiting for figuring out the root
     cause of the delay.
  2. Intent#ACTION_SCREEN_OFF and Intent#ACTION_SCREEN_ON are
     sent as a ordered broadcast, which may not be suitable for
     tasks that require a certain level of timeliness, and what
     IMMS wants is to enable users to start typing immediately
     after the system.

This CL was originally authored by Seigo Nonaka.

Bug: 22423200
Bug: 22555778
Change-Id: I747c37ff6dd8f233faef43f2b5713a4320e848eb
2015-07-23 15:08:59 -07:00
Dianne Hackborn
bf822d39a2 am c9e454a5: am 26b2453c: am d363399b: am 86350411: am b7394671: Merge "Work on issue #22303510: Additional permissions aren\'t properly..." into mnc-dev
* commit 'c9e454a544233b6d4d7ae96d4442505bbad22fcb':
  Work on issue #22303510: Additional permissions aren't properly...
2015-07-23 22:07:41 +00:00
Alex Klyubin
f93f1f3617 am 05984f76: am 3ad84795: am b1d68c90: am 568e67a3: am ada70be8: Merge "Add KM_MIN_MAC_LENGTH tag to HMAC and AES-GCM keys." into mnc-dev
* commit '05984f7627f4aa5a7c12ef33f9895ad16fcb5de1':
  Add KM_MIN_MAC_LENGTH tag to HMAC and AES-GCM keys.
2015-07-23 22:07:33 +00:00
George Mount
b8eb74989e am d2546854: am 44543451: am c2c3eacb: am 27fbd360: am 7c482463: Merge "Null checks to prevent NPEs in Fragments transactions." into mnc-dev
* commit 'd254685497e95ba0f921ed3a4e69636008c7e129':
  Null checks to prevent NPEs in Fragments transactions.
2015-07-23 22:06:38 +00:00
Jorim Jaggi
ffbc117229 am f30c5f56: am 93a25f77: am fba92611: am fcf9acb9: am 20df6234: Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev
* commit 'f30c5f56187fed6452d557a44df8b63d8eb130a2':
  Add callback to voice interaction session for lockscreen shown
2015-07-23 22:06:29 +00:00