Commit Graph

316644 Commits

Author SHA1 Message Date
Hyunyoung Song
c9edec2bf7 Change Android default icon
b/35314247
Test: manual

Change-Id: I50964e616565e2e766f903a2a28de7194908bd7b
2017-06-06 15:39:21 -07:00
TreeHugger Robot
285ad4ce66 Merge "Fix icon tint on notification shelf" into oc-dev 2017-06-05 23:29:49 +00:00
TreeHugger Robot
5fc8f7d08a Merge "Initialize last-orientation to ensure we don't skip loading config." into oc-dev 2017-06-05 22:37:08 +00:00
Jeff Sharkey
c1406978a4 Merge "Annotate @SystemApi with required permissions." into oc-dev 2017-06-05 22:19:49 +00:00
Erik Wolsheimer
102b9e5968 Merge "Revert "Fix race condition triggered by quick stop/start of Dream"" into cw-f-dev am: 7a5dd1c3ff
am: 51a89ee90c

Change-Id: I982b94c155849061a667b1bf90f7a511bb81b1c5
2017-06-05 21:46:36 +00:00
Erik Wolsheimer
51a89ee90c Merge "Revert "Fix race condition triggered by quick stop/start of Dream"" into cw-f-dev
am: 7a5dd1c3ff

Change-Id: Ida35556f6d57113ad06c736ef780580b814f673e
2017-06-05 21:38:33 +00:00
TreeHugger Robot
8490ed92e1 Merge "Fix tinting of guest icon in QS footer" into oc-dev 2017-06-05 21:26:44 +00:00
TreeHugger Robot
7a5dd1c3ff Merge "Revert "Fix race condition triggered by quick stop/start of Dream"" into cw-f-dev 2017-06-05 21:24:49 +00:00
Sudheer Shanka
057bad9c9d Merge "Ignore entries for isolated uids if there's no mapping for them." into oc-dev 2017-06-05 21:22:39 +00:00
Jason Monk
f6e2099063 Merge "Fix up some jank from unnecessary reinflation" into oc-dev 2017-06-05 19:50:11 +00:00
Jeff Sharkey
d86b8fea43 Annotate @SystemApi with required permissions.
Most @SystemApi methods should be protected with system (or higher)
permissions, so annotate common methods with @RequiresPermission to
make automatic verification easier.

Verification is really only relevant when calling into system
services (where permissions checking can happen on the other side of
a Binder call), so annotate managers with the new @SystemService
annotation, which is now automatically documented.

This is purely a docs change; no logic changes are being made.

Test: make -j32 update-api && make -j32 offline-sdk-docs
Bug: 62263906
Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
2017-06-05 13:27:11 -06:00
TreeHugger Robot
6cc151468b Merge "Added mising sendToTarget message for dismissing docked stack" into oc-dev 2017-06-05 19:18:10 +00:00
Daniel Sandler
36a673a7d7 Merge changes from topic 'dungeon' into oc-dev
* changes:
  Hide redundant foreground service notifications.
  Updates to Dianne's Dungeon.
2017-06-05 19:03:32 +00:00
Jerry Zhang
1d1cf13056 Merge "Remove ptp from persist config on boot" into oc-dev 2017-06-05 18:37:06 +00:00
Sudheer Shanka
ea87a4bca0 Ignore entries for isolated uids if there's no mapping for them.
Bug: 25195548
Test: manual
Change-Id: If5aa7e194f4d43f2a7068899b9aa6584bfb2b7cc
2017-06-05 10:40:11 -07:00
Adam Lesinski
2f84c4715d Merge "DO NOT MERGE: AAPT2: Allow undefined resources (placeholders)" into oc-dev 2017-06-05 17:35:04 +00:00
Jason Monk
e05c2ad332 Fix tinting of guest icon in QS footer
Test: visual
Change-Id: I1daaac94e6bbff2e94583e1501c43beb4d9f757f
Fixes: 62339982
2017-06-05 12:59:49 -04:00
Jason Monk
3edad31233 Fix up some jank from unnecessary reinflation
Don't need to re-inflate fragments because of ui mode change.

Test: manual
Change-Id: I8cb8ff4f64b5c1cb5982d39c6acced682eaa4d41
Fixes: 62041537
2017-06-05 16:59:24 +00:00
Erik Wolsheimer
a8e20176af Revert "Fix race condition triggered by quick stop/start of Dream"
Causes another race condition

This reverts commit 69515b2261.

Bug: 62147987
Change-Id: Ibe6f9bc14ed6cc35d3a23d52300657eaed9bb6d8
2017-06-05 16:49:56 +00:00
TreeHugger Robot
4972aa30bf Merge "Protect instant apps from full apps" into oc-dev 2017-06-05 16:35:28 +00:00
Julia Reynolds
373ab72112 Merge "Annotate locks" into oc-dev 2017-06-05 15:22:59 +00:00
Dan Sandler
008cea772a Hide redundant foreground service notifications.
If an app with a foreground service has (at least one)
FLAG_FOREGROUND notification shown to the user, we allow
that to satisfy the requirement that the user be informed
about such things. But if the fg notification or its channel
is blocked by the user, we show the NOTE_FOREGROUND_SERVICES
notification (a/k/a Dianne's Dungeon) provided to us by the
activity manager.

Note that if even one of the foreground processes for the
current user is missing its disclosure notification, the
user will see the whole dungeon.

Bug: 36891897
Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ForegroundServiceControllerTest.java
Change-Id: I4f5d96f80b7c1901faadb56661a42d26f746aa88
2017-06-05 11:18:59 -04:00
Dan Sandler
2f36ab88d7 Updates to Dianne's Dungeon.
- new EKG icon
 - set the notification timestamp to the oldest service
   start time, so you have some idea how long things have been
   this way
 - minor text fixes

Bug: 36891897
Test: runtest -x cts/tests/app/src/android/app/cts/ServiceTest.java
Change-Id: I99db280cde8ca3ecd7205cd44fac159d8f652ca2
2017-06-05 11:18:59 -04:00
Wale Ogunwale
f1b2ec9190 Added mising sendToTarget message for dismissing docked stack
Toast that an app doesn't support split screen wasn't displaying because
of missing line to actually send the
NOTIFY_ACTIVITY_DISMISSING_DOCKED_STACK_MSG message.

Test: Dock an app and the launch an other app that doesn't support
split-screen and make sure the "doesn't support split-screen" toast
shows up.
Test: go/wm-smoke
Fixes: 62281412

Change-Id: Ia2cb3085b6c6bfd27cf9e825315b8ddc89cf5bcd
2017-06-05 07:09:35 -07:00
Julia Reynolds
2f77da6e10 Merge "Don't allow blocked apps to post notifications" into oc-dev 2017-06-05 13:12:57 +00:00
Hugo Benichi
c991275325 Fix captive portal login ssl error overflow
This patch fixes the built-in html page shown in the captive portal
login activity when there is an ssl error. The page is now scaled
correctly with respect to the device screen, and text wraps as
expected.

This patch also cleanups the hardcoded page by:
 - formatting it for better reading,
 - inlining the "px" css rules,
 - using string concatenation instead of format for including the
   localized text.

Bug: 62269512
Bug: 36532213
Test: manually triggered the activity to load the error page
Merged-In: I9d037222798bd9d4c1736923afb71e3e14c68bcc

(cherry pick from commit 60d5f46d89)

Change-Id: I5cb6e53f5af9dc4b93be8da1d9b6e0e8958e561f
2017-06-05 12:55:25 +09:00
TreeHugger Robot
5228e5d0cb Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-03 21:49:44 +00:00
TreeHugger Robot
247911d184 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-03 21:43:44 +00:00
TreeHugger Robot
5cb5bbdae0 Merge "Move strings to SettingsLib so TV can use them" into oc-dev 2017-06-03 21:41:05 +00:00
TreeHugger Robot
f31a663316 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-03 21:31:45 +00:00
TreeHugger Robot
c3504d4f33 Merge "Workaround to ensure that PIP activities have a visible shadow." into oc-dev 2017-06-03 20:41:18 +00:00
Bill Yi
a82d1d72b2 Import translations. DO NOT MERGE
Change-Id: I8a02b8e0c5b650bb2194c2e510db310060f2cab9
Auto-generated-cl: translation import
2017-06-03 10:05:08 -07:00
Bill Yi
295dbe5872 Import translations. DO NOT MERGE
Change-Id: Id173840acdf93c20e287471bb51ea2127df0469e
Auto-generated-cl: translation import
2017-06-03 05:10:59 -07:00
Bill Yi
d14c5b1d84 Import translations. DO NOT MERGE
Change-Id: I6f16f808f5ab850fb3bb459ea63548471d44eeca
Auto-generated-cl: translation import
2017-06-03 03:14:54 -07:00
TreeHugger Robot
0082de03e5 Merge "Add media.codec to native stack dump list" into oc-dev 2017-06-03 02:20:22 +00:00
TreeHugger Robot
1eddb0cb2e Merge "Handling cases with a null bitmap." into oc-dev 2017-06-03 01:37:54 +00:00
TreeHugger Robot
a2f747c57c Merge "Workaround glitches from SOFT_INPUT_ADJUST_PAN" into oc-dev 2017-06-03 01:01:26 +00:00
TreeHugger Robot
52a4125ffd Merge "Fix issue with jumping PIP when IME shows." into oc-dev 2017-06-03 00:35:43 +00:00
Adam Lesinski
90919978e7 DO NOT MERGE: AAPT2: Allow undefined resources (placeholders)
A resource defined like so:

<item type="drawable" name="foo" />

should be assigned the value @null.

The only exception is for <string> resources, which are given the
empty string value (since <string></string> is ambiguous). The decision
to use "" is based off the fact that old AAPT used to assign "" to all
undefined resources, even non-string ones.

Bug: 38425050
Test: make aapt2_tests
Change-Id: Ib3e0f6f83d16ddd8b279c9fd44a07a37867b85e9
2017-06-02 16:51:59 -07:00
Chong Zhang
e55e6e0eb3 Add media.codec to native stack dump list
This is still needed for non-treble devices.

Test: do 'adb shell bugreport' on angler, and check that
'Cmd line: media.codec' and the stacks should be there.

bug: 62297059

Change-Id: Ic46b044e471a2ec3c432bb2fdc6afd6fb1f8090e
2017-06-02 16:10:33 -07:00
Winson Chung
4d8681ff6a Workaround to ensure that PIP activities have a visible shadow.
- When the window for the activity enters PIP, update the outline provider
  to override the alpha of the shadow (to be opaque) to ensure that is is
  visible.  Only applies to the task root activity.

Bug: 36741700
Test: Launch YT, ensure that there is a shadow when after it enters PIP
Test: go/wm-smoke
Test: android.server.cts.ActivityManagerPinnedStackTests

Change-Id: If089dae84e4916d3d0e7bbeb316215b46e522e05
2017-06-02 16:02:50 -07:00
John Reck
3e04f09136 Workaround glitches from SOFT_INPUT_ADJUST_PAN
Change-Id: I1ee0c7d434eb03667bd5e838ea891db73651a994
Fixes: 62073166
Test: Repro app in bug
2017-06-02 16:01:14 -07:00
TreeHugger Robot
76e76a5c26 Merge "add channel and group tags to the notificaiton logs" into oc-dev 2017-06-02 22:34:10 +00:00
Tony Mantler
3fe3488cbd Move strings to SettingsLib so TV can use them
Bug: 38496265
Test: Compiles
Change-Id: I68b535ba490e979a1869b7ea7e2be7737aaaff95
Merged-In: I68b535ba490e979a1869b7ea7e2be7737aaaff95
2017-06-02 15:07:18 -07:00
TreeHugger Robot
dd273de09e Merge "Notify keyguard of when power button is pressed." into oc-dev 2017-06-02 21:54:15 +00:00
Winson Chung
f229ae5523 Handling cases with a null bitmap.
- This can happen either if an app creates an ActivityOptions without a
  thumbnail, or if the call to create a hardware bitmap fails for any
  reason. Just ignore the thumbnail for the transition in this case.

Bug: 62296016
Test: Have not been able to reproduce, but this is just a logical change
Change-Id: I30776b651df1f42118fe1d317fa4817261a6e977
2017-06-02 14:34:52 -07:00
Sudheer Shanka
ab17493ef3 Merge "Avoid excessive logging when the necessary proc file is unavailable." into oc-dev 2017-06-02 21:10:39 +00:00
TreeHugger Robot
ca2f8a2b13 Merge "wifi: add utility function to return saved configurations" into oc-dev 2017-06-02 20:25:19 +00:00
Chris Wren
b39217972e add channel and group tags to the notificaiton logs
Change-Id: Icf029e42fca46262c9d9f8ff63f26de098f888bf
Fixes: 37714086
Test: runtest systemui-notification
2017-06-02 16:19:13 -04:00
Todd Kennedy
8e2cc10a89 Protect instant apps from full apps
Bug: 35871369
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Test: Manual; install instant app and ensure it runs
Change-Id: I1835fe58256377f901db38fcc3e4c98886d799ac
Merged-In: I1835fe58256377f901db38fcc3e4c98886d799ac
2017-06-02 13:08:17 -07:00