Commit Graph

305421 Commits

Author SHA1 Message Date
Yohei Yukawa
fa49c00089 Remove unnecessary Binder.clearCallingIdentity()
This is a follow up CL to my previous CL [1] for Bug 26663589.

This is also a preparation CL for Bug 34838583, where the warning
shown from the method in question is to be suppressed.

The fix still works, but the Binder.{clear, restore}CallingIdentity()
block introduced by that CL is not actually necessary, because
WindowManagerInternal#clearLastInputMethodWindowForTransition() only
updates some internal variables.  No system privilege is involved.

 [1]: Ib567daa009c1139858dccadcfc6a04465ebecf36
      833bdcedce

Test: Manually verified that Bug 26663589 is still fixed.
       1. Flash a new OS image.
       2. Complete the setup wizard.
          Make sure a voice IME (subtype mode="voice") is installed.
          Make sure you can type with LatinIME.
       3. Connect to an external hardware keyboard.
       4. Launch an app whose window has "stateAlwaysVisible" bit.
       5. Focus in an EditText on the app.
       6. Hit the right ALT key on the hardware keyboard.
          Make sure that LatinIME shows symbol keyboard.
       7. Hit the "ABC" button at the left botton on keyboard.
       8. Tap the mic icon on the keyboard.
          Make sure that the voice IME is shown.
Bug: 26663589
Bug: 34838583
Change-Id: I88b3abb9fa88b54e4844dabd89126f5dcdda6405
2017-01-31 19:15:00 -08:00
TreeHugger Robot
825310b606 Merge "Add UiModeManager commands to adb" 2017-01-31 18:50:24 +00:00
TreeHugger Robot
53ff0bdfb9 Merge "Primary navigation fragments" 2017-01-31 18:40:43 +00:00
Peter Qiu
1f46283dc5 Merge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006 am: ea14632665 am: 77095c33d3
am: e7e2dc148c

Change-Id: Ib6a5a5bac5886099581e7027af74e90fa98eb35f
2017-01-31 18:35:24 +00:00
Peter Qiu
e7e2dc148c Merge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006 am: ea14632665
am: 77095c33d3

Change-Id: Ib0ee84bf185ac7b492029eae791436ae30c246e2
2017-01-31 18:29:49 +00:00
TreeHugger Robot
6b1c99fefe Merge "wifi: WifiConfiguration: add isHomeProviderNetwork field" 2017-01-31 18:28:34 +00:00
Peter Qiu
77095c33d3 Merge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006
am: ea14632665

Change-Id: I5511f4d323761edf5eab149894a7a1b2acee4e07
2017-01-31 18:25:48 +00:00
Chris Craik
b27aba9a92 Merge "Replace invalidateChild/invalidateChildInParent" 2017-01-31 18:23:22 +00:00
Peter Qiu
ea14632665 Merge "hotspot2: enclose conditional statement in parenthesis"
am: 161ac8b006

Change-Id: I2da11aee68e52f9e868ca23cbd913703ef0585e3
2017-01-31 18:21:27 +00:00
TreeHugger Robot
a941cbc59a Merge "Add a home intent category for VR headset UI mode." 2017-01-31 18:15:05 +00:00
Dmitri Plotnikov
cb1a837fd3 Merge "Enabling low storage notification on Android TV" 2017-01-31 18:14:55 +00:00
Treehugger Robot
161ac8b006 Merge "hotspot2: enclose conditional statement in parenthesis" 2017-01-31 18:12:57 +00:00
Mady Mellor
ab3070fd6d Merge "Fix NotificationGuts tests" 2017-01-31 17:58:36 +00:00
TreeHugger Robot
a06155011e Merge "Fix crash in TextView getFont" 2017-01-31 17:56:10 +00:00
William Mee
9deb6b5a3a Merge "Added a new wifi_badging_thresholds setting to Settings.Global" 2017-01-31 16:54:48 +00:00
Alan Viverette
ba0d98fac3 Add UiModeManager commands to adb
Change-Id: I0480bf92e6a8e9adee99a0013d70d39550a52611
Fixes: 30096205
Test: adb shell cmd uimode night yes
2017-01-31 11:24:59 -05:00
TreeHugger Robot
de0fb617a1 Merge "don't require 'O' for instant apps" 2017-01-31 16:22:37 +00:00
TreeHugger Robot
a3c064d104 Merge "Migrate Tron logs for power to multimetric format." 2017-01-31 15:56:15 +00:00
Yura
e2896febe4 Merge "Fix for endless loop in RelativeLayout." 2017-01-31 15:18:13 +00:00
Todd Kennedy
910a19a535 don't require 'O' for instant apps
It's unclear if we need this check; esp if we want to support
running legacy instant apps [i.e. instant apps that run pre-O
under the supervisor].

Test: Build and install instant app
Change-Id: I241f97e7960635af933e8fe1ddd86675789ec26c
2017-01-31 06:51:28 -08:00
Julia Reynolds
e73724c4f9 Merge "Use TVExtender channel on tv platforms." 2017-01-31 14:06:06 +00:00
Clara Bayarri
060332400d Fix crash in TextView getFont
The wrong TypedArray was being used to retrieve the value.

Bug: 34818260
Test: run cts -m CtsWidgetTestCases -t
android.widget.cts.TextViewTest#testFontResources_setInXmlStyle

Change-Id: I09334710b9b21f1397bc02d92d14b41fbc96178f
2017-01-31 12:15:50 +00:00
Bill Yi
27e634eed1 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 21e0ccb1a6 -s ours
am: eccb4c5045  -s ours

Change-Id: I1132a94369c09f75e1f961ffe9ee90a71996c013
2017-01-31 08:42:40 +00:00
Bill Yi
4302cc60e7 Import translations. DO NOT MERGE am: 652182376c -s ours
am: 1b49042a6a  -s ours

Change-Id: I511fbfdc62022fd75a5690e789c8e19c51ad5ced
2017-01-31 08:41:41 +00:00
Bill Yi
eccb4c5045 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 21e0ccb1a6  -s ours

Change-Id: I12a3340aaa49277aba78c7dcc51b063458113262
2017-01-31 08:37:44 +00:00
Bill Yi
1b49042a6a Import translations. DO NOT MERGE
am: 652182376c  -s ours

Change-Id: I45c84e6031609830111e915ab692906fc48ff0d6
2017-01-31 08:37:39 +00:00
TreeHugger Robot
21e0ccb1a6 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-31 08:31:13 +00:00
TreeHugger Robot
8a0f9dd59a Merge "Import translations. DO NOT MERGE" 2017-01-31 08:02:43 +00:00
Bill Yi
958679c4a5 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: f3db881c0c -s ours
am: b02ba73c7d  -s ours

Change-Id: Id437d7da4c74788afe857ea09ae9974cf77c8132
2017-01-31 07:39:56 +00:00
Bill Yi
b6f0934504 Import translations. DO NOT MERGE am: 85f7e3989c -s ours
am: c90971e335  -s ours

Change-Id: I5dd2cda575ce68aaf7a188a1b75f02191a40fefd
2017-01-31 07:39:01 +00:00
Bill Yi
2d081e964c Import translations. DO NOT MERGE am: e924e16c3d -s ours
am: c207d2686e  -s ours

Change-Id: I76243ce4d943a2e01740260d84c1c0b04a415b4a
2017-01-31 07:38:09 +00:00
Bill Yi
b02ba73c7d Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: f3db881c0c  -s ours

Change-Id: I86910f68247dbb886e7f3b4b646cf0d8fd8e686a
2017-01-31 07:34:40 +00:00
Bill Yi
c90971e335 Import translations. DO NOT MERGE
am: 85f7e3989c  -s ours

Change-Id: Ibcafecde0ae6b531d5e6c1f379372ad8c73e41fa
2017-01-31 07:34:33 +00:00
Bill Yi
c207d2686e Import translations. DO NOT MERGE
am: e924e16c3d  -s ours

Change-Id: I90ef4192992b588b600f76c90b8744fc52eeb9e8
2017-01-31 07:33:35 +00:00
TreeHugger Robot
8b60f499bf Merge "Import translations. DO NOT MERGE" 2017-01-31 07:30:46 +00:00
TreeHugger Robot
0470d5002e Merge "Import translations. DO NOT MERGE" 2017-01-31 07:30:08 +00:00
TreeHugger Robot
cf000871ad Merge "Import translations. DO NOT MERGE" 2017-01-31 07:29:30 +00:00
TreeHugger Robot
f3db881c0c Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-31 07:28:44 +00:00
Bill Yi
652182376c Import translations. DO NOT MERGE
Change-Id: I0ef2e2fb59b03df8ce1c4ebb29154ef815b6154b
Auto-generated-cl: translation import
2017-01-30 22:39:49 -08:00
Bill Yi
6e75a35fff Import translations. DO NOT MERGE
Change-Id: I0f109486ea3b8c2c2fb21d796aa1d546e8fc3f68
Auto-generated-cl: translation import
2017-01-30 22:29:14 -08:00
Hugo Benichi
db11740a01 Merge "ApfTest: fix flaky testApfFilterRa." am: c2e8588396 am: 60e1375f79 am: 811f6c86da
am: 488ffdc784

Change-Id: Ib4223b548b434211dda4e750f660eb68a30a9d96
2017-01-31 06:16:43 +00:00
Hugo Benichi
488ffdc784 Merge "ApfTest: fix flaky testApfFilterRa." am: c2e8588396 am: 60e1375f79
am: 811f6c86da

Change-Id: Idd738e1a4c9f0a865f5b84270535a94c492341ce
2017-01-31 06:11:35 +00:00
Hugo Benichi
811f6c86da Merge "ApfTest: fix flaky testApfFilterRa." am: c2e8588396
am: 60e1375f79

Change-Id: Ied249e20ffc80728d20ac1e5442d45f5cb767776
2017-01-31 06:07:08 +00:00
Hugo Benichi
60e1375f79 Merge "ApfTest: fix flaky testApfFilterRa."
am: c2e8588396

Change-Id: I79c3ec0ba35973cc0dd32709447b2cc30e790d08
2017-01-31 06:01:58 +00:00
Hugo Benichi
c2e8588396 Merge "ApfTest: fix flaky testApfFilterRa." 2017-01-31 05:53:52 +00:00
TreeHugger Robot
cf45c85297 Merge "Introduce set/getFontVariationSettings." 2017-01-31 05:46:27 +00:00
Edwin Wong
e9b8348027 Merge "Pass application packagename to drm plugin." 2017-01-31 05:03:44 +00:00
Bill Yi
e924e16c3d Import translations. DO NOT MERGE
Change-Id: Icf17a6fb6b941caea8a843c0cac96f0b1883d4f3
Auto-generated-cl: translation import
2017-01-30 20:45:03 -08:00
Bill Yi
85f7e3989c Import translations. DO NOT MERGE
Change-Id: Ifb3e58e4528c1d7ea44bac121b7e210672aa6a7f
Auto-generated-cl: translation import
2017-01-30 20:36:40 -08:00
Bill Yi
b3f5822ac7 Import translations. DO NOT MERGE
Change-Id: I8898f88d0454aa0065faa8e0cbc737a5dc2cc055
Auto-generated-cl: translation import
2017-01-30 19:41:51 -08:00