Commit Graph

336061 Commits

Author SHA1 Message Date
TreeHugger Robot
e603a67a62 Merge "Fix multi user battery percentage" into oc-mr1-dev 2017-08-31 15:38:57 +00:00
TreeHugger Robot
060b87b068 Merge "Unlock managed profile keystore when user is unlocked." into oc-mr1-dev 2017-08-31 15:33:54 +00:00
TreeHugger Robot
5285e053b3 Merge "Fix tuner DND UI" into oc-mr1-dev 2017-08-31 15:28:56 +00:00
Yohei Yukawa
c4a8b3625b Merge "Fix wrong dump output of *Info#flags" into oc-mr1-dev 2017-08-31 15:26:07 +00:00
Yohei Yukawa
8f272178a0 Fix wrong dump output of *Info#flags
This CL follows up to a previous CL [1] that introduced an ability to
control filtering level of
 - ActivityInfo#dump()
 - ApplicationInfo#dump()
 - ComponentInfo#dump()
 - ProviderInfo#dump()
 - ResolveInfo#dump()
 - ServiceInfo#dump()
but also masked following outputs as an unexpected side effect.
 - ActivityInfo#flags
 - ApplicationInfo#flags
 - ProviderInfo#flags
 - ServiceInfo#flags

With this CL, above *Info#flags are correctly dumped again.

 [1]: I0d01565babb87e68b840c9756a2ea730d699efc7
      6ac42aeed9

Test: Manually tested as follows.
 1. make -j SoftKeyboard
 2. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
 3. adb shell dumpsys input_method
    -> Check 'com.example.android.softkeyboard' section
      -> make sure ServiceInfo#flags=0x0
      -> make sure ApplicationInfo#flags=0x38a8be44
           FLAG_HAS_CODE (1<<2)
           FLAG_ALLOW_CLEAR_USER_DATA (1<<6)
           FLAG_SUPPORTS_SMALL_SCREENS (1<<9)
           FLAG_SUPPORTS_NORMAL_SCREENS (1<<10)
           FLAG_SUPPORTS_LARGE_SCREENS (1<<11)
           FLAG_RESIZEABLE_FOR_SCREENS (1<<12)
           FLAG_SUPPORTS_SCREEN_DENSITIES (1<<13)
           FLAG_ALLOW_BACKUP (1<<15)
           FLAG_SUPPORTS_XLARGE_SCREENS (1<<19)
           FLAG_STOPPED (1<<21)
           FLAG_SUPPORTS_RTL (1<<22)
           FLAG_INSTALLED (1<<23)
           FLAG_FULL_BACKUP_ONLY (1<<26)
           FLAG_EXTRACT_NATIVE_LIBS (1<<28)
           FLAG_HARDWARE_ACCELERATED (1<<29)
Fixes: 65057767
Change-Id: Icd1e18237e873844791ccdea7f424b6fe76137c0
2017-08-31 15:24:48 +00:00
Tyler Gunn
e0f1f26d87 Merge "De-couple data enabled from VT settings." into oc-mr1-dev 2017-08-31 15:13:08 +00:00
Bryce Lee
7e0e6e904c Merge "Clear pending activity options when retrieved in ActivityManagerService." into oc-mr1-dev 2017-08-31 14:43:02 +00:00
Kevin Chyn
83d0cd221f Update UnlockMethodCache when screen turns off
am: 08ae664365

Change-Id: I132358dc66f04cb2531e6d57ed8d2dd14947b62d
2017-08-31 12:59:00 +00:00
Pavel Grafov
0acc4bf545 Unlock managed profile keystore when user is unlocked.
With file based encryption when the user unlock the phone,
managed profile is already running (in a locked state). But
on full disk encryption devices, LSS attempts to unlock child
profile straight after unlocking user 0, which fails because
the profile is not yet running.

With this change once the profile gets unlocked (happens after
ActivityManagerService processes START_PROFILES_MSG message)
LSS will attempt to unlock its keystore.

Bug: 64722589
Test: manual, tried FDE and FBE devices with unified challenge.
Change-Id: Ic614cc3c6732a3db6aaf56fef1822e358d742510
2017-08-31 12:54:26 +01:00
TreeHugger Robot
8d1a86ca0f Merge "Skip handling recents toggle if a task is locked." into oc-mr1-dev 2017-08-31 04:34:43 +00:00
TreeHugger Robot
d60e2ede49 Merge "Use isolated uid to set oom_score_adj" into oc-mr1-dev 2017-08-31 03:52:51 +00:00
TreeHugger Robot
e61844e265 Merge "Update icons to have rounded corner" into oc-mr1-dev 2017-08-31 03:12:24 +00:00
TreeHugger Robot
52700a9795 Merge "At STARTED_AS_NEXT, offload MediaPlayer.start() to a separate thread" into oc-mr1-dev 2017-08-31 02:50:04 +00:00
TreeHugger Robot
0899236129 Merge "WebView: fix setSafeBrowsingWhitelist table in docs" into oc-mr1-dev 2017-08-31 02:28:11 +00:00
Kevin Chyn
08ae664365 Update UnlockMethodCache when screen turns off
Fixes: 65212307

Test: 1) add a temporary log in update()
2) turn off screen, make sure update() is called, and
   canSkipBouncer value is updated and correct

Change-Id: I576d2375d38e83f286ad1fc6aa25944326c3ef8f
2017-08-30 19:16:33 -07:00
TreeHugger Robot
ca468f1983 Merge "Adjusting PiP for the TV IME." into oc-mr1-dev 2017-08-31 01:23:03 +00:00
TreeHugger Robot
e087252671 Merge "Fix up bar transitions on low end devices" into oc-mr1-dev 2017-08-31 01:03:26 +00:00
TreeHugger Robot
f10b0d000e Merge "Fixes NPE thrown in sort if new targets are added." into oc-mr1-dev 2017-08-31 00:34:57 +00:00
Wonsik Kim
e8b4c97bdf At STARTED_AS_NEXT, offload MediaPlayer.start() to a separate thread
Fixes: 65210445
Fixes: 64915666
Test: adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Change-Id: I73f1cebdd4b990e28f8d466f129e781cba2b5bbf
2017-08-31 00:28:36 +00:00
Fan Zhang
4f6c91c3da Update icons to have rounded corner
Bug: 65204006
Test: visual
Change-Id: I97baac238495b5a03e91edb18e0a3482f67edf71
2017-08-30 16:42:04 -07:00
Zhen Sun
9174e87722 Merge "ATV a11y shortcut (CL 1 of 3): Update key chord" into oc-mr1-dev 2017-08-30 23:37:44 +00:00
TreeHugger Robot
dcadf1934a Merge "Add static lock in PowerProfile" into oc-mr1-dev 2017-08-30 23:35:07 +00:00
Jason Monk
a6f1db3a9e Fix multi user battery percentage
Test: Use battery percentage with multi user, like at all
Change-Id: Ie59d2409e79469138c04450528ed3e9f4e1c06aa
Fixes: 64442190
2017-08-30 19:18:00 -04:00
Phil Weaver
3eda5f4fe8 Merge "resolve merge conflicts of 490d397d28 to oc-dr1-dev" into oc-dr1-dev
am: 0ddaa63b67  -s ours

Change-Id: Id403b03e837eafab80ed20271543e82cb74c260b
2017-08-30 23:10:03 +00:00
Jason Monk
58b5a4f6cc Fix tuner DND UI
Test: visual
Change-Id: Ia90209b487aeee4ee162c54aa6cf923551f50d31
Fixes: 62588404
2017-08-30 19:09:38 -04:00
TreeHugger Robot
e034a1f5ed Merge "Add heif format to ExifInterface" into oc-mr1-dev 2017-08-30 23:05:12 +00:00
Phil Weaver
0ddaa63b67 Merge "resolve merge conflicts of 490d397d28 to oc-dr1-dev" into oc-dr1-dev 2017-08-30 22:54:59 +00:00
Jason Monk
f7dc1a3290 Merge "Don't touch auto dim on app change" into oc-mr1-dev 2017-08-30 22:44:35 +00:00
Christine Franks
0bb97d9e0b Merge "Update night display intensity coefficients" into oc-mr1-dev 2017-08-30 22:33:01 +00:00
TreeHugger Robot
16da1f545c Merge "Introduce SmartSelectionEventTracker." into oc-mr1-dev 2017-08-30 22:13:58 +00:00
Paul Mclean
87cb6d806e Merge "Adding USB audio-class 2.0 spec descriptors." into oc-mr1-dev 2017-08-30 22:13:36 +00:00
TreeHugger Robot
4a8f95ba56 Merge "BatteryStats: Don't schedule work when shutting down" into oc-mr1-dev 2017-08-30 22:11:52 +00:00
Kang Li
0935f152c7 Fixes NPE thrown in sort if new targets are added.
Test: manually tested it to verify that it works as expected.

Bug: 65035399
Change-Id: Ie99b05c5324f47cbac66687d7301ef62a7c83e55
2017-08-30 21:32:08 +00:00
Jason Monk
d3ee70cb43 Fix up bar transitions on low end devices
- Don't allow dark icons, because the backdrop is always dark.
 - Don't show the view when we aren't showing notification icons or
   system info, because the view may need to be transparent.

Test: manual
Change-Id: I5572a6379ceb605b21a1982db00fdf1659593b8a
Fixes: 62549040
2017-08-30 17:05:24 -04:00
Nate Fischer
fbebfa9d53 WebView: fix setSafeBrowsingWhitelist table in docs
No change to logic, only docs changes.

The documentation for setSafeBrowsingWhitelist uses a table to describe
whitelist rules. However, this table was previously formatted
incorrectly (it uses <th> elements for each cell, when normal data cells
should use <td> according to Android API guidelines).

This fixes the table to conform to the guidelines, adjusts white space
for consistency, and removes an unnecessary <p> element.

Bug: 65173825
Test: make docs (and manually verify the table looks correct)
Change-Id: I5d7390a44613aaa3acb147a69f8e0ce741e817ed
2017-08-30 21:03:19 +00:00
TreeHugger Robot
d9abde75e8 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:52:19 +00:00
Hall Liu
1407bdd635 Merge "Make slight API and doc adjustments" into oc-mr1-dev 2017-08-30 20:41:53 +00:00
Zhen Sun
62e54c2e3a ATV a11y shortcut (CL 1 of 3): Update key chord
Changed accessibility shortcut key chord from [HOME + DPAD_CENTER] to
[BACK + DPAD_DOWN]. (Followed logic in ag/1939791.)
Specified AudioAttributes of TV dialog ringtone to
USAGE_ASSISTANCE_ACCESSIBILITY since this dialog is meant to show up for
accessibility shortcut feature and that will also enable Android TVs to
play ringtone for the warning dialog.

Bug: 64346294
Test: Manually use key chord to trigger accessibility shortcut.
Change-Id: Iacb29400079551a3c3ded6f8391b7541bc1c9f29
2017-08-30 13:39:52 -07:00
TreeHugger Robot
8ae8079ed6 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:35:52 +00:00
TreeHugger Robot
9b9099ef3b Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:31:03 +00:00
TreeHugger Robot
b997ba1131 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:29:57 +00:00
TreeHugger Robot
249c45391e Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:28:10 +00:00
TreeHugger Robot
f5bc976699 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:24:40 +00:00
TreeHugger Robot
2ec3964ba4 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:23:09 +00:00
Jason Monk
a3150625ec Don't touch auto dim on app change
Test: manual
Bug: 63630024
Change-Id: I134aa2695bad36606588ca3e52685826f25ea306
2017-08-30 16:17:19 -04:00
TreeHugger Robot
26f4e4dfca Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:11:03 +00:00
TreeHugger Robot
1dab2308cd Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:04:56 +00:00
TreeHugger Robot
45e7a4242b Merge "Adding back recents grow in split screen" into oc-mr1-dev 2017-08-30 19:34:24 +00:00
Bill Yi
7604fe28e8 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 19:32:58 +00:00
Christine Franks
1199c8f40a Update night display intensity coefficients
Bug: 64019890
Test: manual - adjust intensity slider
Change-Id: I38ec7385b36367e5c9f6c606e65a982efbd32a1b
2017-08-30 12:25:07 -07:00